Ekran Resmi 2015-05-15 20.58.38

This was my Friday night project and the cost was zero except for two beer.

Required Parts

  • Raspberry Pi (B, B+ or Pi2)
  • RTL-SDR dongle (5$ on Ebay) (original antenna is OK)
  • Wifi Dongle (or Ethernet connection)

Setup

Run following commands on raspberry pi terminal.

sudo apt-get update
sudo apt-get upgrade
<following 2 lines are the single line, copy them together>
sudo printf 'blacklist dvb_usb_rtl28xxu\nblacklist rtl2832\nblacklist rtl2830' > /etc/modprobe.d/nortl.conf
sudo apt-get install git-core
sudo apt-get install git
sudo apt-get install cmake
sudo apt-get install libusb-1.0-0-dev  
sudo apt-get install build-essential 
git clone git://git.osmocom.org/rtl-sdr.git
cd rtl-sdr
mkdir build
cd build
cmake ../ -DINSTALL_UDEV_RULES=ON
make
sudo make install
sudo ldconfig
cd ~
sudo cp ./rtl-sdr/rtl-sdr.rules /etc/udev/rules.d/
sudo reboot 
<It will reboot>
rtl_test -t 
cd ~ 
git clone git://github.com/MalcolmRobb/dump1090.git
cd dump1090
make
sudo apt-get install pkg-config
make
./dump1090 --interactive --net

You will see the similar output below

Ekran Resmi 2015-05-16 20.15.14

 

Dump1090 is including a web server.
So, type “http://<yourPI_IP>:8080” and press enter on your web browser.

you can visit my receiver from this link if it is online:
http://adsbpi.mooo.com:8080/

Ekran Resmi 2015-05-15 20.58.38

Thats all, Now find the best position for your antenna.

Run Automaticaly on Startup

It’s looking great, but you have to type

cd dump1090
./dump1090 --interactive --net

these commands after each reboot. So, we need a startup script for our automated ADS-B receiver server.

Type following lines

cd ~ 
sudo nano adsb_start.sh

copy the following text into the file.

#!/bin/bash
### BEGIN INIT INFO
# Provides: fr24
# Required-Start: $remote_fs $syslog $time 
# Required-Stop: $remote_fs $syslog $time 
# Should-Start: $network
# Should-Stop: $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start Adsbox and Flightradar24 feeder at boot time 
### END INIT INFO 

killall dump1090

cd /home/pi/dump1090/
./dump1090 --interactive --net

press CTRL+X then enter to save this file to the home directory.

Type following lines

sudo chmod +x adsb_start.sh
sudo crontab -e

copy the following text into the cron. These lines will run the script automatically on startup and refresh continuously.

@reboot sleep 20;/home/pi/adsb_start.sh
0 */8 * * * /home/pi/adsb_start.sh

press CTRL+X then enter to save the cron. then reboot with following command.

sudo reboot

If everything is OK, your server will be online automatically in a minute.

 

 

Ekran Resmi 2015-05-01 10.32.17

After the first road test I’m really happy and I want to extend the sphere size.

I found this shot from the original movie
Ekran Resmi 2015-05-01 10.22.32
and measured the sphere sizes by Adobe Illustrator’s circle draw tool,

Ekran Resmi 2015-05-01 10.32.17
The top sphere ~280mm diameter but this is not a standard sphere size.
So I will use 300mm diameter foam sphere for this part.
You can find the spheres on  Ebay.

I’m looking forward to delivery.

You can find all BB8 Build Log Posts under this link
http://rcnerd.net/category/diy-bb8-building-guide/