ESP32 | Multiplexing I2C and AHT10 Sensors | ESP-IDF and VSCode | FULL PROJECT

Опубликовано: 18 Март 2026
на канале: CerroTec Labs
126
6

If you’re wondering how to read the temperature and humidity using a pair of AHT10 sensors then this video has got it covered.

It shows you how to multiplex the I2C bus using a TCA9548A I2C bus multiplexer, and to read the sensor values from 2 AHT10 sensors and output them to an OLED display using the i2c_master.h wrapper which wraps the low-level I2C functions.

This project builds on previous ESP32 projects – links below

Links
Measure Temperature and Humidity with a AHT10 Sensor:    • ESP32 | Measure Temperature and Humidity w...  
ESP-IDF and VSCode playlist:    • VSCode for ESP32 Development  

------------------------------------

BUY ME A COFFEE: 🍵https://buymeacoffee.com/cerrotec
PATREON:   / cerroteclabs  
BUSINESS ENQUIRIES: [email protected]

------------------------------------

Chapters
00:00 Introduction
00:17 Project aims
00:42 Example working project
01:03 Component block diagram
02:46 Development environment
03:16 Code the project
08:32 Exercises

------------------------------------

I will post content covering aspects of programming and developing using the ESP32 single board computer every week.

If you have any topics that you’d like me to cover, then please describe them in the comments below.

------------------------------------

I offer software engineering, business and technical analysis, and ESP32 consultancy services.

With over 30 years of experience in the industry I have plenty of experience in software development, project management and planning, electronics, embedded systems, systems and process control.

For business enquiries please use the email address above.