
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 90.5 × 68.6 mm with 55 parts on 103 nets, routed with 414 tracks and 45 vias.
It is built around the ESP32-WROOM-32D, TL3342F160QG and BAT54S. Its parts include 8 connectors, 5 ICs, 3 capacitors, 3 switches and 1 diode. It belongs with the robots and motor control boards and the ESP32 and 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_1, 10k_1, 10k_4, 10k_5, 10k_7, 10k_8 |
| 5 | 100nF | Capacitor_SMD:C_0603_1608Metric | DC_1, DC_2, DC_3, DC_4, DC_6 |
| 3 | 20k | Resistor_SMD:R_0603_1608Metric | 20k_1, 20k_3, R20k_4 |
| 3 | Conn_01x03 | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | J12, J13, J15 |
| 2 | 10uF | Capacitor_SMD:C_0805_2012Metric | C21, DC_5 |
| 2 | 1k | Resistor_SMD:R_0603_1608Metric | 1k_21, 1k_22 |
| 2 | Conn_01x01 | Connector_Wire:SolderWire-2sqmm_1x01_D2mm_OD3.9mm | J24, J25 |
| 2 | Conn_01x06 | Connector_JST:JST_PH_B6B-PH-K_1x06_P2.00mm_Vertical | MESC1, MESC2 |
| 2 | TL3342F160QG | Button_Switch_SMD:SW_Push_SPST_NO_Alps_SKRK | S11, S12 |
| 1 | 120 | Resistor_SMD:R_0603_1608Metric | R_120 |
| 1 | 5k | Resistor_SMD:R_0603_1608Metric | 5k_2 |
| 1 | 90k | Resistor_SMD:R_0603_1608Metric | 90k_1 |
| 1 | BAT54S | Package_TO_SOT_SMD:SOT-23-3 | D22 |
| 1 | BLUE | LED_SMD:LED_0603_1608Metric | D_BLU2 |
| 1 | C_Polarized_Small_US | Capacitor_Tantalum_SMD:CP_EIA-3216-18_Kemet-A | C22 |
| 1 | Conn_01x01 | Connector_PinSocket_2.54mm:PinSocket_1x01_P2.54mm_Vertical | J22 |
| 1 | Conn_01x04 | Connector_JST:JST_PH_B4B-PH-K_1x04_P2.00mm_Vertical | CAN1 |
| 1 | Conn_01x08 | Connector_PinSocket_2.54mm:PinSocket_1x08_P2.54mm_Vertical | MP1 |
| 1 | Conn_01x18 | Connector_PinSocket_2.54mm:my_PinSocket_3x07_P2.54mm_Vertical | J1 |
| 1 | ESP32-WROOM-32D | RF_Module:ESP32-WROOM-32D | U11 |
| 1 | LD1117S18TR_SOT223 | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U21 |
| 1 | LED BLU | LED_SMD:LED_0603_1608Metric | D_BLU1 |
| 1 | LED GRN | LED_SMD:LED_0603_1608Metric | D_GRN1 |
| 1 | LED RED | LED_SMD:LED_0603_1608Metric | D_RED1 |
| 1 | SERIAL1 | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J14 |
| 1 | SW_SPDT | Button_Switch_THT:SW_NKK_BB15AH | SW_SPDT21 |
| 1 | SolderJumper_3_Open | Jumper:SolderJumper-3_P1.3mm_Open_Pad1.0x1.5mm | JP1 |
| 1 | Speaker | CDS-13138-SMT-TR:SPKR_CDS-13138-SMT-TR | LS1 |
| 1 | TJA1050T/CM,118 | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U1 |
| 1 | TL3342F160QG | Button_Switch_SMD:SW_SPST_B3SL-1022P | S1 |
| 1 | Teensy4.0 | teensy:Teensy40 | U2 |
| 1 | my_BC337 | Package_TO_SOT_SMD:SOT-23 | Q1 |
| 1 | my_buck_boost | Converter_DCDC:my_buck_boost | U22 |
The 51 most common of 55 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.

JakobThiessen/SmartHome_EMS-BUS-WI-FI-GATEWAY
ESP32-EMS WiFi gateway for read and control EMS and Heatronic compatible devices such as boilers, thermostats, solar modules and heat pumps.





open3doled/open-3d-oled
If running windows 11 or 10 with DPI scaling be sure to disable it as follows. 1) Right click properties on 3dplayer.exe in the 3DPlayer folder 2) Click on "Compatability" tab then click on the button at the bottom…


greghulette/Wireless_Communication_Board-WCB
Repository for the Wireless Commuincation Board (WCB)
It measures 90.5 × 68.6 mm and has 4 copper layers, 1.6 mm thick.
55 parts, built around the ESP32-WROOM-32D, TL3342F160QG and BAT54S. 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.0/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).