-
Notifications
You must be signed in to change notification settings - Fork 220
Integration with RTL‐SDR based ADS‐B receivers
Linar Yusupov edited this page Dec 23, 2017
·
9 revisions
-
Connect your SoftRF unit with an USB cable to your Raspberry Pi based ADS-B receiver ;
-
Make sure that USB connection is established and cp210x driver has been attached:
pi@raspberrypi:~ $ dmesg | grep ttyUSB
[86899.192314] usb 1-1.5.3: cp210x converter now attached to ttyUSB0
pi@raspberrypi:~ $
- Set up connection baud rate onto 38400:
pi@raspberrypi:~ $ stty -F /dev/ttyUSB0 38400
pi@raspberrypi:~ $
- Test that the SoftRF unit is feeding data of aerial traffic nearby :
pi@raspberrypi:~ $ head -4 /dev/ttyUSB0
*8ED99C19580D1157E108842F7152;
*8ED99C19580D14B88CD1F4AF478B;
*8ED99C19093C7139E43C797557AD;
*8ED99C19990001067004008ACCE1;
pi@raspberrypi:~ $
- Check if dump1090 is already up and running:
pi@raspberrypi:~ $ ps -a | grep dump1090
13892 pts/2 00:00:08 dump1090
pi@raspberrypi:~ $
If not - bring up your own one:
pi@raspberrypi:~ $ dump1090 --net-only --interactive
Fri Dec 22 10:05:51 2017 UTC dump1090-mutability starting up.
Net-only mode, no RTL device or file open.
- Start feeding data to the dump1090 :
pi@raspberrypi:~ $ cat /dev/ttyUSB0 | nc 127.0.0.1 30001
- When everything is fine your dump1090 text UI should have a look like this:
- Open up a web browser and go to your Raspberry Pi's IP and port number 8080:
-
Connect your SoftRF unit with an USB cable to your Stratux ADS-B receiver ;
-
Create new SoftRF udev rule and restart udev service:
root@raspberrypi:/etc/udev/rules.d# cd
root@raspberrypi:~# cat /etc/udev/rules.d/99-softrf.rules
SUBSYSTEMS=="usb", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", ATTRS{product}=="DIY SoftRF", SYMLINK+="softrf"
root@raspberrypi:~# /etc/init.d/udev restart
- Patch or manually edit your Stratux source code to match this diff output:
root@raspberrypi:/etc/udev/rules.d# cd
root@raspberrypi:~# cat /etc/udev/rules.d/99-softrf.rules
SUBSYSTEMS=="usb", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", ATTRS{product}=="DIY SoftRF", SYMLINK+="softrf"
root@raspberrypi:~# /etc/init.d/udev restart
-
Re-build and re-install /usr/bin/gen_gdl90 binary. Restart stratux service.
-
Open up the Stratux Settings web page in a browser and enable Ping ADS-B option:
7. Proceed into **Traffic** menu section and "Voila!":