GrovePi icon indicating copy to clipboard operation
GrovePi copied to clipboard

Can't get GPS module working

Open SYN-Vaibhav-Ranbhare opened this issue 7 years ago • 2 comments

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. ... GPS.inp = ser.readline() print(GPS.inp) Result b'' b''

Using following config setting. dtoverlay=pi3-diable-bt enable_uart=1 core_freq=250

SYN-Vaibhav-Ranbhare avatar Feb 24 '18 22:02 SYN-Vaibhav-Ranbhare

I am having this problem as well in July. A solution would be nice.

nosarious avatar Jul 22 '18 14:07 nosarious

On a Pi3, or Pi3B+ some configuration is needed.

Step 1: in /boot/config.txt, add at the end of the file: dtoverlay=pi3-miniuart-bt dtoverlay=pi3-disable-bt enable_uart=1

Step 2: in /boot/cmdline.txt remove : console=ttyAMA0,115200 console=tty1 and add: plymouth.ignore-serial-consoles

Step 3: reboot.

CleoQc avatar Aug 20 '18 18:08 CleoQc