PinLab › Components

ESP32 components — pins and wiring

Every component for ESP32 projects: LEDs, sensors, motors, displays. For each one: how it works, every pin and where it connects.

ESP32-WROOM-32 ENVIN D233V3 USB

ESP32 DevKit V1

microcontroller with WiFi and Bluetooth
15 pins explained →
ae fj

Breadboard

wiring without soldering
4 pins explained →
male–male (M–M) for breadboard

Jumper wires

M–M, M–F, F–F
3 pins explained →
anode (+) long legcathode (−) flat side

LED

light-emitting diode 5 mm
2 pins explained →
red · red · brown · gold = 220 Ω ±5 % no polarity — either way round

Resistor

220 Ω, 1 kΩ, 10 kΩ…
2 pins explained →
− −+ 104 electrolyticceramic (100 nF)

Capacitor

ceramic and electrolytic
3 pins explained →
RGND (long)GB

RGB LED

three colours in one, common cathode
4 pins explained →
1234 1–3 and 2–4 areinternallyconnected

Push button

tactile switch 6×6 mm
2 pins explained →
B10K 12 (W)3

Potentiometer

10 kΩ variable resistor
3 pins explained →
PASSIVE + (S)−

Passive buzzer

piezo speaker
2 pins explained →
AM2302 VCCDATNCGND

DHT22 / AM2302

temperature and humidity sensor
4 pins explained →
TR VCCTrigEchoGND

HC-SR04

ultrasonic distance sensor
4 pins explained →
SIG5VGND SG90 micro servo

Servo motor SG90

motor with angle control 0–180°
3 pins explained →
SRD-05VDC NCCOMNO VCCGNDIN

Relay module 5 V

switch for big loads
6 pins explained →
T: 23.4 C H: 48 % GNDVCCSCLSDA 0.96″ 128×64 I2C

OLED display 0.96″ (SSD1306)

128×64 pixels, I2C
4 pins explained →
VCCOUTGND SxTx

PIR sensor HC-SR501

motion detector
3 pins explained →
no polarity

Photoresistor (LDR)

light sensor
2 pins explained →
OUT1/2OUT3/4 ENA IN1 IN2 IN3 IN4 ENB 12V GND 5V

L298N dual H-bridge

DC motor driver
8 pins explained →