Tag: AHT20 Raspberry Pi

1 articles found.

Raspberry Pi 5 Climate Monitor with TCA9548A - Proteus Simulation

Raspberry Pi 5 Climate Monitor with TCA9548A - Proteus Simulation: the Raspberry Pi 5, the TCA9548A, four AHT20 sensors and the HT16K33 display

Hello friends, I hope you all are doing great. Today, I am going to share the Raspberry Pi 5 Climate Monitor with TCA9548A - Proteus Simulation, the ninety-sixth project of our IoT Projects series. If you have searched for how to use several I2C sensors with the same address, a TCA9548A with a Raspberry Pi, a multi-room temperature and humidity monitor, or an HT16K33 14-segment display in Python, here is a complete one in a Proteus simulation. Sooner or later every I2C project hits the same wall: you want four sensors, and all four have the same address burned into the chip. This project watches four rooms, the living room, the bedroom, the bathroom and the freezer, each with an AHT20 temperature and humidity sensor at the fixed address 0x38. A TCA9548A I2C multiplexer sits between the Raspberry Pi 5 and the sensors and connects one of them at a time. The Pi reads every room every two seconds, checks each reading's CRC, works out the dew point and watches for trouble: the bathroom so humid that mould can grow, the freezer warming up, a room too hot or too cold. An HT16K33 14-segment display shows each room in turn and blinks on an alarm until someone acknowledges it from the dashboard. In this tutorial, we will go through the circuit, why I2C addresses clash and how a multiplexer solves it, the AHT20's measurement and its CRC, the dew point, the HT16K33's segments, and the code. Then we take a shower in the bathroom and leave the freezer door open in the simulation. At the ...