DEVDOMI / FROM THE WORKBENCH

ESP32-CAM L298N Wiring Guide

FREE BUILD GUIDE · AGES 14+

Connect the documented direction signals and shared ground without substituting pins.

Ages 14+. Beginners and teens can build alongside a parent or teacher.

Parts and tools

  • ESP32-CAM, L298N and signal wires
  • Actual module labels and the EN.3 connection table

Numbered steps

  1. Disconnect the battery, USB and motor supply before fitting wires.
  2. Connect IN1 → GPIO12, IN2 → GPIO13, IN3 → GPIO15 and IN4 → GPIO14, checking actual silkscreen labels one connection at a time.
  3. Connect ESP32-CAM GND and L298N GND to the common ground shared with the converter.
  4. Keep ENA and ENB enable jumpers installed. They are different from a regulator jumper sometimes labelled 5V-EN; do not infer that regulator setting for an unknown module.
  5. Connect the two motors on one side in parallel to OUT1/OUT2, and the other side to OUT3/OUT4, following the supplied harness labels. Verify physical direction later with the wheels lifted.
EN.3 signal mapping
L298NESP32-CAM
IN1GPIO12
IN2GPIO13
IN3GPIO15
IN4GPIO14
GNDGND
ESP32-CAM L298N Wiring Guide — instructional diagram from EN.3
Instructional diagram from the supplied EN.3 package; not a new physical test result.

Step video: coming soon.

Check before continuing

  • IN1/2/3/4 map to GPIO12/13/15/14. IN4 is not GPIO2.
  • GPIO2 and GPIO4 do not connect to the motor driver; GPIO16 stays reserved for PSRAM.
  • No motor is powered through the ESP32-CAM 5V pin.

Source: firmware v0.3.12, Beginner English edition EN.3 (12 September 2026). This web edition does not establish a new hardware test. Download the original guides and source package.

Choose your next buildShop kits ↗