Advertisement / Annons:
My astronomy project:
9, Adding a GPS receiver:
In my old Windows based astroserver I had a GPS receiver connected to the USB port of the computer. Handy when you move the equipment to different locations, and you get correct time too. Can I add the same GPS unit to the Raspberry ?
The GPS receiver:
The GPS receiver has the form of a 'puck' and it connect through a USB port.
GPS model 'BU-353':
I think the model 'BU-353' is a very common GPS receiver. But can Indi drivers handle it ?
I have found a list over compatible GPS receivers:https://gpsd.gitlab.io/ gpsd/ hardware.html Compatible Hardware
The table has given my GPS device four stars and it should then be excellent. But there is a warning about automount.
There are three GPS drivers and one GPS simulator. I test all three of them and at the same time learn something new.
GPS NMEA driver:
Could it be that easy that it's just to add an Indi driver ? I try the GPS NMEA which I have used in the Windows environment, set it to the 'Aux 1'.
Connect Ekos to the devices, the GPS NMEA driver ask for a network address, not a USB port. Must be wrong driver. Now I know this driver is to use when you take your smart phone's GPS data over the network.
GPUSB sounds correct, lets try it.
No, GPUSB driver can't find the GPS USB device.
The last GPS driver to test.
I have read somewhere that GPSD is for Raspberry's own GPS unit which attach direct to the Raspberry's extension connector. But let us give it a try.
Now I got some response from the Indi driver, it found the USB device.
I saved the configuration and tried to have the GPS signal locked. No success yet.
I need more information, when I used the GPS in Windows I had a help software which displayed the satellites it tracked. It should be something similar to use here.
New discussion with my friend who is living all the day with Linux. There are maybe some commands to do. Later I also find this page: INDI GPS Installation.
I gave the commands and rebooted the Raspberry.
I can see how the GPS connect to Ekos. But nothing is happen, it just waiting for a signal.
Maybe my GPS is bad, I tried to install it in my Windows10 machine. Got the message "PL2303HXA phased out since 2012", but it's only ten years old :-) . But still communicate in the Raspberry.
I have solved this problem after many hours and lot of help from froiends. Here are the details how to do it: Setup GPSD.