#301 DHT11 Basics
Test basic temperature and humidity readings with the DHT11 sensor.
Notes
The DHT11 sensor is a very cheap and common sensor that provides readings of:
- relative humidity: 20-80% ±5%
- temperature: 0-50°C ±2°C
Communications
The DHT11 uses a single-wire two-way communications protocol.
For a first test, I’m using a simple DHT11 library from the arduino playground. Adafruit have support for the DHT11 within their sensor framework; I’ll try that another time.
Test Output
The Basic.ino sketch simply outputs current readings to the console:
Construction
Credits and References
- DHT11Lib - library on the arduino playground
- DHT11 Humidity & Temperature Sensor - D-Robotics UK
- DHTxx Sensors Guide - adafruit
- ..as mentioned on my blog