Skip to content

Instantly share code, notes, and snippets.

@Bengt
Last active April 7, 2025 00:23
Show Gist options
  • Save Bengt/a01642d2f0e1ca3423b05c9e31b681d7 to your computer and use it in GitHub Desktop.
Save Bengt/a01642d2f0e1ca3423b05c9e31b681d7 to your computer and use it in GitHub Desktop.
This is how I set up my passive radar. - More or less.

Tools

  • Adapter: MicroSD <-> USB-A
  • Hot glue gun
  • Some hot glue

Hardware

  • Raspberry Pi Zero
  • 128 GB MicroSD card
  • Adapter: Micro-USB to USB-A
  • USB-A hub
  • Some metal: Netgear switch case
  • Cardboard (15 x 20 cm or so)

Baseboard setup

I use a piece of cardboard to hold all the components together. Here is my physical setup:

Putting it all together

I use a metal case from defective Netgear switch as a base for the antenna.

Connect mass storage

  • Put the MicroSD card into the USB-A adapter
  • Connect the USB-A adapter to your PC

Raspberry Pi Imager

  • Download the installer: https://www.raspberrypi.com/software/
  • Run the installer
  • Run the imager
  • Select Raspberry Pi Zero
  • Select Raspberry Pi OS (32-BIT) [sic!]
  • Select Generic STORAGE DEVICE USB (125.5GB) [sic!]
  • Opt to Edit Settings
  • Under the General tab
    • Set hostname to bengt-adsb
    • Set username and password to bengt and my usual password
    • Set locale settings to Europe/Berlin and de
  • Under the Services tab
    • Choose Enable SSH
    • Download public key from https://github.com/bengt.keys
    • Add the key ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDmLFEdwDkfv4eE8qisDcN8Hq/9L1lLIlRiUaZ4qAP9EMqWhLRFDia7LjYsbXTtFS1enauspKpYN6VzHIS0T5jsFBU16l2SS2WgmMy0NWYdznfGr3yOHHhOZz8AdVD50N0FqDC3P/8y5Wxh0OIiG3oD5ubcgqMV4sA33UmYmS6x+IFTfypMVcHtxGpIL70rGLgBczfFAJSUM5QVBYZOlSYoU/8LWsS470yQQDTHfLWrH3FI9nZRnu8R7J1YAJPEiPkufpxSY1t/RwNCKj7RFYYqKzVWTA2hUVZAAHNGpgJlHLuOJGtygH6n6qtVFcuAEqXjos2uYSjFOWjoqqpmTUiJyRg8fi91KVSWcPL0ujMeqn6m15aXIXJqzO8Mql6QTimm7W1/2lWTRSJieG7EMNfHBvTk6/5AcOJCvf6n8FpgM23kK4HouLkNESoGdLec40RNf/mVx3kvdq40OCxkC/jk21CUrhlLWPKZ0SyzvwzsnS9D4n57HzHtULGp5op/uwOCKpDfP3BmCsdBeNg2KC8pKkfN9lcbjva5bpUo82v7IJlVNnEAdXO6OhDgI+J3fsD1uLMpCRlIsebB5hheb40zGv2DRUCne32b8leuAwEyEQhDRr7YaiU3vbclvS5jvv3V5NjIQMdky92uA6/ujqvFkJsRszZC7FsmcyRYUI5pBQ==
  • Save
  • Yes
  • Yes
  • Remove the SDCard to USB-A adapter from the PC
  • Remove the SDCard from the SDCard to USB-A adapter
  • Install the SDCard into the Raspberry Pi Zero

x86

Install Docker using snap

sudo snap install docker

Add user to docker group

Start the feeder docker container as a restarting service

docker run \
    -d \
    -p 8080:8080 \
    -p 8754:8754 \
    --device=/dev/bus/usb:/dev/bus/usb \
    -v "/etc/localtime:/etc/localtime:ro" \
    -e "FR24FEED_FR24KEY=b21436840920f804" \
    -e "HTML_SITE_LAT=53.157156" \
    -e "HTML_SITE_LON=8.204168" \
    -e "HTML_SITE_NAME=Bengt-ADSB" \
    -e "MLAT_EXACT_LAT=53.157156" \
    -e "MLAT_EXACT_LON=8.204168" \
    -e "MLAT_ALTITUDE_MSL_METERS=17" \
    -e "SERVICE_ENABLE_PIAWARE=false" \
    --tmpfs /run:exec,size=32M \
    --tmpfs /planefinder/log:exec,size=32M \
    --tmpfs /usr/lib/fr24/public_html/data:size=32M \
    --restart=always \
    thomx/fr24feed-piaware:latest-amd64

Connect to tailnet

https://login.tailscale.com/admin/machines/new-linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment