MPU6050 — Gyroscope / Accelerometer
I2C · 0x68 · 3.3V · AD0 → GND sets address · Shared bus
I2C
0x68
Using a breakout module? The blue PCB already includes the 4.7 kΩ pull-up resistors and 100 nF cap. You only need 4 wires: VCC, GND, SDA, SCL.
MAX30100 / MAX30102 — SpO₂ + Heart Rate
I2C · 0x57 · 3.3V · LED current spikes require a 10 µF bulk capacitor
I2C
⚠ 10µF
⚠ 10 µF capacitor is critical. The IR and Red LEDs draw burst currents — without this cap, the 3.3V rail dips causing resets or corrupt readings. Place it as close to VCC as possible.
MLX90614 / HW-691 — IR Thermal Sensor
I2C · 0x5A · 3.3V · HW-691 breakout includes built-in pull-up resistors
I2C
Pull-ups built-in
HW-691 module users: Only 4 wires needed — VCC, GND, SDA, SCL. For the bare TO-39 IC, add external 4.7 kΩ pull-ups. TO-39 pin order (flat up, anti-clockwise): Pin 1 = SCL, Pin 2 = GND, Pin 3 = SDA, Pin 4 = VDD.
Generic IR Sensor Module
Digital OUT · FC-51 / TCRT5000 / KY-032 · Verify supply voltage before wiring
Digital
Check voltage!
Identify 5V vs 3.3V: Check PCB silkscreen for voltage label. Modules with an LM393 comparator are usually 5V. A 5V signal direct to an ESP32 GPIO will damage the MCU over time.
LDR — Light Dependent Resistor
Analog ADC · GPIO35 · 10 kΩ voltage divider mandatory · No polarity
ADC · GPIO35
10kΩ divider
The 10 kΩ resistor is mandatory. Without it GPIO35 floats and returns random ADC values. The LDR and 10 kΩ form a voltage divider — more light = lower LDR resistance = higher junction voltage = higher ADC reading.
A3144 — Hall Effect Sensor
Digital GPIO · GPIO25 · 5V supply · Open-collector output · Pull-up required
Digital · GPIO25
10kΩ pull-up
5V
Open-collector output: A3144 OUT is active-LOW — it pulls to GND when a magnetic field is detected. The 10 kΩ pull-up to 3.3V ensures a defined HIGH state when no field is present. The sensor itself runs on 5V, but the 10 kΩ pull-up to 3.3V means the ESP32 GPIO reads 3.3V logic safely. Add a 100 nF decoupling cap between VCC and GND close to the sensor.