Balancing robot ruth
nruth633·3-wheel-balancing-robot·pcb/Balancing_robot_ruth.kicad_pcb
About the Balancing robot ruth PCB
Balancing robot ruth is an open source STM32 PCB design by nruth633, published on GitHub. It is a 2-layer board, with 56 components from 34 distinct parts.
Its main chip is the STM32F401RBTx, from the STM32 family. Other key parts include the LD1117S50TR_SOT223, TB6612FNG and USBLC6-2SC6. By type, the board carries 22 capacitors, 10 resistors, 9 connectors, 5 ICs, 5 diodes and 3 switches.
It belongs with the robotics & motion designs in this gallery.
From the project
STM32F401 robot on a custom KiCad board, driven from a phone through an ESP8266
A three-wheel robot on an STM32F401 control board I designed in KiCad and soldered by hand. An ESP8266 runs its own WiFi access point and serves a control page, so you can drive it from a phone browser. Button presses go over a WebSocket to the ESP8266, which passes them to the STM32 over UART. Roll and pitch from the MPU6050 are sent back to the page. The STM32 firmware was provided by my professor; I built it and flashed the board with STM32CubeIDE and STM32CubeProgrammer.
Main components on the Balancing robot ruth
Balancing robot ruth bill of materials (BOM)
56 components, 34 distinct parts.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | STM32F401RBTx | LQFP-64_10x10mm_P0.5mm | U1 |
| 2 | LD1117S50TR_SOT223 | SOT-223-3_TabPin2 | U3, U6 |
| 1 | TB6612FNG | SSOP-24_5.3x8.2mm_P0.65mm | U4 |
| 1 | USBLC6-2SC6 | SOT-23-6 | U5 |
| 1 | Crystal_GND24 | Crystal_SMD_Abracon_ABM8G-4Pin_3.2x2.5mm | Y1 |
| 1 | Conn_01x04 | PinHeader_1x04_P2.54mm_Vertical | J1 |
| 1 | CONN_MPU6050 | PinSocket_1x08_P2.54mm_Vertical | J2 |
| 1 | USB_C_Receptacle_USB2.0_14P | USB_C_Receptacle_HCTL_HC-TYPE-C-16P-01A | J3 |
| 1 | ESP_Conn | PinSocket_2x04_P2.54mm_Vertical | J4 |
| 1 | BATT_CONN | JST_XH_B2B-XH-A_1x02_P2.50mm_Vertical | J5 |
| 1 | M1_CONN | JST_XH_B2B-XH-A_1x02_P2.50mm_Vertical | J6 |
| 1 | M2_CONN | JST_XH_B2B-XH-A_1x02_P2.50mm_Vertical | J7 |
| 1 | ENCODER_CONN | J8 | |
| 1 | Conn_01x05 | J9 | |
| 1 | PTCSMD | F1 | |
| 1 | SLW-66527511-SMT-TR | SW_SLW-66527511-SMT-TR | S1 |
| 1 | REGULATOR_SWITCH | SW_SLW-66527511-SMT-TR | S2 |
| 1 | SW_uP_Reset | SW2 | |
| 1 | WS2812B | LED_WS2812B_PLCC4_5.0x5.0mm_P3.2mm | D1 |
| 1 | USB_LED | D2 |
Show 14 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | 3V3_LED | D3 | |
| 1 | USER_LED | D4 | |
| 1 | 5V_LED | D5 | |
| 11 | 0.1uF | C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C1, C2, C3, C5, C6, C8, C13, C14 +3 |
| 1 | 2.2uF | C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C7 |
| 1 | 10uF | C9 | |
| 5 | 10uF | C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C15, C16, C18, C23, C25 |
| 2 | 22p | C19, C20 | |
| 1 | 0.01uF | C21 | |
| 1 | 0.1uF | C24 | |
| 4 | 1k | R1, R6, R9, R10 | |
| 2 | 10k | R2, R17 | |
| 2 | 22R | R3, R4 | |
| 2 | 5.1k | R7, R8 |
Balancing robot ruth design files
The KiCad project lives in the nruth633/3-wheel-balancing-robot repository on GitHub; these links point at the commit this page was built from.
Balancing robot ruth: common questions
What microcontroller does the Balancing robot ruth use?
The Balancing robot ruth is built around the STM32F401RBTx, from the STM32 family.
How big is the Balancing robot ruth PCB?
The Balancing robot ruth has 2 copper layers and is 1.6 mm thick.
How many components are on the Balancing robot ruth?
56 components, from 34 distinct parts. The full bill of materials is listed on this page.
Where can I download the Balancing robot ruth design files?
From the nruth633/3-wheel-balancing-robot repository on GitHub, which has the KiCad layout and the schematic; the links under Design files point to each one.
Can I use the Balancing robot ruth design in my own project?
The repository has no license, so all rights stay with nruth633. Use it as a reference, and ask the author before reusing the design.
Can I test firmware for the Balancing robot ruth without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug STM32 firmware against it before you order a PCB.
More boards in 3-wheel-balancing-robot
Similar boards
STM32
LumenPnP Motherboard
opulo-inc
149 × 95 mm296 parts4LCC-BY-SA-4.03.7kSTM32
Type c
google
188 × 30 mm17 parts2LApache-2.02.9kSTM32
Main panel
google
234 × 84 mm26 parts4LApache-2.02.9kSTM32
Base
google
52.3 × 52.3 mm36 parts2LApache-2.02.9kSTM32
Type a
google
150 × 30 mm14 parts2LApache-2.02.9kSTM32
Type e
google
140.5 × 30 mm13 parts2LApache-2.02.9k