2016-07-09, 08:33 AM
Make Raspberry Pi GPS HAT Work in OpenPlotter
|
2016-07-10, 03:54 PM
When you do a "cat /dev/ttyAMA0" you get no data?
How long did you leave it on? There is a good possibility that it won't generate any data until it has a full position lock. That can often take quite a while even with a clear view of the sky. Indoors, this can take much longer. Richard
2016-07-19, 08:05 PM
the manual says it has a lock when the green led is blinking, it does that almost immediately.
It was turned on for 30 minutes or so, but no data was coming through. When I connect the antenna I use to my old Garmin 128 GPS, it has GPS lock almost immediately.
2016-07-19, 11:03 PM
(2016-07-19, 08:05 PM)Ewald Harmsen Wrote: the manual says it has a lock when the green led is blinking, it does that almost immediately.Do you get anything when you run the following command? cat /dev/ttyAMA0
2016-07-20, 06:21 PM
(2016-07-19, 11:03 PM)Vamonos Wrote:(2016-07-19, 08:05 PM)Ewald Harmsen Wrote: the manual says it has a lock when the green led is blinking, it does that almost immediately.Do you get anything when you run the following command? No, it just says there without output, untill I killl it
2016-07-24, 07:46 AM
(This post was last modified: 2016-07-24, 07:48 AM by Ewald Harmsen.)
Found the solution thanks to Google and other people, you have to enable a dummy serial port:
Enable extra serial port: Sudo nano /boot/config.txt add the following to the bottom: enable_uart=1 save and exit The port is now available as ttyS0 or as serial0 Disable the console output for that port: sudo systemctl stop serial-getty@ttyS0.service sudo systemctl disable serial-getty@ttyS0.service sudo nano /boot/cmdline.txt Remove the line: console=serial0,115200 Reboot Add ttyS0 to openplotter as incoming serial port (2016-07-24, 07:46 AM)Ewald Harmsen Wrote: Found the solution thanks to Google and other people, you have to enable a dummy serial port: Is maybe a good idea to include this fix in a new release of open plotter. serial0 is a reference to ttyAMA0 on RPI2 and to ttyS0 on RPI3
2017-12-25, 12:59 AM
(This post was last modified: 2017-12-25, 01:11 AM by ihtruelsen.)
I have a GPS shield on a RPi 3. I have it set up to get a fix, and I can cat data from either /dev/ttyAMA0 or /dev/serial0. I am running openplotter 0.10.0alpha.
I cannot get openplotter to see either of the ports and I cannot see any way to add it manually. Also, and I don't know whether this is just because it is not getting any GPS data, but I cannot get to the chart plotter. All I get when I launch is the screen with the tabs on it. Any help would be appreciated. Nevermind. I guess I had the baud rate wrong or something. Working now. |
« Next Oldest | Next Newest »
|
Users browsing this thread: 1 Guest(s)