Skip to content

Avian Automata 305AP ​

main (PX4 v2.0)

WARNING

PX4 does not manufacture this (or any) autopilot. Contact the manufacturer for hardware support or compliance issues.

The 305AP is a compact flight controller designed by Avian Automata. It is built around the STM32H743 processor with two IMU slots, an onboard barometer and magnetometer, two CAN buses, and eight motor outputs.

Avian Automata 305AP

INFO

This flight controller is manufacturer supported.

Specifications ​

Processor ​

  • Main FMU processor: STM32H743VIH6 (32-bit Arm® Cortex®-M7, 480 MHz, 2 MB flash, 1 MB RAM)

Sensors ​

Interfaces ​

  • PWM outputs: 8, all supporting DShot
  • Serial ports: 7 (TELEM 1, TELEM 2, GPS, RC IN, VTX, the debug console on VTX, and ESC telemetry on the Motors connector)
  • I2C buses: 3 (I2C1 internal; I2C2 and I2C4 external, I2C4 on the GPS connector)
  • SPI buses: 4, of which SPI4 is external with 2 chip selects
  • CAN buses: 2 (FDCAN1, FDCAN2)
  • USB: USB-C (USB 2.0 Full Speed)
  • RC input: Yes
  • Parameter storage: microSD card
  • SD card: microSD slot
  • OSD: MSP OSD on VTX

Electrical Data ​

  • Input voltage: 2S-6S (6.4 V to 25.2 V)
  • Power monitoring: 1 analog battery voltage input, plus an analog current sense input (no onboard current shunt)
  • Power outputs: regulated 5 V and 9 V (9 V at battery voltage on 2S)

Mechanical Data ​

  • Dimensions: 36.5 mm x 36.5 mm
  • Weight: 11 g (with microSD card)
  • Mounting hole spacing: 30.5 mm x 30.5 mm, M4 holes sized for M3 rubber vibration isolators

Where to Buy ​

Order from the Avian Automata store.

Block Diagram ​

305AP block diagram

Pinouts ​

All connectors are JST-GH. Pin 1 is marked on each connector housing.

Power (CN1) ​

PinSignal
1-3VBAT_IN
4-6GND

TELEM 1 (CN2) and TELEM 2 (CN3) ​

PinSignalTELEM 1 (UART4)TELEM 2 (UART7)
1+5V
2TXPA0PE8
3RXPA1PE7
4CTSPB0PE10
5RTSPB14PE9
6GND

GPS (CN4) ​

This is a 6-pin port, not the 10-pin Pixhawk GPS port.

PinSignalMCU
1+5V
2UART TXPC6
3UART RXPC7
4I2C4 SCLPD12
5I2C4 SDAPD13
6GND

CAN 1 (U18) and CAN 2 (U19) ​

PinSignal
1+5V
2CAN_H
3CAN_L
4GND

External I2C (U20) ​

PinSignalMCU
1+5V
2I2C2 SCLPB10
3I2C2 SDAPB11
4GND

External SPI (CN7) ​

PinSignalMCU
1+5V
2SPI4 SCKPE2
3SPI4 MISOPE13
4SPI4 MOSIPE6
5CS1PC13
6CS2PC14
7GND

The firmware includes the MS5611 barometer and PMW3901 optical flow drivers for sensors on this port, but doesn't start them. To use one, start it from extras.txt on the SD card, for example ms5611 -S -b 1 -c 2 start for an MS5611 on CS2.

Motors (U21) ​

PinSignalMCUTimer
1+5V
2Current sensePC3
3ESC telemetryPA9
4Motor 1PA8TIM1 CH1
5Motor 2PE11TIM1 CH2
6Motor 3PA15TIM2 CH1
7Motor 4PA2TIM2 CH3
8Motor 5PA7TIM3 CH2
9Motor 6PB1TIM3 CH4
10Motor 7PB7TIM4 CH2
11Motor 8PD14TIM4 CH3
12GND

VTX (CN6) ​

PinSignalMCU
1+9V
2GND
3UART TXPD5
4UART RXPD6
5GND
6SBUS outPD8

RC IN (U22) ​

PinSignalMCU
1+5V
2RC_INPB13
3GND

Power ​

The board is powered from the battery on the 6-pin JST-GH Power connector (2S-6S), or from USB-C. The board has no power-enable GPIOs: every rail, sensor and peripheral is powered whenever the board has power, except the 9 V rail, which needs battery power.

Battery monitoring is analog. The board measures battery voltage with a 10k/1k divider (BAT1_V_DIV defaults to 11.0). There is no onboard current shunt. To measure current, connect an external sensor to the current sense pin on the Motors connector and set BAT1_A_PER_V, which defaults to 0 (see Amps per volt). See Battery and Power Module Setup for configuration.

The board can't sense its 5 V rail or detect USB VBUS, so the arming power-supply check is disabled (CBRK_SUPPLY_CHK defaults to 894281).

Voltage Ratings ​

  • Power input: 2S-6S, 6.4 V to 25.2 V (35 V DC absolute maximum)
  • USB input: 5 V nominal (5.5 V recommended maximum, 6 V absolute maximum)

PWM Outputs ​

The 8 outputs are in 4 groups:

  • Outputs 1-2 in group 1 (TIM1)
  • Outputs 3-4 in group 2 (TIM2)
  • Outputs 5-6 in group 3 (TIM3)
  • Outputs 7-8 in group 4 (TIM4)

All outputs support PWM and DShot, and default to DShot300 (PWM_MAIN_TIM0 to PWM_MAIN_TIM3 = -4). The firmware also supports bidirectional DShot on all outputs, but it hasn't yet been verified on this board. All outputs in a group must use the same protocol and rate.

SD Card (Optional) ​

The board has a push-push microSD card slot on the bottom. Parameters are stored on the card, so they can't be saved without one. For information about choosing and using an SD card see SD Cards (Removable Memory).

Serial Port Mapping ​

UARTDevicePortConnectorFlow Control
USART1/dev/ttyS0ESC telemetryMotors (pin 3)
USART2/dev/ttyS1TELEM 3VTX
USART3/dev/ttyS2Debug ConsoleVTX (SBUS out pin)
UART4/dev/ttyS3TELEM 1TELEM 1Yes
UART5/dev/ttyS4Radio ControllerRC IN
USART6/dev/ttyS5GPS 1GPS
UART7/dev/ttyS6TELEM 2TELEM 2Yes

ESC telemetry from Motors pin 3 (USART1) is enabled by default, so leave DSHOT_TEL_CFG at Disabled.

INFO

The bootloader enables no UART, so firmware can only be flashed over USB.

Assembly ​

Radio Control ​

A remote control (RC) radio system is required if you want to manually control your vehicle (PX4 does not require a radio system for autonomous flight modes). You will need to select a compatible transmitter/receiver and then bind them so that they communicate.

Connect the receiver to the 3-pin JST-GH RC IN connector, a single-wire port on the FMU (UART5, /dev/ttyS4).

  • S.BUS, DSM, SUMD, ST24, CRSF and GHST receivers are detected automatically, with no configuration (RC_INPUT_PROTO = Auto).
  • PPM receivers are not supported, so PWM receivers can't be connected through a PPM encoder either.
  • DSM receivers can't be bound from QGroundControl on this board: bind them before connecting.
  • CRSF telemetry back to the transmitter needs a full-duplex port, so connect those receivers to TELEM 1 or TELEM 2 instead. Set RC_CRSF_PRT_CFG to that port and RC_CRSF_TEL_EN to 1, then reboot. On TELEM 1, also set MAV_0_CONFIG to Disabled, since MAVLink uses it by default.

The DSM, GHST and S.BUS drivers can also be run on another serial port, using RC_DSM_PRT_CFG, RC_GHST_PRT_CFG or RC_SBUS_PRT_CFG. Only one protocol can be active on a port.

GPS & Compass ​

The 6-pin JST-GH GPS connector carries GPS (USART6) and I2C (I2C4) for the compass in a GPS module. It has no safety switch, buzzer or LED signals.

The board has an onboard MMC5983MA magnetometer. The +5V pins on all connectors come from the board's 5 V rail, so a load on them that varies in flight (servos, a companion computer, a video transmitter) can upset the onboard compass. On such vehicles, use an external compass in a GPS module. See Mounting a GPS/Compass for more information.

Telemetry Radios (Optional) ​

The board has two telemetry ports, TELEM 1 and TELEM 2, each a 6-pin JST-GH connector with flow control. A telemetry radio connected to TELEM 1 needs no further configuration.

CAN ​

The board has two CAN ports, CAN 1 and CAN 2, each a 4-pin JST-GH connector, for DroneCAN peripherals. Both buses are fully terminated on the board, so do not add external termination.

DroneCAN is not enabled by default: set UAVCAN_ENABLE to enable it.

OSD ​

Connect the video transmitter to the 6-pin JST-GH VTX connector, which carries 9 V power, a UART (USART2) and the SBUS out pin. MSP OSD runs on this UART (TELEM 3) by default, at 115200 baud (MSP_OSD_CONFIG = TELEM 3, SER_TEL3_BAUD = 115200). The 9 V rail is only available when the board is powered from the battery, and runs at battery voltage on 2S.

WARNING

Pin 6 (SBUS out) carries the PX4 System Console output. If your air unit's cable has an SBUS wire, leave it unconnected.

Building Firmware ​

TIP

From PX4 v2.0, most users will not need to build this firmware! It is pre-built and automatically installed by QGroundControl when appropriate hardware is connected.

To build PX4 for this target:

sh
make avianautomata_305ap_default

The board also has a rover build variant: avianautomata_305ap_rover.

Debug Port ​

The FMU's PX4 System Console output is on USART3 TX (PD8) at 57600 baud, the SBUS out pin of the VTX connector. The port is transmit-only, so use the MAVLink Shell over USB for an interactive console.

The SWD interface isn't brought out: its pins (PA13 and PA14) are used by the second IMU slot.

Further Information ​