Wiring the robot
Connecting it all up: the battery, the ESCs, the motors and the ESP32 — and which GPIO pin ends up driving which wheel.
This guide isn't written yet, and wiring is the wrong place to
guess. A pinout invented here could cost you a board, so there are no pin
numbers on this page until the real ones are confirmed. Ask a mentor for the
current wiring diagram. Programming the robot is
complete and explains how pins are named in code once yours are wired.
What this page will cover
The outline below is what the finished guide will walk through.
- How power flows Battery to ESCs to motors, and where the ESP32 gets its supply — the map to have in your head before you connect anything.
- Battery and connectors Which connector goes where, polarity, and the switch.
- ESCs to motors The three-wire motor connections, and what to do when a wheel turns the wrong way.
-
ESC signal wires to the ESP32
Which GPIO pins carry the signal, and how they line up with the
left_motor_pinandright_motor_pinsettings in your code. - Grounds Where they tie together, and why a missing one gives you a robot that twitches for no visible reason.
- The optional OLED Its two I²C wires, and how to turn it off in code if you aren't fitting one.
- Check before first power-on What to inspect and measure before the battery goes in — the step that catches the mistakes that let smoke out.
- When it browns out Bulk capacitance across the ESC supply and battery connector checks. The library already ramps the motors to bound current draw, but that cannot fix wiring that couldn't supply it.
Next
With the robot wired, Programming the robot
covers writing main.py, and
Robot code puts it on the board.