I did some searching through the forums but found nothing concrete. Here’s my situation: I already have the RaspPi on the roof with its USB SDR dongle and connected to the 1090 MHz antenna. I have a USB GPS dongle and nice external GPS antenna as well, and would like to be able to monitor the GPS constellation from the house. Is there a way to add the GPS via a USB port and have the data available not only to precisely establish the ADS-B station location but also for me to use the GPS for other purposes (mostly statistics), perhaps through a network port? I am novice enough with the RaspPi to not know whether I can run other code simultaneously with the PiAware / Dump1090.
You probably want to run something like gpsd, I would guess.
Wouldn’t see any problems with that coexisting with dump1090 et al, assuming you don’t run into USB power draw problems.
using GPSD will get you basic GPS location and timing. You can also use GPS to run NTP, giving you more accurate timing. That takes extra work. See for example:
which is the best I’ve found so far and walks through things in detail.
Note that the latest and greatest kernel, 3.18, introduces dev_tree, which changes (some might say screws up) how software interacts with various interfaces such as i2c, gpio, and the like.
having something like dump1090 automagically detect the shared memory segments updated by GPSD and dealing with location information would be interesting to see…
After dealing with no-name eBay GPS modules, the Adafruit Ultimate GPS (breakout or hat form) is the way to go for me – I don’t have the time to spend futzing around with the others.
Not currently. It would be nice to hook into gpsd if it’s there for position info. If you’re running NTP, piaware will pick up on the time indirectly via the system time.
I got a GPS antenna USB connector to do this and there is a dearth of information on how to have
the Raspberry Pi, use that GPS information to determine the Antenna position for MLAT etc.
I wanted to put the Raspberry Pi at the mast heard, with the GPS antenna mounted as close as possible to the antenna. This might also be a way of keeping track of the GPS differential for more accurate MLAT?
Is there any software for the Raspberry Pi for a GPS dongle at the antenna?
reboot and then, in command line run : sudo cgps -s and if all went well, you’ll see the gps output on-screen,
or if in raspbian desktop run the app gpsmon.
Those little u-blox7 GPS dongles are great, and the price is certainly right at around US$8 shipped.
I use them for hamradio JT modes, when away from an internet connection. Timing is everything with the JT modes.
That said, what is the advantage/need of using a GPS receiver with the RPi/Piaware combo? Internet connectivity must always be present if feeding. The location is easily set using the map on the webpage. Timing/clocking does not seem to be an issue.
after installing the software i mentioned earlier…
file : cmdline.txt is under directory/folder /boot - use to set gps as serial device/speed
open file with nano sudo nano /boot/cmdline.txt and add console=ttyACM0,115200
file : rc.local is under directory/folder /etc - use to run automated scripts / specific files upon system boot.
open or create (if it does not exist) sudo nano /etc/rc.local and add sudo gpsd /dev/ttyACM0 -F /var/run/gpsd.sock before the line exit 0 .
now reboot the device
so after reboot to confirm the gps is active, test it by running the following in the command line: sudo cgps -s you’ll get a similar display
note:you can omit sudo if you are looged-in as user ‘root’
sorry cant do any more detail than this, that gift is possessed by user abcd567
David.Baker please contact me about the mobile use as this is what I am trying to do. I travel in my vehicle for work and would like to set up my FlightAware to automatically update based on my current location. I do have a tablet in the vehicle displaying FlightAware. Thanks, Michael
I’d love to see this working for a “mobile” dump1090 installation. I’d love to have dump1090 know where I was, and recenter the map, re-distance the places, etc.