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
distance Sensors

A02YYUW
The A02YYUW is a waterproof ultrasonic distance sensor ideal for outdoor and industrial applications. With a measuring...

GY-530
The GY-530 is a breakout board for the VL53L0X Time-of-Flight (ToF) sensor from STMicroelectronics. It uses FlightSense...

HC-SR04
The HC-SR04 is a versatile ultrasonic distance sensor capable of measuring distances up to 4 meters with high precision....

JSN-SR04T
The JSN-SR04T is a waterproof ultrasonic distance sensor ideal for outdoor and industrial applications. With a measuring...

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

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

A7670
The A7670 is a versatile LTE Cat 1 module that provides reliable communication capabilities for various IoT...

SIM5320
The SIM5320 is a versatile 3G WCDMA/HSDPA module that provides reliable communication capabilities for various...

SIM7000
The SIM7000 is a versatile LTE CAT-M1/NB-IoT module that provides reliable communication capabilities for various IoT...

SIM7080G
The SIM7080G is a versatile LPWA module that provides reliable communication capabilities for various IoT applications....

SIM7600G / SIM7600E
The SIM7600G is a versatile LTE CAT1 module that provides reliable communication capabilities for various IoT...

SIM800A
The SIM800A is a versatile GSM/GPRS module that provides dual-band connectivity for voice, SMS, and data applications....
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₃)....
environment Sensors

AHT10
The AHT10 is an advanced, fully calibrated, and highly integrated temperature and humidity sensor that provides...

AHT20
The AHT20 datasheet provides comprehensive technical details about the AHT20 digital temperature and humidity sensor, a...

BME280
The BME280 is a compact digital sensor by Bosch Sensortec, designed for measuring temperature, humidity, and pressure...

BME680
The BME680 is a versatile environmental sensor capable of measuring air quality (VOCs), temperature, humidity, and...

BME688
The BME688 is a compact environmental sensor that measures temperature, humidity, barometric pressure, and gas...

BMP085
The BMP085 is a high-precision digital barometric pressure and temperature sensor, ideal for weather monitoring,...
Human Presence Sensors

C4001
The DFRobot C4001 is a compact, high-performance mmWave radar sensor supporting UART and I2C. It provides flexible...

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...
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...
servo Sensors

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

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...

PCA9685
The PCA9685 is a 16-channel, 12-bit PWM controller from NXP, widely used to control servos, LEDs, and other PWM devices....

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...
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...
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...