Skip to content

Latest commit

 

History

History
66 lines (45 loc) · 2.98 KB

DroneCore.Power-Peripherals.md

File metadata and controls

66 lines (45 loc) · 2.98 KB

power_board_block_diagram.svg

PDF FORMAT

  • LED CHANNELS
    • supports WS2812 pwm communication protocol
    • possible to connect up to 50 leds in sum of all channels
    • FRONT L, FRONT R, BACK L and BACK R are set to support maximum of 10 LEDs per channel
    • FRONT L, FRONT R, BACK L and BACK R channels can be controlled with predefined effects
    • LED ADD is set to support maximum of 40 connected LEDs
    • LED ADD can be controlled from Jetson only
    • LED effects can be controlled from Jetson driver through I2C

  PWM LEDs can be controlled in two ways: as "predefined effect" or as "custom effect". Predefined effects are controlled directly from DroneCore.Power board. There are, at present, two predefined effects: toggling and circle. These effects can be set from Jetson, while you only need to set color for channel and timing, and .Power board will handle them itself. You can also modify basic LEDs effect after board power-up. Functions to do this are implemented in provided ROS package. Custom effects are controlled from Jetson. You can create your own effects by filling arrays of RGB colors and triggering LEDs update. This all can be easily done with provided ROS package. LED control ROS package

 

  • CAN
    • connecting DroneCore.Pilot board creates direct CAN connection between flight controller and Power board
    • active messages:
      • uavcan.equipment.esc
      • uavcan.equipment.esc.Status
      • uavcan.equipment.power.BatteryInfo

 

  • I2C to B2B connector
    • connecting DroneCore.Pilot board creates direct I2C connection between Jetson and .Power board
    • .Power board acts like a slave device
    • I2C address 0x20 (0x10 from jetson driver without R/W bit)
    • clock speed up to 1MHz

  Provided ROS package contains also functions to get information and control DroneCore.Power board. It`s possible, for example, to read errors from ESCs, read firmware number or set drone-arm state which disables some functions of the board for safety. There is also application in the provided image to control ESCs configuration flow.

 

  • UART to B2B connector
    • connecting DroneCore.Pilot board creates direct UART connection between flight controller and Power board
    • this connection is reserved for future use (not implemented yet)

 

  • BMS I2C
    • BMS I2C connector is reserved for future use (not implemented yet)

 

  • BAT CELLS
    • BAT CELLS connector is reserved for future use (not implemented yet). Info about voltage on battery cells will be available through CAN bus.

 

  • CONFIG
    • used for DroneCore.Power main CPU firmware update, ESC's firmware update and ESC's configuration

 

  • EXT. BUTTON
    • active-low button expansion, connect BUTTON pin to GND to make button pressed event
    • connector also includes still-alive 3V3 supply