There’s adsbxchange, dump1090 and adsb receiver. What are the differences? Can they all be run together from the same hardware (Raspberrypi3)? I have two radios, 1090 and 978 so I’m interested in using software that can use both.
Dump1090 is a decoder. It processes the data stream coming from radios and outputs ads-b/mode-s messages in a variety of formats (sbs, beast, raw, etc), depending on how it is configured. There are different versions of Dump1090, as well as other known decoders for Linux or Windows, but Dump1090-mutability is the most common choice for Raspberry kits. It can manage both your radios, but you need to run two instances of the program at same time, each of them will "listen" just one radio. adsb-receiver is a script that makes easy to download and install all the software packages required to a Linux-based radar station. It can download decoders, a range of feeders for known sites (Fr24, FlightAware, etc), and other useful software aimed to collect and display performance data in a nice way. It allows to install adsb-exchange feeder and Dump1090 decoder as well.
Ok. So I went ahead and re formatted my sd card and burned the 1.27 image. I looked at the config text, didn't find a place to put the coordinates, etc. I had the config text from a previous installation and copied that into the sd card. Placed the card on the raspi3, logon prompt came up, I used pi and adsb123, can't logon. Suggestions please?
Yes, but, I scrolled up and down and I could swear I didn’t see it. When I get back home from work, I’ll just copy over the copy I made of the working one before.
Got back from work and, my freshly reformatted card was waiting for me to re flash the image. This time, though, the ads-b config file was there. Entered my coordinates and wi-fi info. Now, I'm waiting to connect to the servers... Was there something I read somewhere regarding the radios? Something to the effect that, I needed to tell the software what radio was using which port?
you do need to tell it which radio to use for 978 or 1090 ONLY if you have a specific 978 antenna and 1090 specific antenna. we do that by ssh into the pi and using rtl_eeprom to rename each sdr then tell 1090 and 978 what sdr to use Again you only need to do this if you have a 978 tuned antenna and 1090 antenna attached to specific SDR lsusb rtl_eeprom
http://manpages.ubuntu.com/manpages/trusty/man1/rtl_eeprom.1.html One SDR at a time - tag them with rtl_eeprom then edit the files to tell which one to use .. https://github.com/mutability/dump1090/blob/master/dump1090.c --device-index <index> I'm not sure how the piaware ADSBx image works with this.
I get this: Found 2 device(s): 0: Generic RTL2832U OEM 1: Generic RTL2832U OEM Using device 0: Generic RTL2832U OEM usb_claim_interface error -6 Failed to open rtlsdr device #0. [email protected]:~ $ Using the command rtl_test, it reveals that device 0 is the 1090 radio and device 1, is the 978. When I open the web browser and type in the ip, I can launch the 1090 custom map and it does see aircraft so, not sure why the raspi3 says that it failed to open device #0?
I think dump1090 will use device at index 0 by default, every time if that helps. But index for device can change after reboots, therefor SDR 0 might not have 1090 antenna. The fail means it's in use by something and something else is also trying to use it. If you have 978 enabled then that's what happens ... 1090 claims index 0 ... 978 tries to use index 0 and fails - then hopefully moves on to the next one.
Code: #!/bin/sh if [ -f "/tmp/adsbx-params" ]; then . /tmp/adsbx-params else echo "DUMP978 ERR: Configuration file does not exist." exit 0 fi if [ ${UAT} = "yes" ]; then while true do sleep 30 if [ -z ${UATPORT} ];then UATPORT=30005 fi rtl_sdr -f 978000000 -s 2083334 -d 1 -g 48 - | /home/pi/dump978/dump978 | /home/pi/dump978/uat2esnt | socat TCP:feed.adsbexchange.com:$UATPORT done else exit 0 fi
James, I apologize, obvious noob here. How do tag them? I saw the ubuntu link, scrolled thru it, found the section where it says "options". Is this the one I need? And the mutability dump1090?
Did you read this? https://www.adsbexchange.com/how-to-feed/adding-978-mhz-ads-b-capability-to-your-pipi2/
say you wanted to change serial of one SDR to 1090SDR http://manpages.ubuntu.com/manpages/trusty/man1/rtl_eeprom.1.html rtl_eeprom -d 0 -s 1090SDR Then repeat with the 978SDR Make sure you write on them with a marker so you know which one gets which antenna