Generating a 3D ADSB (ADS-B) Plot

Using a RTL-SDR stick to detect ADSB signals is widely documented.

With jojonas py1090 and matplotlib one can generate a 3D plot of the spotted aircrafts.

After cloning

git clone https://github.com/jojonas/py1090.git

the software on can find in the examples directory a nice script that reads the Basstation output on port 30003 and redirects this to a file.

python3 record_raw_to_file.py

. Then one can use the basemap script

python plot_basemap_3dpaths.py

to generate a 3D graphic. It is important to adapt example_helpers.py to the area where you receiver is located, as the basemap defaults to europe, usa or canada. The height is exaggerated.

        "europe": {
                "urcrnrlat": 57,
                "urcrnrlon": -3,
                "llcrnrlat": 53,
                "llcrnrlon": -10,
        },
3D ADSB plot
3D ADSB plot

One can also generate a 2d and a polar plot.

basemap ADSB
Basemap ADSB

 

Polar ADSB Plot
Polar ADSB Plot

For a nice ongoing polar plot  Virtual Radar Server is a nice .NET open source software for continuous updated polar plots that lets you connect to several servers.

Dynamically generated ship map from AIS signals

Using a NooElec NESDR Mini 2 USB RTL-SDR & ADS-B Receiver Set, RTL2832U & R820T2 Tuner, MCX Input ,

NooElec NESDR Mini 2 USB RTL-SDR
NooElec NESDR Mini 2 USB RTL-SDR

 

a Quark Elec QK-A022

QK-A022 Dual Channel AIS Receiver
QK-A022 Dual Channel AIS Receiver fittingly under a bottled ship, to stop movement  🙂

and a Quark Elec QK-A021 I set up a test rig.

QK-A021 AIS Receiver Dongle
QK-A021 AIS Receiver Dongle (Auto-hopping V1.0)

As antennas I used:

MULTI SCAN MAG SCANNER ANTENNA HAM marine VHF/UHF/CELLULAR BNC 100/1000mhz

MULTI SCAN MAG SCANNER ANTENNA HAM marine VHF/UHF/CELLULAR BNC 100/1000mhz
MULTI SCAN MAG SCANNER ANTENNA HAM marine VHF/UHF/CELLULAR BNC 100/1000mhz

a Moonraker Skyscan Mobile 

Moonraker Skyscan Mobile Antenna
Moonraker Skyscan Mobile Antenna

And a self made antenna (MONOPOLE + 2 RADIALS)

based on http://www.radioforeveryone.com/p/ais-antennas.html

MONOPOLE + 2 RADIALS AIS antenna
MONOPOLE + 2 RADIALS AIS antenna

all this was connected to an old Advent 5313 running Ubuntu16.04 LTS.

Advent 5313 running Ubuntu 16.04 LTS
Advent 5313 running Ubuntu 16.04 LTS

using AISdeco,

./aisdeco2 --gain 49.6 --freq-correction 57 --net 30007

AISPARSER

nc  localhost  30007  | unbuffer -p ./ais_text |  unbuffer -p egrep 'USER|POSITION' | unbuffer -p sed -r 's/(USER ID   : |POSITION  : )//g' |   unbuffer -p egrep -v '2320820|2320821' | unbuffer -p perl mmsitonamepos.pl

, self written Perl scripts, MySQL,  an openstreetmap server on another Ubuntu 14.04 LTS system and static open street maps

Local open street map server
Local open street map server

I generate an image every minute of the ships in my area using php and gd which is automatically transferred to a web server in Germany.

Dynamically generated AIS tracked ship map
Dynamically generated AIS tracked ship map

 

Building a Beautystar/Topdirect CNC DIY Router Engraving Machine PCB Milling Machine CNC Wood Metal Carving Mini Engraving Router PVC

Here we will discuss how to build these inexpensive CNC test/hobby machines which seem to be sold by different companies but look pretty much the same.  I add pictures and add explanations in addition to the assembly instructions found on a USB stick. The Instructions are a bit funny as you will find instructions in both Chinese and badly translated English, overlapped in boxes on pictures. There are also instructions to build a Woodpecker CNC, which seems not to be this product. The instructions are fairly accurate but sometimes the boxes are badly sized so you don’t see all of the text or the part looks different, or is mirrored while you are instructed to watch the orientation.
Continue reading Building a Beautystar/Topdirect CNC DIY Router Engraving Machine PCB Milling Machine CNC Wood Metal Carving Mini Engraving Router PVC

Building an ANTBOT Part 1 (the robot basics) to get the motors running

The Insect Robotics Group at Edinburgh University published a partly defunct plan  (No sources and incomplete building instructions) to build an ANTBOT.

I thought I nevertheless give it a go and see where I end up. The whole guide is practical and not intended to communicate endless theory that can be found elsewhere. What we want to achieve here are the minimal requirements to get the robot chassis going.
Continue reading Building an ANTBOT Part 1 (the robot basics) to get the motors running

Seville 2009 Habitat3D data set as GPU Render

After having a look into Insect Robotics, I came over the Seville 2009 data set of an ant habitat (Cataglyphis velox).  Converting this with Meshlab and using a generic ant model with some freely available HDRI’s, resulted in some nice pictures in OTOY’s Octane 3.06  to visualise an ant perspective.

There is also a MATLAB representation on http://www.insectvision.org/walking-insects/antnavigationchallenge

ant Seville2009 data set
Ant model in the DLR Seville 2009 data set.
Ant seville2009 data set
A generic antmodel in the Seville 2009 Cataglyphis velox habitat data set

Continue reading Seville 2009 Habitat3D data set as GPU Render

Clyde Estuary Time Lapse 23.4.2016 – 3.6.2016

Using the techniques mentioned on this site [UCAM Sending] I made a time lapse video of the Clyde Estuary in full HD using 59650 single images using avconf.

First the webcam plays the image on my server, then the Continue reading Clyde Estuary Time Lapse 23.4.2016 – 3.6.2016

Teensy 3.2, DHT22 and XRF

The teensy 3.2 USB development board runs a

MK20DX256 32 bit ARM Cortex-M4 72 MHz (96 Mhz overclockable)
has
262144 Flash memory
65536 Ram Memory
2048 EEPROM
34 I/O Pins, runs on 3.3 V and is 5 Volt tolerant
21 Analogue Ins, 12 PWM’s, 3 UARTS, 2 I2C and 1 SPI input.

It comes with it’s own loader, compiler and Arduino Software Tools integration.

Continue reading Teensy 3.2, DHT22 and XRF