
Hello friends, I hope you all are doing great. Today, I am going to share the new DHT11 / DHT22 Library for Proteus V1.0. The DHT11 and the DHT22 are the temperature and humidity sensors of almost every first weather station, greenhouse, incubator and smart home project. They are cheap, they need only one data wire, and the Adafruit library reads them in two lines of code. Now you can build and test them in Proteus, on the small 3-pin modules most of us buy. Behind the parts sits our own model, not a part that shows a number. It speaks the sensors' real single-wire protocol: it waits for the Arduino's start signal, measures how long DATA was held LOW, answers with LOW and HIGH pulses and sends 40 bits, each timed like the datasheet's, with the checksum. It also behaves like the real sensors where they surprise people: it sends its last measurement, it does not answer when asked too often, and a DHT11 cannot measure below 0 C. You get four devices: the DHT11 module and the DHT22 (AM2302) module, each as a Simple device with a live STATUS panel and air controls, and as an Advance device with a pop-up window and three test tools. The demo runs the Adafruit DHT sensor library on our Arduino UNO V4.0. NOTICE: a DHT library is easy to fake: read the number from a property and hand it to the Arduino. We wanted more. Our sensors answer the real start signal with the real pulses, so the Adafruit library reads them exactly as on your desk, and the classic mistakes fail exactly as they ...








