Power Management and distribution board for Open Dynamic Robot Initiative Robots
Serial Wire Debug (SWD)
1 | 2 | 3 | 4 |
---|---|---|---|
3V3 | SWDIO | SWCLK | GND |
Communication port, power board is acting as a SPI Slave device. To be connected to a SPI Master device such as the MasterBoard.
1 | 2 | 3 | 4 | 5 |
---|---|---|---|---|
GND | MISO | CLK | /CS | MOSI |
DC input port to be connected to a battery pack / PSU using female XT30 connector
DC output ports to be connected to any load on the robot using XT30 male connector
1 | 2 | 3 |
---|---|---|
OFF | COM | ON |
Connect a
During programming, short pins 1-2-3 together for the MCU to stay powered at anytime.
If no external pushbutton are used, short pin 1 and 2 to only use onboard pushbuttons. If not, the board will not turn on.
Note: the onboard OFF button control to the MCU reset line.
todo
Not implemented yet
1- Install STM32cubeIDE from here: https://www.st.com/en/development-tools/stm32cubeide.html#get-software
2- Clone this repository
3- Open STM32cubeIDE and open the project via File -> Open project via file system
select the folder firmware/powerboard/
from this repo. Click on Finish.