Can't get GPS module working


#1

I have a GPS module installed in a GrovePI, using the RPISER port. (Raspberry Pi 3).

using ser = serial.Serial('dev/ttyAMA0',9600, timeout=0 ) 
# open serial port
# some other code
GPS.inp = ser.readline() 
print(GPS.inp)

Result
b’‘
b’’

Using following config setting.

dtoverlay=pi3-diable-bt
enable_uart=1
core_freq=250

#2

Hi @vaibhavsoft2001,

Can you give us more details like what script are you trying to run, how’s the GrovePi attached to the Pi? Things like that.

As for how to connect to the serial port of the Pi, then posts like the following should help:

Or this one here:
https://www.raspberrypi.org/forums/viewtopic.php?t=41055
Or this article here on checking the serial port in Linux:

Thank you!