ULN2803A 8-channel Darlington array (DIP-18) with ESP32

Supply 3.3-5 V Bus GPIO
1B2B3B4B5B6B7B8BGNDCOM8C7C6C5C4C3C2C1C

Pins and ESP32 wiring

PinRoleESP32 pinNotes
1BInput (the ESP32 drives it)D25Pins 1 to 8: inputs, 3.3 V logic works
2BInput (the ESP32 drives it)D26
3BInput (the ESP32 drives it)D27
4BInput (the ESP32 drives it)D32
5BInput (the ESP32 drives it)D33
6BInput (the ESP32 drives it)D23
7BInput (the ESP32 drives it)D19
8BInput (the ESP32 drives it)D18
GNDGroundGNDPin 9
COMNot wired to the ESP32—Pin 10: to the load supply + (flyback diodes inside)
8CNot wired to the ESP32—Pins 11 to 18: outputs, pull the load to GND (500 mA max each)
7CNot wired to the ESP32—
6CNot wired to the ESP32—
5CNot wired to the ESP32—
4CNot wired to the ESP32—
3CNot wired to the ESP32—
2CNot wired to the ESP32—
1CNot 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.