Throttlematic
US
Waitlist

Build Throttlematic Central

An ESP32, an Arduino Motor Shield Rev3 and a power supply. Built and measured on November 18, 2026.

Three rules

  1. Make every connection with the power supply off and USB unplugged.
  2. Never power the ESP32 board from the power supply and USB at once.
  3. No more than 3.3 V on the ESP32 pins. The IOREF → 3V3 wire and two jumpers on the shield see to that.
Wiring diagram: ESP32, Arduino Motor Shield Rev3, power supply with diodes, 5 V regulator and track
Both boards seen from above. Wire numbers match the table in step 2. Open the diagram at full size. Parts and tools are on the parts list.
  1. 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.
  2. Connect the ESP32 to the shield

    Eleven wires. The label printed next to the pin decides.

    No.ShieldESP32Purpose
    13G25channel A: enable
    212G19channel A: DCC signal
    39G13channel A: brake
    4A2G35channel A: current sense
    511G23channel B: enable
    613G18channel B: DCC signal
    78G12channel B: brake
    8A3G34channel B: current sense
    9IOREF3V33.3 V threshold (inputs)
    10GNDGNDcommon ground
    115V5Vpower, connect last
  3. 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 loadDiodes
    up to 19.2 V3
    19.3–20 V4
  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_SHIELD driver, joined to the home network.

    Once started, the command station appears on the network as dccex.local, port 2560.

  5. 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
  6. 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 terminals17.09 V
Regulator output5.01 V
Track cut-off on overload1.5 A per channel
Highest current while running367 mA

We have not yet tested behavior under a short circuit, running with smoke, or many hours of use.

Next: build Touch