Interfacing dht11 temperature and humidity sensor with the arduino. This is just the basic code to get the dht11 to spurt out data.
REQUIRES the following Arduino libraries:
- DHT Sensor Library: https://github.com/adafruit/DHT-sensor-library
- Adafruit Unified Sensor Lib: https://github.com/adafruit/Adafruit_Sensor
Expected Ouptut:
More about dht11 and how to interface it with arduino: https://lastminuteengineers.com/dht11-module-arduino-tutorial/
Datasheet: https://lastminuteengineers.com/datasheets/dht11-datasheet.pdf