ESP32 SHTC3 Temperature and Humidity Sensor

SHTC3 Temperature and Humidity Sensor image

SHTC3

Protocol: I2C

Overview

The SHTC3 sensor offers precise temperature and humidity measurements in a compact and energy-efficient package. It is designed for low-power IoT applications and features Sensirion's CMOSens® technology for high accuracy and long-term stability.

About SHTC3 Temperature and Humidity Sensor

The SHTC3, developed by Sensirion, is a high-accuracy digital temperature and humidity sensor optimized for battery-powered applications. With its low power consumption and compact design, it is ideal for IoT devices, consumer electronics, and portable applications.

Key Features

  • Energy-Efficient – Designed for low-power operation, perfect for battery-driven devices.
  • High Accuracy & Stability – Delivers precise temperature and humidity readings.
  • I²C Communication – Seamless integration with ESP32, Arduino, and embedded systems.
  • Compact & Lightweight – Ideal for wearables, smart home devices, and portable monitoring systems.

With its low power consumption and high precision, the SHTC3 is an excellent choice for energy-efficient climate sensing applications. 🚀

Where to Buy

SHTC3 Temperature and Humidity Sensor

Starting from

$4 per unit

Amazon com
Amazon.com Ships worldwide
View Price
Amazon de
Amazon.de Ships to EU
View Price
Aliexpress
AliExpress Best value
View Price

Prices are subject to change. We earn from qualifying purchases as an Amazon Associate.

Technical Specifications

Operating Voltage 1.62V to 3.6V
Temperature Range -40°C to 125°C
Humidity Range 0% to 100% RH
Temperature Accuracy ±0.2°C
Humidity Accuracy ±2% RH
Interface I2C
Dimensions 2mm x 2mm x 0.75mm

Pinout Configuration

The VCC pin is used to supply power to the sensor, and it typically requires 3.3V or 5V (refer to the datasheet for specific voltage requirements). The GND pin is the ground connection and must be connected to the ground of your ESP32.

The SHTC3 pinout is as follows:

  • VDD: Power supply voltage (1.62V to 3.6V).
  • GND: Ground.
  • SDA: Serial Data Line for I2C communication.
  • SCL: Serial Clock Line for I2C communication.

Wiring with ESP32

To interface the SHTC3 sensor with an ESP32:
  • Connect VDD to the 3.3V pin on the ESP32.
  • Connect GND to the ground (GND) of the ESP32.
  • Connect SDA to the ESP32's GPIO21 (default I2C data pin).
  • Connect SCL to the ESP32's GPIO22 (default I2C clock pin).
  • Place pull-up resistors (10kΩ) between SDA and VDD, and SCL and VDD, to ensure reliable communication.

Troubleshooting Guide

Common Issues

🚫 Communication Failure with ESPHome

❓ Sensor Misidentified as SHTC1 in ESPHome

🔄 Intermittent I2C Communication with Multiple Device

❌ Initialization Failure After Microcontroller Reset

Debugging Tips

🔍 Serial Monitor

⚡ Voltage Checks

Code Examples

Arduino Example

C++
🔧

ESP-IDF Example

C++
🏠

ESPHome Example

YAML
🛠️

PlatformIO Example

C++
🐍

MicroPython Example

Python

Conclusion

The ESP32 SHTC3 Temperature and Humidity Sensor is a powerful environment sensor that offers excellent performance and reliability. With support for multiple development platforms including Arduino, ESP-IDF, ESPHome, PlatformIO, and MicroPython, it's a versatile choice for your IoT projects.

For optimal performance, ensure proper wiring and follow the recommended configuration for your chosen development platform.

Always verify power supply requirements and pin connections before powering up your project to avoid potential damage.