Howto Run ADS-B Receiver + AIS Receiver on Same RPi

Does the script you made @abcd567 have to be installed in a PIAware image to work, as I have done a clean install of PI LITE 32BIT and ran the bash script and the page :8383 loaded fine, but on reboot after editing the config file I just get page not found now

The AIS-catcher installation script I made works on:

  • Piaware SD card image
  • RaspberryPi OS Lite image 32-bit & 64-bit
  • RaspberryPi OS with Desktop image 32-bit and 64-bit
  • Debian 11 amd 64 OS on Thin Client

Seems while editing the config file, unknowingly you introduced some error. Please check the config file. May be the line -N 8383 got deleted or changed???

This is the config file below, I cant see anything wrong with it, I have checked for any spurious blank spaces and their is non

Nothing grabs the dongle on reboot either as I can just go straight into it on RTL_TEST

Seems the script somehow failed to do complete installation.

Run installation script again. It will install a fresh copy of AIS-catcher and all of its files

Yeah thats fixed it, I wouldnt mind but I have tried reinstalling it aboyt 4 times today, but always gone wrong once I edited the config file and restarted AIS.

Do following 2 tests:

TEST (1) : After editing and adding “BIASTEE on”, always restart AIS twice

TEST (2) : Change “BIASTEE on” to “BIASTEE off”, then restart AIS only once.

The scans you provided seems to indicate that the filter is attenuating signals except arount 162 MHz which is where you are trying to receive.

What more would you expect it to achieve?

S.

The cut-off on both higher & lower sides of 162 Mhz should be sharper than what is provided. Strong peaks on both sides of 162 Mhz are visible in the scan.

Could you please run the scan again from say 140Mhz to 180Mhz and with a significantly lower gain.

S

ShipXplorer AIS Dongle Scan in Range 80 MHz ~ 220 MHz

Scan 1 of 4: Maximum Gain (49.6 dB)

Click on screenshot to see larger size

 

Scan 2 of 4: Reduced Gain (24.8 dB)

Click on screenshot to see larger size

 

Scan 3 of 4: Reduced Gain (24.8 dB)
with intermittent strong interference
Scan Range 80 MHz ~ 220 MHz

Click on screenshot to see larger size

 

Scan 4 of 4: Closeup 152 MHz ~ 172 MHz
Reduced Gain (24.8 dB)
with intermittent strong interference

Click on screenshot to see larger size

 

1 Like

How I Connected Spektrum Scanner Installed on Windows PC, to AIS Dongle Plugged into RPi (in my case Thin Client)

1 - On Linux Computer (RPi or Thin Client)

1.1 - Installed “VirtualHere USB Server” on RPi (in my case Thin Client with Debian 11)

To Install:

curl https://raw.githubusercontent.com/virtualhere/script/main/install_server | sudo sh  

 

To Uninstall:

curl https://raw.githubusercontent.com/virtualhere/script/main/uninstall_server | sudo sh  

 

1.2 - Configured VirtualHere Server to TCP connect to IP-of-Windows-PC

1.3 - Started VirtualHere Server by following command

sudo systemctl restart virtualhere

 

2 - On Windows PC

2.1 - Downloaded the “VirtualHere Client” (vhui64.exe)

VirtualHere Client for Windows (32-bit, Win10,Win11)

VirtualHere Client for Windows (64-Bit Win10/Win11/Server 2019/2022)

2.2 - No need to install it on Windows PC. Ran it by double clicking it. Ran the “VirtualHere Client” and added IP-of-RPi (IP-of-Thin-Client) as address of VitualHere Server, then it listed all the dongles plugged into RPi (Thin Client). Right Click the dongle you want Spektrum to use, and select “Use this dongle”. If I selected a wrong dongle, right clicked the selected dongle and clicked “stop using this dongle”, and seleted the corect dongle.

2.3 - Stopped AIS-Catcher to free the AIS Dongle

2.4 - Started Spektrum

 

Click on Screenshot to see larger size

 
 

image

 
 

image

 
 

image

 
 

image

 

LINKS:

https://github.com/virtualhere/script

https://www.virtualhere.com/usb_client_software

https://www.virtualhere.com/usb_server_software

 

1 Like

Really cool solution :smiley:

I took the simple option of

  1. unplugging dongle from Pi complete with antenna
  2. plug dongle into USB port of Windows PC
  3. run Spektrum

Everyone has to have a hobby!

1 Like

@SweetPea11
Did you see following post, in which I have posted results of of re-scan as per your request?

What is your opinion after seeing these additional scans?

https://discussions.flightaware.com/t/howto-run-ads-b-receiver-ais-receiver-on-same-rpi/85040/133

Good and simple approach, but may not be physically possible in all cases.

Also, the RF noise & AIS signal may be substantially different at antenna’s original location, and testing location near Windows PC.

A better approach is to use a Laptop placed near the RPi, and move the dongle from RPi to Laptop, without moving the antenna.

But as you said “Everyone has to have a hobby…” :slightly_smiling_face: :wink:

1 Like

Yes I did.

Is this with the generic dongle or is it with the filtered and amplied dongle?

S.

Is use a PC under my desk and a Pi sitting on my desk. The antenna is mounted on the roof.

Translatian from 'Stayan to Canadian…

I think this is a good way of doing it!

1 Like

All the scans in subject post were done with ShipXplorer’s AIS Blue dongle. This dongle has a built-in Filter and LNA.

Upgraded today to latest version of AIS-catcher

Click on screenshot to see larger size

I have a new record


2 Likes

CLICK ON SCREENSHOT TO SEE LARGER SIZE

In view of strong FM signals (please see screenshot above), I am considering to purchase an FM Blocking filter. The ShipXplorer’s AIS Blue dongle is not able to block the FM Signals.

 

US $3.59 + Shipping US $1.26

 

US $19.00 + Free Standard Shipping

 

US $25.65 + US $5.05 Shipping