get gps info from sensor connected to GPIO