Logic level converter 4 channels (BSS138) with ESP32

Supply 3.3 V Bus GPIO
LV1LV2LVGNDLV3LV4HV1HV2HVGND2HV3HV4

Pins and ESP32 wiring

PinRoleESP32 pinNotes
LV1Not wired to the ESP32—Low-voltage (3.3 V) side, channel 1. Bidirectional: to an ESP32 GPIO
LV2Not wired to the ESP32—Low-voltage side, channel 2
LVPower3V33V3
GNDGroundGND
LV3Not wired to the ESP32—Low-voltage side, channel 3
LV4Not wired to the ESP32—Low-voltage side, channel 4
HV1Not wired to the ESP32—High-voltage (5 V) side, channel 1
HV2Not wired to the ESP32—High-voltage side, channel 2
HVNot wired to the ESP32—5 V: to VIN or the 5 V supply
GND2GroundGNDSecond GND pad on the high-voltage side
HV3Not wired to the ESP32—High-voltage side, channel 3
HV4Not wired to the ESP32—High-voltage side, channel 4. Slow edges: fine for I2C, too slow for WS2812

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.