Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hwdef:add VTX power control to SpeedyBeeF405-Wing #25192

Merged
merged 1 commit into from
Oct 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion libraries/AP_HAL_ChibiOS/hwdef/SpeedyBeeF405WING/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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”.

Expand Down
3 changes: 3 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/SpeedyBeeF405WING/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,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
Expand Down