
MESC brain board
owhite/balancing-robot-notes
A control theory and software development repo for a balancing robot.

A control theory and software development repo for a balancing robot.
MESC brain board is an open-source printed circuit board by owhite, from the owhite/balancing-robot-notes repository on GitHub, published under the MIT licence. It is a 4-layer board of 84.5 × 64 mm with 59 parts on 59 nets, routed with 355 tracks and 25 vias.
It is built around the LD1117S33TR(MS), RBT10W24S05 and SM24CANB-02HTG, with the APT1608SGC, T491A106K006AT and TL1015AF160QG among its other parts. Its parts include 6 connectors, 5 capacitors, 5 ICs, 4 resistors and 3 diodes. It belongs with the robots and motor control boards and the NXP (LPC, Kinetis, i.MX RT) boards of this library.
A PCB and software development project for a balancing robot.
The goal is to use a hobby Electronic Speed Controller (one open source example, and this circuit for a brain board, a teensy 4.0, and an ESP-32, in combination with MESC firmware.
A separation of concerns is divided across these architectures:
This project would never happen without:
Ever wanted to change all the names of kicad files at once?
use this:
python3 replace_kicad_names.py VESC_brain_board MESC_brain_board[LINK]
| Qty | Value | Footprint | References |
|---|---|---|---|
| 6 | 10k | Resistor_SMD:R_0603_1608Metric | 1k_21, 10k_21, 10k_22, 10k_24, 10k_26, 47k_22 |
| 4 | 100nF | Capacitor_SMD:C_0603_1608Metric | DC_21, DC_22, DC_23, DC_24 |
| 4 | 60 | Resistor_SMD:R_0603_1608Metric | R60_21, R60_22, R60_23, R60_24 |
| 4 | TestPoint | Connector_PinSocket_2.54mm:PinSocket_1x01_P2.54mm_Vertical | TP21, TP22, TP23, TP24 |
| 3 | 100nF | Capacitor_SMD:C_0805_2012Metric | DC_31, DC_32, DC_33 |
| 3 | Conn_01x01 | Connector_PinSocket_2.54mm:PinSocket_1x01_P2.54mm_Vertical | J21, J22, J23 |
| 3 | Conn_01x04 | Connector_JST:JST_PH_B4B-PH-K_1x04_P2.00mm_Vertical | CAN1, CAN2, ESP1 |
| 2 | 10uF | Capacitor_SMD:C_0805_2012Metric | C23, C24 |
| 2 | 20k | Resistor_SMD:R_0603_1608Metric | 20k_21, 20k_31 |
| 2 | 4.7nF | Capacitor_SMD:C_0603_1608Metric | C21, C22 |
| 2 | Conn_01x01 | Connector_Wire:SolderWire-2sqmm_1x01_D2mm_OD3.9mm | J24, J25 |
| 2 | SM24CANB-02HTG | SM24CANB-02HTG:SOT95P230X117-3N | D21, D22 |
| 2 | SolderJumper_2_Open | Jumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mm | JP21, JP22 |
| 2 | TCAN334GDR | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U22, U23 |
| 1 | 5k | Resistor_SMD:R_0603_1608Metric | 5k_21 |
| 1 | APT1608SGC | LED_SMD:LED_0603_1608Metric | D_GRN21 |
| 1 | Conn_01x07 | Connector_JST:JST_PH_B7B-PH-K_1x07_P2.00mm_Vertical | IMU1 |
| 1 | Conn_01x18 | Connector_PinSocket_2.54mm:my_PinSocket_3x07_P2.54mm_Vertical | J2 |
| 1 | D_Small_Filled | Diode_SMD:D_SMA | D23 |
| 1 | LD1117S33TR | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U31 |
| 1 | LED BLU | LED_SMD:LED_0603_1608Metric | D_BLU21 |
| 1 | LED RED | LED_SMD:LED_0603_1608Metric | D_RED21 |
| 1 | RBT10W24S05 | MP2_DFN_Custom_parts:12_DCDC_5 | U30 |
| 1 | SI2302DDS-T1-BE3 | Package_TO_SOT_SMD:SOT-23 | Q21 |
| 1 | Speaker | CDS-13138-SMT-TR:SPKR_CDS-13138-SMT-TR | LS21 |
| 1 | T491A106K006AT | Capacitor_Tantalum_SMD:CP_EIA-3216-18_Kemet-A | C25 |
| 1 | TL1015AF160QG | Button_Switch_SMD:SW_Push_SPST_NO_Alps_SKRK | S21 |
| 1 | Teensy4.0 | teensy:Teensy40 | U21 |
The 55 most common of 59 parts.

owhite/balancing-robot-notes
A control theory and software development repo for a balancing robot.

owhite/balancing-robot-notes
A control theory and software development repo for a balancing robot.

owhite/balancing-robot-notes
A control theory and software development repo for a balancing robot.

owhite/balancing-robot-notes
A control theory and software development repo for a balancing robot.

owhite/balancing-robot-notes
A control theory and software development repo for a balancing robot.

owhite/balancing-robot-notes
A control theory and software development repo for a balancing robot.

owhite/balancing-robot-notes
A control theory and software development repo for a balancing robot.





genbean/UH1-Collective
A small board for hat Rev 4 in the Huey head Rev 5 (Head/Rev5/Hat). It carries an ALPS RKJXM1015004 8-direction stick switch with a centre push, and screws to four bosses printed on the back of the lower panel.

thingino/teacup-neo
Universal Ingenic SoC development platform: one carrier + per-SoC interposer modules (T10 through A1, any package) on a DDR4 card edge, with an ESP32-S3 BMC for autonomous LLM-driven development.

caipiblack/STM32-CAN-Bus-board
This is an STM32F042K6T6 based board that can be used to build sensors that communicate over a CAN bus

ilicmiljan/open-can-controller
Open-source CAN bus controller for BMW E9X instrument clusters (Firmware + PCB)
It measures 84.5 × 64 mm and has 4 copper layers, 1.6 mm thick.
59 parts, built around the LD1117S33TR(MS), RBT10W24S05, SM24CANB-02HTG and APT1608SGC. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the owhite/balancing-robot-notes repository on GitHub, at the commit this page was made from: the board is PCBs/brainboardV1.6/MESC_brain_board.kicad_pcb and its schematic PCBs/ESC_caddyV1.0/ESC_caddyV1.0.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).