Sensors Compatible with ESP32
Discover the perfect sensors for your ESP32 projects, complete with wiring guides and code examples.
This guide is all about sensors that work perfectly with the ESP32! From temperature and humidity to motion, light, and gas sensors, you'll find a variety of options to add real-world interaction to your projects. The ESP32's built-in Wi-Fi and Bluetooth make it ideal for IoT projects, smart homes, and wireless monitoring setups, and pairing it with the right sensors opens up endless possibilities.
Each sensor listing includes detailed schematics, wiring instructions, and pinouts to make connections straightforward. You'll also find full technical specifications and example code tailored for multiple platforms - Arduino IDE, ESP-IDF, ESPHome, PlatformIO and MicroPython - so you can easily integrate each sensor into your preferred development environment.
Sensor Types
Protocols
environment Sensors

HTE501
The E+E HTE501 is a digital humidity and temperature sensor designed for high accuracy in demanding environments....

DHT11
The DHT11 is a low-cost digital sensor for measuring temperature and humidity. It provides calibrated digital outputs...

DHT20
The DHT20 is a high-precision digital temperature and humidity sensor with an I²C interface. It features low power...

DHT21 / AM2301A
The DHT21 is a reliable sensor for measuring temperature and humidity, offering calibrated digital output and ease of...

DHT22 / AM2302
The DHT22 is a versatile and affordable sensor for measuring temperature and humidity. It provides calibrated digital...

MW33
The MW33 module is a reliable solution for measuring temperature and humidity, offering calibrated digital output and...
Air Quality Sensors

AGS10
The AGS10 is a gas sensor known for detecting a range of gases, including methane, propane, and hydrogen. Designed with...

CCS811
The CCS811 is a digital gas sensor for monitoring indoor air quality. It measures levels of Total Volatile Organic...

ENS160
The ENS160 is a digital MOX gas sensor optimized for indoor air quality monitoring. It provides accurate measurements of...

GP2Y1010AU0F
The Sharp GP2Y1010AU0F is an optical dust sensor designed for air quality monitoring. It detects fine particles like...

MH-Z19
The MH-Z19 is a high-accuracy CO₂ sensor using NDIR technology, suitable for air quality monitoring. It supports UART...

MiCS-4514
The MiCS-4514 is a dual gas sensor capable of detecting oxidizing gases (e.g., NO₂) and reducing gases (e.g., CO, NH₃)....
servo Sensors

General Servo
<p>PWM servos are controlled using Pulse Width Modulation signals to adjust their position or speed. They are widely...

PCA9685
The PCA9685 is a 16-channel, 12-bit PWM controller designed for LED and servo motor control applications. It operates...

SG90
The SG90 is a compact micro servo motor ideal for robotics and DIY projects. Operating on 4.8V to 6V, it delivers 1.8...

MG90S
The MG90S is a robust micro servo motor designed for robotics and DIY projects. Operating on 4.8V to 6V, it provides up...

mg996r
The MG996R is a high-torque servo motor ideal for robotics and demanding DIY projects. Operating on 4.8V to 7.2V, it...
distance Sensors

TOF200C
The TOF200C is a compact, low-cost laser-ranging sensor based on the VL53L0X time-of-flight chip from...

TOF050C
The TOF050C is a short-range laser-ranging sensor using the VL6180 chip, offering highly accurate distance measurements...

TOF400C
The TOF400C is a long-range laser-based time-of-flight (ToF) sensor based on the VL53L1X chip from STMicroelectronics....

TOF10120
The TOF10120 is an advanced, high-performance laser distance sensor that uses time-of-flight technology to measure...

VL53L0X
The VL53L0X is an advanced Time-of-Flight distance sensor offering accurate, laser-based measurements over a range of 30...

VL53L1X
The VL53L1X is a high-accuracy long-distance laser-ranging sensor from STMicroelectronics. It uses a 940nm VCSEL emitter...
RTC Sensors

DS1302
The DS1302 is a cost-effective real-time clock module designed for accurate timekeeping. It operates on a 3-wire serial...

DS1307
The DS1307 is a widely used real-time clock module with I2C communication. It supports leap year compensation,...

DS3231 / AT24C32
The DS3231 is a highly accurate I²C real-time clock with an integrated temperature-compensated crystal oscillator,...

PCF8563
The PCF8563 is a low-power real-time clock/calendar with I2C interface, offering timekeeping functions, programmable...
SIM Sensors

SIM800L
The SIM800L is a GSM/GPRS communication module that supports voice, SMS, and data transmission. It is ideal for IoT...

SIM800C
The SIM800C is a versatile GSM/GPRS module that provides quad-band connectivity for voice, SMS, and data applications....

SIM800A
The SIM800A is a versatile GSM/GPRS module that provides dual-band connectivity for voice, SMS, and data applications....

SIM808
The SIM808 is a versatile GSM/GPRS module with integrated GPS functionality, providing quad-band connectivity for voice,...

SIM868
The SIM868 is a versatile GSM/GPRS module with integrated GNSS functionality, providing reliable communication and...

SIM900 / SIM900A
The SIM900 is a versatile GSM/GPRS module that provides reliable communication capabilities for various applications....
NFC Sensors

PN532
The PN532 NFC module provides a powerful and flexible platform for integrating NFC and RFID capabilities into your...

RC522
The RC522 RFID/NFC module offers an affordable and reliable solution for integrating NFC and RFID functionality into...

RDM6300
The RDM6300 is a simple and reliable 125kHz RFID reader module suitable for a wide range of identification and access...
KY-0xx module Sensors

KY-001
The KY-001 is a temperature sensor module that operates within a wide temperature range. It supports 1-Wire...

KY-002
The KY-002 is a vibration switch module that detects shocks and vibrations through a conductive spring mechanism. Upon...

KY-003
The KY-003 is a Hall Magnetic Sensor Module that detects magnetic fields using the A3144 Hall-effect sensor. It provides...

KY-004
The KY-004 is a key switch module equipped with a tactile push-button. It provides a digital output signal when pressed,...

KY-005
The KY-005 is an infrared transmitter module that emits infrared light at a wavelength of 940 nm. It is commonly used in...

KY-006
The KY-006 is a passive piezoelectric buzzer module that produces sound when driven by a PWM signal. It is ideal for...
Human Presence Sensors

LD2410
The LD2410 is a millimeter-wave radar sensor for human presence detection, supporting both stationary and moving target...

LD2410B
The LD2410B is a millimeter-wave radar sensor for human presence detection with enhanced Bluetooth-based configuration...

LD2410C
The LD2410C is a millimeter-wave radar sensor for human presence detection, supporting both stationary and moving target...

LD2410S
The LD2410S is an ultra-low-power 24GHz mmWave radar sensor for human presence detection, supporting both stationary and...

LD2411S
The LD2411S is a 24GHz mmWave radar sensor for human presence detection, supporting both motion and micro-motion...

LD2412
The LD2412 is a wide-angle 24GHz mmWave radar sensor that detects human presence via FMCW. It supports both UART and...