Friday, January 20, 2012

DHT11 sensor protocol and its interface with PIC microcontroller

DHT11 is the most inexpensive calibrated digital sensor currently available in the market for measuring relative humidity and temperature together. However, it has got its own proprietary 1-wire protocol which makes it little challenging to interface with microcontrollers. Raj from Embedded Lab shows how to implement this protocol in the firmware of PIC microcontroller so that the temperature and relative humidity information can be retrieved from the sensor.

The microcontroller used for demonstration is PIC16F628A and the results are displayed on a 16X2 character LCD.


Post a Comment