
Hello friends, I hope you all are doing great. Today, I am going to share the new AHT20 Sensor Library for Proteus V1.0. The AHT20 is the small I2C temperature and humidity sensor that has replaced the DHT11 in many new designs: it is more accurate, it answers on the I2C bus in a fraction of a second, and it costs about the same. It often comes on a combo board with the BMP280 pressure sensor, which makes a complete weather station on four wires. Now you can build and test those projects in Proteus, with the blue AHT20 module and the purple AHT20 + BMP280 module. Behind the parts sit our own models, not parts that show a number. The AHT20 answers the Arduino exactly as its datasheet says: the status byte with the busy bit, the 80 ms measurement, the 20-bit values and the CRC-8. On the combo board the BMP280 sits on the same I2C bus with its chip ID, its calibration words and its modes, and the Adafruit library turns its raw values back into the air pressure. You get four devices: both modules as a Simple device with a live STATUS panel and the air's controls, and as an Advance device with a pop-up window and the test tools. The demo runs the Adafruit AHTX0 library and the Adafruit BMP280 library on our Arduino UNO V4.0. NOTICE: a weather sensor is easy to fake: read a number from a property and hand it to the Arduino. We wanted more. Our AHT20 measures for 80 ms, sets its busy bit, packs its 20-bit values and computes its CRC, and our BMP280 hands out raw values that only its ...








