danny wang 6b2cb6fa39 this N3 net clean robot use bfd1.5V6 | %!s(int64=2) %!d(string=hai) anos | |
---|---|---|
.. | ||
CUAVv5-pinout.jpg | %!s(int64=2) %!d(string=hai) anos | |
README.md | %!s(int64=2) %!d(string=hai) anos | |
hwdef-bl.dat | %!s(int64=2) %!d(string=hai) anos | |
hwdef.dat | %!s(int64=2) %!d(string=hai) anos |
The CUAVv5 flight controller is sold by CUAV
The full schematics of the board are available here:
https://github.com/ArduPilot/Schematics/tree/master/CUAV/CUAVv5
The Telem1 and Telem2 ports have RTS/CTS pins, the other UARTs do not have RTS/CTS.
The UART7 connector is labelled debug, but is available as a general purpose UART with ArduPilot.
RC input is configured on the RCIN pin, at one end of the servo rail, marked RC in the above diagram. This pin supports all RC protocols.
The CUAVv5 supports up to 14 PWM outputs. First first 8 outputs (labelled "MAIN") are controlled by a dedicated STM32F100 IO controller. These 8 outputs support all PWM output formats, but not DShot.
The remaining 6 outputs (labelled AUX1 to AUX6) are the "auxillary" outputs. These are directly attached to the STM32F765 and support all PWM protocols as well as DShot.
All 14 PWM outputs have GND on the top row, 5V on the middle row and signal on the bottom row.
The 8 main PWM outputs are in 3 groups:
The 6 auxillary PWM outputs are in 2 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.
The board has two dedicated power monitor ports on 6 pin connectors. The correct battery setting parameters are dependent on the type of power brick which is connected.
The CUAVv5 has a builtin IST8310 compass. Due to potential interference the board is usually used with an external I2C compass as part of a GPS/Compass combination.
The 6 PWM ports can be used as GPIOs (relays, buttons, RPM etc). To use them you need to limit the number of these pins that is used for PWM by setting the BRD_PWM_COUNT to a number less than 6. For example if you set BRD_PWM_COUNT to 4 then PWM5 and PWM6 will be available for use as GPIOs.
The numbering of the GPIOs for PIN variables in ArduPilot is:
The CUAVv5 has 7 analog inputs
The board comes pre-installed with an ArduPilot compatible bootloader, allowing the loading of *.apj firmware files with any ArduPilot compatible ground station.
Thanks to CUAV for images