diff --git a/libraries/AP_HAL_ChibiOS/hwdef/SpeedyBeeF405WING/Readme.md b/libraries/AP_HAL_ChibiOS/hwdef/SpeedyBeeF405WING/Readme.md index 7f53b54bd9..214f68b1ea 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/SpeedyBeeF405WING/Readme.md +++ b/libraries/AP_HAL_ChibiOS/hwdef/SpeedyBeeF405WING/Readme.md @@ -12,7 +12,7 @@ The SpeedyBeeF405WING is a flight controller produced by [SpeedyBee](http://www. Power 2S - 6S Lipo input voltage with voltage monitoring 90A Cont., 215A peak current monitor - 9V/12/5V, 1.8A BEC for powering Video Transmitter + 9V/12/5V, 1.8A BEC for powering Video Transmitter controlled by GPIO 4.9V/6V/7.2V, 4.5A BEC for servos 5V, 2.4A BEC for internal and peripherals Interfaces @@ -90,6 +90,10 @@ The correct battery setting parameters are set by default and are: The SpeedyBeeF405Wing does not have a built-in compass, but you can attach an external compass using I2C on the SDA and SCL pads. +## VTX power control + +GPIO 81 controls the VTX BEC output to pins marked "9V". Setting this GPIO high removes voltage supply to pins. + ## Loading Firmware Firmware for these boards can be found at https://firmware.ardupilot.org in sub-folders labeled “SpeedyBeeF405Wing”. diff --git a/libraries/AP_HAL_ChibiOS/hwdef/SpeedyBeeF405WING/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/SpeedyBeeF405WING/hwdef.dat index 0c0604d55b..21b475d4ae 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/SpeedyBeeF405WING/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/SpeedyBeeF405WING/hwdef.dat @@ -166,6 +166,9 @@ define OSD_ENABLED 1 define HAL_OSD_TYPE_DEFAULT 1 ROMFS_WILDCARD libraries/AP_OSD/fonts/font0.bin +#VTX power control +PC13 PINIO1 OUTPUT GPIO(81) LOW + define STM32_PWM_USE_ADVANCED TRUE # reduce max size of embedded params for apj_tool.py