Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't get GPS module working #389

Open
SYN-Vaibhav-Ranbhare opened this issue Feb 24, 2018 · 2 comments
Open

Can't get GPS module working #389

SYN-Vaibhav-Ranbhare opened this issue Feb 24, 2018 · 2 comments

Comments

@SYN-Vaibhav-Ranbhare
Copy link

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

@nosarious
Copy link

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

@CleoQc
Copy link
Member

CleoQc commented Aug 20, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants