AHT10 Temperature and Humidity Sensor

AHT10 Temperature and Humidity Sensor image

View on Amazon

Overview

The AHT10 is an advanced, fully calibrated, and highly integrated temperature and humidity sensor that provides reliable, precise environmental measurements. Designed with cutting-edge CMOSens® technology, it offers high performance in a compact and energy-efficient package, making it ideal for various applications ranging from consumer electronics to industrial monitoring systems.

About AHT10 Temperature and Humidity Sensor

The AHT10 is the first sensor in the AHT series, developed by AOSONG (Aosong Electronics Co., Ltd.). It offers moderate accuracy in temperature and humidity measurements, making it a budget-friendly choice for various environmental monitoring applications.

Key Features

  • Affordable & Reliable – A cost-effective option for basic climate sensing.
  • Digital Output – Communicates via I²C interface for easy integration.
  • Compact & Energy-Efficient – Suitable for IoT, smart home, and weather monitoring.

🔗 Learn more about the AHT10 sensor.
🔗 Check out the AHT20 sensor for an upgraded version with higher accuracy.
🔗 Explore a real-world project using the AHT10 in our IKEA Vindriktning Air Quality Sensor guide.

Where to Buy

Get Your AHT10

AHT10 Temperature and Humidity Sensor

Starting from

1$ per unit

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

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

Technical Specs

AHT10 Specifications

Complete technical specification details for AHT10 Temperature and Humidity Sensor

📊 Technical Parameters

Interface I2C
Accuracy ±2% RH, ±0.3 °C
Operating Range -40°C to 85°C, 0–100% RH
Voltage 1.8V to 3.6V (typical 3.3V)
Pin Configuration

AHT10 Pinout

The AHT10 pinout includes four pins: VCC (power), GND (ground), SDA (I2C data), and SCL (I2C clock). The sensor provides digital temperature and humidity measurements via I2C protocol.

Visual Pinout Diagram

Pinout Diagram Primary
AHT10 Temperature and Humidity Sensor pinout
4
Total Pins

Pin Types

Power
1

Quick Tips

First

sensor in AHT series by AOSONG Electronics,Temperature accuracy: ±0.3°C,Humidity accuracy: ±2% RH

Operating

voltage: 3.3V to 5V,I2C address: 0x38 (fixed),Compact and energy-efficient design

Digital

output with I2C interface,Budget-friendly option for basic climate sensing

Pin Descriptions

Pin NameTypeDescriptionNotes
1 VCC
Power

Power supply input (3.3V to 5V)

Typically 3.3V for ESP32

2 GND
Ground

Ground connection

Common ground

3 SDA
I2C Data

I2C Serial Data line

Bidirectional data (requires pull-up)

4 SCL
I2C Clock

I2C Serial Clock line

Clock signal (requires pull-up)

Connection Guide

Wiring AHT10 to ESP32

Connect the AHT10 to your ESP32 via I2C (SDA and SCL pins). The sensor operates at 3.3V or 5V and provides factory-calibrated temperature and humidity readings. Pull-up resistors (typically 4.7kΩ) are required on I2C lines.

Visual Wiring Diagram

Wiring Diagram Recommended
AHT10 Temperature and Humidity Sensor wiring with ESP32
4
Connections

Connection Status

Required
4

Protocol

I2C

Pin Connections

AHT10 PinConnectionESP32 PinDescription
1 VCC Required
3.3V

Power supply (3.3V or 5V)

2 GND Required
GND

Ground connection

3 SDA Required
GPIO21

I2C data line (with 4.7kΩ pull-up)

4 SCL Required
GPIO22

I2C clock line (with 4.7kΩ pull-up)

I2C

address: 0x38 (fixed, not configurable)

Pull-up

resistors (4.7kΩ) required on SDA and SCL

Most

modules include pull-up resistors on board

Factory

calibrated - no user calibration needed

Position

away from heat sources for accurate readings

Multiple

AHT10 sensors cannot share same I2C bus (fixed address)

Use

I2C multiplexer (e.g., TCA9548A) for multiple sensors

Budget-friendly

alternative to AHT20 and AHT21

Lower

accuracy than AHT20 but sufficient for most applications

Ideal

for IoT, smart home, and weather monitoring projects

Help & Support

AHT10 Troubleshooting

Common issues and solutions to help you get your sensor working

Common Issues

Debugging Tips

Code Examples

AHT10 Programming Examples

Ready-to-use code examples for different platforms and frameworks

Summary

Wrapping Up AHT10

The ESP32 AHT10 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.

Best Practices

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

Safety First

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

Ready to Start Building?

Now that you have all the information you need, it's time to integrate the AHT10 into your ESP32 project and bring your ideas to life!