danny wang 6b2cb6fa39 this N3 net clean robot use bfd1.5V6 | 2 anni fa | |
---|---|---|
.. | ||
CubeBlack-pinout.jpg | 2 anni fa | |
README.md | 2 anni fa | |
defaults.parm | 2 anni fa | |
hwdef-bl.dat | 2 anni fa | |
hwdef.dat | 2 anni fa |
The Hex CubeBlack flight controller is sold by a range of resellers listed on the ProfiCNC website
The full schematics of the board are available here:
https://github.com/ArduPilot/Schematics/tree/master/ProfiCNC/The-Cube
On each connector the red dot indicates pin 1.
The Telem1 and Telem2 ports have RTS/CTS pins, the other UARTs do not have RTS/CTS.
The CONS port was originally used as a debug console, but is now a general purpose UART (debug output is now on USB).
Unless noted otherwise all connectors are JST GH
Pin | Signal | Volt |
---|---|---|
1 (red) | VCC | +5V |
2 (blk) | TX (OUT) | +3.3V |
3 (blk) | RX (IN) | +3.3V |
4 (blk) | CTS | +3.3V |
5 (blk) | RTS | +3.3V |
6 (blk) | GND | GND |
Pin | Signal | Volt |
---|---|---|
1 (red) | VCC | +5V |
2 (blk) | TX (OUT) | +3.3V |
3 (blk) | RX (IN) | +3.3V |
4 (blk) | SCL I2C1 | +3.3V |
5 (blk) | SDA I2C1 | +3.3V |
6 (blk) | Button | GND |
7 (blk) | button LED | GND |
(blk) | GND | GND |
Pin | Signal | Volt |
---|---|---|
1 (red) | VCC | +5V |
2 (blk) | TX (OUT) | +3.3V |
3 (blk) | RX (IN) | +3.3V |
4 (blk) | SCL I2C2 | +3.3V |
5 (blk) | SDA I2C2 | +3.3V |
6 (blk) | GND | GND |
The CONS port is an additional UART connected to SERIAL5. The pinout in the CONS port table below is ordered so that the GND pin is closest to the cube. The TX pin is closest to the servo rail.
Pin | Signal | Volt |
---|---|---|
1 | GND | GND |
2 | RX (IN) | +3.3V |
3 | TX (OUT) | +3.3V |
The SBUSo port is a port attached to the IO processor which can be used to output all servo channels via SBUS. It is enabled by setting the BRD_SBUS_OUT parameter.
The pinout below for the SBUSo port is labelled so that GND is closest to the cube. The 5V pin on the SBUS output port is connected to the servo rail.
When SBUS output is disabled (by setting BRD_SBUS_OUT to 0) you can use the port for analog RSSI input from receivers. To enable for RSSI input you need to set:
You cannot have both SBUS output and analog RSSI input at the same time.
Pin | Signal | Volt |
---|---|---|
1 | GND | GND |
2 | 5v(Vservo) | +5.0V |
3 | TX (OUT) | +3.3V |
The SPKT port provides a connector for Spektrum satellite receivers. It is needed to allow for software controlled binding of satellite receivers.
The pinout of the SPKT port given below is given with the 3.3V power pin closest to the cube (pin 3).
Pin | Signal | Volt |
---|---|---|
1 | RX (IN) | +3.3V |
2 | GND | GND |
3 | 3.3v | +3.3V |
Pin | Signal | Volt |
---|---|---|
1 (red) | VCC | +5V |
2 (blk) | ADC IN | |
3 (blk) | GND | GND |
Pin | Signal | Volt |
---|---|---|
1 (red) | VCC | +5V |
2 (blk) | SCL | +3.3 (pullups) |
3 (blk) | SDA | +3.3 (pullups) |
4 (blk) | GND | GND |
Pin | Signal | Volt |
---|---|---|
1 (red) | VCC | +5V |
2 (blk) | CAN_H | +12V |
3 (blk) | CAN_L | +12V |
4 (blk) | GND | GND |
Pin | Signal | Volt |
---|---|---|
1 (red) | VCC | +5V |
2 (red) | VCC | +5V |
3 (blk) | CURRENT | up to +3.3V |
4 (blk) | VOLTAGE | up to +3.3V | 5 (blk) | GND | GND | 6 (blk) | GND | GND |
Pin | Signal | Volt |
---|---|---|
1 (red) | VCC | +5V |
2 (blk) | D_plus | +3.3V |
3 (blk) | D_minus | +3.3V |
4 (blk) | GND | GND |
5 (blk) | BUZZER | battery voltage |
6 (blk) | Boot/Error LED |
RC input is configured on the RCIN pin, at one end of the servo rail, marked RCIN in the above diagram. This pin supports all RC protocols. In addition there is a dedicated Spektrum satellite port which supports software power control, allowing for binding of Spektrum satellite receivers.
The CubeBlack 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 STM32F427 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 CubeBlack has two builtin compasses. One is a HMC5843 and the other is a part of the MPU9250 IMU. 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 CubeBlack has 7 analog inputs
The IMU heater in the CubeBlack can be controlled with the BRD_IMU_TARGTEMP parameter, which is in degrees C.
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 ProfiCNC for images