Sensors/ I2C

ESP32 I2C Sensors

Every I2C sensor in the catalog, all wired and coded for the ESP32.

45 sensors Wiring diagrams Code for 5 frameworks
ESP32 quick facts SDA GPIO21SCL GPIO223.3V logicaddresses listed on every sensor page

All I2C sensors

45 sensors
AGS10 SensorAGS10 Sensor Air Quality → AHT10 Temperature and Humidity SensorAHT10 Temperature and Humidity Sensor Environment$1 → AHT20 Temperature and Humidity SensorAHT20 Temperature and Humidity Sensor Environment$4 → BME280 Temperature and Humidity SensorBME280 Temperature and Humidity Sensor Environment$7 → BME680 Environmental SensorBME680 Environmental Sensor Environment$15 → BME688 Environmental SensorBME688 Environmental Sensor Environment → BMP085 Barometric Pressure SensorBMP085 Barometric Pressure Sensor Environment → BMP180 Barometric Pressure SensorBMP180 Barometric Pressure Sensor Environment → BMP280 Barometric Pressure and Temperature SensorBMP280 Barometric Pressure and Temperature Sensor Environment$1 → BMP388 / CJMCU-388 Barometric Pressure SensorBMP388 / CJMCU-388 Barometric Pressure Sensor Environment → DFRobot C4001 mmWave Presence SensorDFRobot C4001 mmWave Presence Sensor Human Presence$19 → CCS811 Digital Gas SensorCCS811 Digital Gas Sensor Air Quality$12 → DHT20 Temperature and Humidity SensorDHT20 Temperature and Humidity Sensor Environment → DS1307 Real-Time Clock (RTC)DS1307 Real-Time Clock (RTC) RTC$2.50 → DS3231 / AT24C32 Real-Time Clock (RTC)DS3231 / AT24C32 Real-Time Clock (RTC) RTC$3.50 → ENS160 Digital Metal-Oxide Multi-Gas SensorENS160 Digital Metal-Oxide Multi-Gas Sensor Air Quality$10 → GY-530 VL53L0X Time-of-Flight SensorGY-530 VL53L0X Time-of-Flight Sensor Distance$2.50 → HDC1080 / GY-213V-HDC1080 Temperature and Humidity SensorHDC1080 / GY-213V-HDC1080 Temperature and Humidity Sensor Environment$5 → HTE501 Temperature and Humidity SensorHTE501 Temperature and Humidity Sensor Environment → KY-052 Pressure and Temperature Sensor ModuleKY-052 Pressure and Temperature Sensor Module KY-0xx module$3 → KY-053 Analog Digital Converter ModuleKY-053 Analog Digital Converter Module KY-0xx module$3 → PCA9685 16-Channel 12-bit PWM/Servo DriverPCA9685 16-Channel 12-bit PWM/Servo Driver Servo$7 → PCF8563 Real-Time Clock (RTC)PCF8563 Real-Time Clock (RTC) RTC$2 → PN532 NFC ModulePN532 NFC Module NFC$8 → RC522 RFID/NFC ModuleRC522 RFID/NFC Module NFC$3 → SCD41 CO2 Temperature and Humidity SensorSCD41 CO2 Temperature and Humidity Sensor Environment$50 → SHT20 Temperature and Humidity SensorSHT20 Temperature and Humidity Sensor Environment$5 → SHT21 / HTU21 / GY-21 / SI7021 Temperature and Humidity SensorSHT21 / HTU21 / GY-21 / SI7021 Temperature and Humidity Sensor Environment$5 → SHT25 Temperature and Humidity SensorSHT25 Temperature and Humidity Sensor Environment$15 → SHT30 Temperature and Humidity SensorSHT30 Temperature and Humidity Sensor Environment$5 → SHT31 / SHT31-D / GY-SHT31 / SI7021 Temperature and Humidity SensorSHT31 / SHT31-D / GY-SHT31 / SI7021 Temperature and Humidity Sensor Environment$6 → SHT35 Temperature and Humidity SensorSHT35 Temperature and Humidity Sensor Environment$10 → SHT40 Temperature and Humidity SensorSHT40 Temperature and Humidity Sensor Environment → SHT41 / SHT41-D / GY-SHT41-D Temperature and Humidity SensorSHT41 / SHT41-D / GY-SHT41-D Temperature and Humidity Sensor Environment$10 → SHT45 Temperature and Humidity SensorSHT45 Temperature and Humidity Sensor Environment → SHT85 Temperature and Humidity SensorSHT85 Temperature and Humidity Sensor Environment$34 → SHTC3 Temperature and Humidity SensorSHTC3 Temperature and Humidity Sensor Environment$4 → TOF050C Time-of-Flight SensorTOF050C Time-of-Flight Sensor Distance$2.10 → TOF10120 Laser Distance (Time of Flight) SensorTOF10120 Laser Distance (Time of Flight) Sensor Distance$10 → TOF200C Time-of-Flight SensorTOF200C Time-of-Flight Sensor Distance$2 → TOF400C Time-of-Flight SensorTOF400C Time-of-Flight Sensor Distance$4.80 → VL53L0X Time-of-Flight Distance SensorVL53L0X Time-of-Flight Distance Sensor Distance$5 → VL53L0X V2 Time-of-Flight SensorVL53L0X V2 Time-of-Flight Sensor Distance$2.64 → VL53L1X Time-of-Flight SensorVL53L1X Time-of-Flight Sensor Distance$3.50 → VL6180X Time-of-Flight SensorVL6180X Time-of-Flight Sensor Distance$1.15 →

I2C on the ESP32

I2C (Inter-Integrated Circuit) is a widely used, two-wire communication protocol ideal for connecting multiple sensors and peripherals to your ESP32 or Arduino boards. It uses only two lines - SDA (data) and SCL (clock)

I2C is the go-to choice for modules like temperature sensors (e.g., BME280), OLED displays, and RTC modules. Both ESP32 and Arduino support I2C natively, and popular libraries like Wire.h or TwoWire make setup easy in the Arduino IDE.

With addressable devices, you can connect multiple I2C modules on the same bus, simplifying wiring in complex systems.

At a glance
In the catalog45 sensors
Top categoryEnvironment (24)
Addresseson each sensor page
Address clashTCA9548A mux