Build Throttlematic Central
An ESP32, an Arduino Motor Shield Rev3 and a power supply. Built and measured on November 18, 2026.
Three rules
- Make every connection with the power supply off and USB unplugged.
- Never power the ESP32 board from the power supply and USB at once.
- No more than 3.3 V on the ESP32 pins. The IOREF → 3V3 wire and two jumpers on the shield see to that.
Prepare the shield
- Cut the “Vin Connect” jumper on the underside. Otherwise the supply voltage reaches the VIN pin right next to 5V.
- Link A0 to A2 and A1 to A3. These jumpers protect the ESP32 inputs if the track is shorted.
Connect the ESP32 to the shield
Eleven wires. The label printed next to the pin decides.
No. Shield ESP32 Purpose 1 3G25channel A: enable 2 12G19channel A: DCC signal 3 9G13channel A: brake 4 A2G35channel A: current sense 5 11G23channel B: enable 6 13G18channel B: DCC signal 7 8G12channel B: brake 8 A3G34channel B: current sense 9 IOREF3V33.3 V threshold (inputs) 10 GNDGNDcommon ground 11 5V5Vpower, connect last Connect the power
- Run the 19 V supply’s positive lead to the Vin terminal through 3–4 1N540x diodes in series, stripe towards the shield.
- Negative lead to the GND terminal.
- Feed the 5 V regulator from behind the diodes. Its output goes to the shield’s 5V pin and the ESP32’s 5V pin.
- Target: 16.5–17.5 V at the shield terminals, which gives about 15 V on the track.
Supply with no load Diodes up to 19.2 V 3 19.3–20 V 4 Install DCC-EX
Install EX-CommandStation with the DCC-EX project’s own installer. Ours runs version 5.6.6 with the
STANDARD_MOTOR_SHIELDdriver, joined to the home network.Once started, the command station appears on the network as
dccex.local, port 2560.Check before powering up
With a multimeter, power off:
- Vin terminal and the header’s VIN pin: no connection
- Vin and GND terminals: no short
- 5V and GND pins: no short
- A0 to A2 and A1 to A3: connected
- A2 to A3: no connection
Power up in stages
- Power only, 5V wires not yet plugged in: the regulator output should read 4.9–5.1 V.
- Plug in the 5V wires. Within twenty seconds or so the command station is on the network, and the Vin terminals read no more than 17.5 V.
- Connect the track to terminals A+ and A−, put a locomotive on it and switch the track on from the panel or a phone.
To flash over USB with everything assembled, pull the 5V wire off the ESP32 pin first.
Our measurements
| Shield Vin terminals | 17.09 V |
| Regulator output | 5.01 V |
| Track cut-off on overload | 1.5 A per channel |
| Highest current while running | 367 mA |
We have not yet tested behavior under a short circuit, running with smoke, or many hours of use.