libraries/AP_HAL_ChibiOS/hwdef/AEDROXH7/README.md
The default RC input is configured on the UART3 (RX3/SBUS). Non SBUS, single wire serial inputs can be directly tied to RX3 if SBUS pin is left unconnected. RC could be applied instead at a different UART port such as UART4 or UART8, and set the protocol to receive RC data: SERIALn_PROTOCOL = 23 and change SERIAL3 _Protocol to something other than '23'.
SERIAL3_OPTIONS<SERIAL3_OPTIONS> = 7Onboard OSD using OSD_TYPE 1 (MAX7456 driver) is supported by default. Simultaneously, DisplayPort OSD is available on the HD VTX connector.
The SH1.0-6P connector supports a DJI Air Unit / HD VTX connection. Protocol defaults to DisplayPort. Pin 1 of the connector is 10v so be careful not to connect this to a peripheral requiring 5v. DisplayPort OSD is enabled by default on SERIAL8.
GPIO 83 controls the VTX BEC output to pins marked "12V" and is included on the HD VTX connector. Setting this GPIO low removes voltage supply to this pin/pad. By default RELAY3 is configured to control this pin and sets the GPIO high.
The SPEDIX F405 supports up to 9 PWM (8 + LED) outputs. The pads for motor output M1 to M8 are provided on both the motor connectors and on separate pads, plus M9 on a separate pad for LED strip (default configuration) or another PWM output.
The PWM is in 4 groups:
Channels within the same group need to use the same output rate. If any channel in a group uses DShot then all channels in the group need to use DShot. Channels 1-8 support bi-directional dshot.
The board has a internal voltage sensor and connections on the ESC connector for an external current sensor input. The voltage sensor can handle up to 6S LiPo batteries.
The default battery parameters are:
The AEDROXH7 does not have a built-in compass, but you can attach an external compass using I2C on the SDA and SCL connector.
The numbering of the GPIOs for PIN variables in ardupilot is:
Firmware for the AEDROXH7 is available from ArduPilot Firmware Server under the AEDROXH7 target.
To flash firmware initially, connect USB while holding the bootloader button and use DFU to load the with_bl.hex file. Subsequent updates can be applied using .apj files through a ground station.