Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

AIRDOS03 Firmware

Two firmware variants are available for AIRDOS03B. Both run on the ATmega1284P (8 MHz) on the TFUNIPAYLOAD01 interface board and communicate at 115200 bps on the UART (TELEM) port.

Variant Directory Output Details
MAVLink AIRDOS03_MAVLink/ MAVLink TUNNEL packets For TF-ATMON / PX4 / ArduPilot integration. See AIRDOS03_MAVLink/README.md
UST DFF AIRDOS03_USTDFF/ UST Dosimeters File Format (ASCII) For stand-alone loggers and USB/serial capture. See AIRDOS03_USTDFF/README.md

Pre-built .hex binaries are in build/.

Building (PlatformIO)

Each variant is a standalone PlatformIO project. The platformio.ini in each project is a symlink to the canonical hardware configuration:

AIRDOS03_MAVLink/platformio.ini  ->  ../../hw/modules/TFUNIPAYLOAD01/fw/platformio.ini
AIRDOS03_USTDFF/platformio.ini   ->  ../../hw/modules/TFUNIPAYLOAD01/fw/platformio.ini

Build a variant:

pio run --project-dir fw/AIRDOS03_MAVLink
# or
pio run --project-dir fw/AIRDOS03_USTDFF

Build and upload directly (requires the UART bootloader to be active — reset the board via the CTS pin before running):

pio run --project-dir fw/AIRDOS03_MAVLink -t upload

Flashing with avrdude

Any .hex binary can be flashed using avrdude with the MightyCore bootloader. The bootloader communication runs at 57600 bps (independent of the 115200 bps application baud rate):

avrdude -v -patmega1284p -carduino -P/dev/ttyUSB0 -b57600 -D -Uflash:w:./firmware.hex:i