Orange Pi PC -- a $15 alternative to RPi 2? So far, so good

Ver 3.7.1 Package Install of piaware, dump1090-fa, dump978-fa and skyview978 on Orange Pi PC

.

(1) Serialize dongles: (CLICK HERE)

To recieve both ES1090 and UAT978, two dongles are required, one for 1090 and other for 978. In this case the dongles should be serialized so that correct dongle+antenna sets are used by dump1090-fa and dump978-fa.

For 1090 Mhz dongle: used serial # 00001090
For 978 Mhz dongle : used serial # 00000978

(2) Install packages piaware, dump1090-fa, dump978-fa and skyview978

@obj : The dump978’s .deb package misses to install one dependency ( soapysdr-module-rtlsdr). As a result dump978-fa starts and exits. I have therefore included sudo apt-get install soapysdr-module-rtlsdr before the step sudo apt-get install dump978
.

2.1 - Repository
wget http://flightaware.com/adsb/piaware/files/packages/pool/piaware/p/piaware-support/piaware-repository_3.7.1_all.deb

sudo dpkg -i piaware-repository_3.7.1_all.deb

sudo apt-get update

.

2.2 - Piaware
sudo apt-get install piaware

sudo piaware-config uat-receiver-type sdr

sudo piaware-config feeder-id xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

sudo piaware-config allow-auto-updates yes
sudo piaware-config allow-manual-updates yes

.

2.3 - dump1090-fa
sudo apt-get install dump1090-fa

sudo sed -i 's/--device-index 0/--device-index 00001090/' /etc/default/dump1090-fa
.

2.4 - dump978
sudo apt-get install soapysdr-module-rtlsdr

sudo apt-get install dump978-fa

sudo sed -i 's/driver=rtlsdr/driver=rtlsdr,serial=00000978/' /etc/default/dump978-fa

.
2.5 -skyview978
sudo apt-get install skyview978

.
2.6 - Reboot
sudo reboot

(3) CHECKS

3.1 - dump1090-fa

pi@orangepipc:~$ sudo systemctl status dump1090-fa 

* dump1090-fa.service - dump1090 ADS-B receiver (FlightAware customization)
   Loaded: loaded (/lib/systemd/system/dump1090-fa.service; enabled; vendor preset: enabled)
   Active: active (running) since Sun 2019-06-16 00:16:07 UTC; 24min ago
     Docs: https://flightaware.com/adsb/piaware/
 Main PID: 2223 (dump1090-fa)
    Tasks: 3 (limit: 4915)
   CGroup: /system.slice/dump1090-fa.service
           `-2223 /usr/bin/dump1090-fa --device-index 00001090 --gain -10 --ppm 0 --net-bo-port 30005 --max-range 360 --net --net-heartbea

Jun 16 00:16:07 orangepipc systemd[1]: Started dump1090 ADS-B receiver (FlightAware customization).
Jun 16 00:16:08 orangepipc dump1090-fa[2223]: Sun Jun 16 00:16:08 2019 UTC  dump1090-fa 3.7.1 starting up.
Jun 16 00:16:08 orangepipc dump1090-fa[2223]: rtlsdr: using device #0: Generic RTL2832U (Realtek, RTL2832U, SN 00001090)
Jun 16 00:16:08 orangepipc dump1090-fa[2223]: Detached kernel driver
Jun 16 00:16:08 orangepipc dump1090-fa[2223]: Found Rafael Micro R820T tuner
Jun 16 00:16:08 orangepipc dump1090-fa[2223]: rtlsdr: enabling tuner AGC

.
3.2 - dump978

pi@orangepipc:~$ sudo systemctl status dump978-fa 

* dump978-fa.service - dump978 ADS-B UAT receiver
   Loaded: loaded (/lib/systemd/system/dump978-fa.service; enabled; vendor preset: enabled)
   Active: active (running) since Sun 2019-06-16 00:16:03 UTC; 25min ago
     Docs: https://flightaware.com/adsb/piaware/
 Main PID: 2162 (dump978-fa)
    Tasks: 4 (limit: 4915)
   CGroup: /system.slice/dump978-fa.service
           `-2162 /usr/bin/dump978-fa --sdr driver=rtlsdr,serial=00000978 --format CS8 --raw-port 30978 --json-port 30979

Jun 16 00:16:04 orangepipc dump978-fa[2162]: Reattached kernel driver
Jun 16 00:16:04 orangepipc dump978-fa[2162]: Detached kernel driver
Jun 16 00:16:04 orangepipc dump978-fa[2162]: Found Rafael Micro R820T tuner
Jun 16 00:16:04 orangepipc dump978-fa[2162]: Exact sample rate is: 2083333.135571 Hz
Jun 16 00:16:04 orangepipc dump978-fa[2162]: [R82XX] PLL not locked!
Jun 16 00:16:04 orangepipc dump978-fa[2162]: SoapySDR: using maximum manual gain 49.6 dB
Jun 16 00:16:04 orangepipc dump978-fa[2162]: SoapySDR: using stream setting buffsize=262144
Jun 16 00:16:28 orangepipc dump978-fa[2162]: [::]:30978: accepted a connection from [::1]:36154
Jun 16 00:40:47 orangepipc dump978-fa[2162]: SoapySDR: overflow
Jun 16 00:40:47 orangepipc dump978-fa[2162]: SoapySDR: 1 recent input overruns (sample data dropped)

.
3.3 - piaware

pi@orangepipc:~$ sudo systemctl status piaware 

* piaware.service - FlightAware ADS-B uploader
   Loaded: loaded (/lib/systemd/system/piaware.service; enabled; vendor preset: enabled)
   Active: active (running) since Sun 2019-06-16 00:14:24 UTC; 27min ago
     Docs: https://flightaware.com/adsb/piaware/
 Main PID: 1333 (piaware)
    Tasks: 6 (limit: 4915)
   CGroup: /system.slice/piaware.service
           |-1333 /usr/bin/piaware -p /run/piaware/piaware.pid -plainlog -statusfile /run/piaware/status.json
           |-2239 /usr/lib/piaware/helpers/faup1090 --net-bo-ipaddr localhost --net-bo-port 30005 --stdout --lat 43.xxx --lon -79.xxx
           |-2245 /usr/lib/piaware/helpers/faup978 --connect localhost:30978
           `-2267 /usr/lib/piaware/helpers/fa-mlat-client --input-connect localhost:30005 --input-type dump1090 --results beast,connect,lo

Jun 16 00:31:49 orangepipc piaware[1333]: mlat-client(2267): Receiver status: connected
Jun 16 00:31:49 orangepipc piaware[1333]: mlat-client(2267): Server status:   synchronized with 92 nearby receivers
Jun 16 00:31:49 orangepipc piaware[1333]: mlat-client(2267): Receiver:   84.9 msg/s received       33.7 msg/s processed (40%)
Jun 16 00:31:49 orangepipc piaware[1333]: mlat-client(2267): Server:      0.1 kB/s from server    0.0kB/s TCP to server     0.3kB/s UDP to
Jun 16 00:31:49 orangepipc piaware[1333]: mlat-client(2267): Results:  46.9 positions/minute
Jun 16 00:31:49 orangepipc piaware[1333]: mlat-client(2267): Aircraft: 12 of 25 Mode S, 12 of 18 ADS-B used
Jun 16 00:34:59 orangepipc piaware[1333]: 3457 msgs recv'd from dump1090-fa (755 in last 5m); 3243 msgs sent to FlightAware
Jun 16 00:34:59 orangepipc piaware[1333]: 0 msgs recv'd from dump978-fa (0 in last 5m); 0 msgs sent to FlightAware
Jun 16 00:39:59 orangepipc piaware[1333]: 4274 msgs recv'd from dump1090-fa (817 in last 5m); 4060 msgs sent to FlightAware
Jun 16 00:39:59 orangepipc piaware[1333]: 0 msgs recv'd from dump978-fa (0 in last 5m); 0 msgs sent to FlightAware

.
3.4 - skyview978

pi@orangepipc:~$ sudo systemctl status skyview978 

* skyview978.service - skyview978 ADS-B UAT web display
   Loaded: loaded (/lib/systemd/system/skyview978.service; enabled; vendor preset: enabled)
   Active: active (running) since Sun 2019-06-16 06:33:26 UTC; 2min 10s ago
     Docs: https://flightaware.com/adsb/piaware/
 Main PID: 1911 (skyview978)
    Tasks: 2 (limit: 4915)
   CGroup: /system.slice/skyview978.service
           `-1911 /usr/bin/skyview978 --connect localhost:30978 --reconnect-interval 30 --history-co

Jun 16 06:33:26 orangepipc systemd[1]: Started skyview978 ADS-B UAT web display.
Jun 16 06:33:26 orangepipc skyview978[1911]: Connecting to localhost:30978
Jun 16 06:33:26 orangepipc skyview978[1911]: Connected to [::1]:30978