Skip to main content

MicroPython Library

The Soldered ADSBReceiver module drives the onboard Aerobits TT-SC1b receiver over a UART you open yourself. Import ADSBReceiver from ADSBReceiver, pass it the UART and the reset pin, and call poll() in a loop. The module covers the receiver's AT-command settings and state machine, its CSV data protocol and its MAVLink data protocol.

The module targets the base SC1 hardware tier, which outputs CSV or MAVLink. The other output formats and the extra decoding of the SC1-EXT variant are not part of it.

New to the board? Follow Quick Start first to flash MicroPython and run a first script.

Install the module​

Install the module with mpremote, using the command from the module's own README:

mpremote mip install github:SolderedElectronics/Soldered-ADSBReceiver-MicroPython-Library

On Windows:

python -m mpremote mip install github:SolderedElectronics/Soldered-ADSBReceiver-MicroPython-Library

This command installs the module from the repository's default branch, so you get its latest version. The pages in this section were written against the pinned reference a0f3737 shown below.

Tip: downloading from GitHub. You can also download the module's .py files from its GitHub page, then copy each one onto the board with mpremote fs cp. A leading : marks a path on the board, so mpremote fs cp ADSBReceiver.py :ADSBReceiver.py copies ADSBReceiver.py from the current folder to the board.

Functionality​

Each page starts with one verified module example and explains every function the example uses to get that result. Start with ADSBReceiver-readAircraftCSV, which needs no configuration on this board.