ULN2003 driver board (4 channels) with ESP32

Supply 5-12 V Bus GPIO
IN1IN2IN3IN4-+OUT1OUT2OUT3OUT4

Pins and ESP32 wiring

PinRoleESP32 pinNotes
IN1Input (the ESP32 drives it)D25
IN2Input (the ESP32 drives it)D26
IN3Input (the ESP32 drives it)D27
IN4Input (the ESP32 drives it)D32
-GroundGNDShare it with the ESP32 GND
+Not wired to the ESP32—Load supply 5 to 12 V. For a 28BYJ-48 5 V: VIN is fine
OUT1Not wired to the ESP32—Low-side switch to the load. White motor connector
OUT2Not wired to the ESP32—
OUT3Not wired to the ESP32—
OUT4Not wired to the ESP32—

Suggested wiring for the 30-pin ESP32 DevKit, avoiding flash, input-only and strapping pins. BoardPilot checks it for you as you wire.

Sources

Try it in 3D in BoardPilot

BoardPilot Part data (JSON)

Related parts

Part data: CC BY 4.0, free to reuse with credit to BoardPilot.