Interfacing PIC16F887 with DHT11 sensor – CCS C compiler

This mini project shows the interfacing of PIC16F887 microcontroller with DHT11 (RHT01) digital humidity and temperature sensor.

In this post I’m not going to give any details about the DHT11 sensor because every thing is in the datasheet of the device which can be downloaded from the following link:
DHT11 Datasheet Download

Hardware Required:

  • PIC16F887 Microcontroller
  • DHT11 Sensor
  • 1602 LCD screen
  • 10K Potentiometer
  • 4.7K ohm resistor
  • 0.1µF Ceramic capacitor (Optional but recommended)
  • +5V Power source
  • Breadboards
  • Jumper wires

PIC16F887 DHT11 sensor hardware circuit

Interfacing PIC16F887 with DHT11 digital sensor circuit:
Project circuit diagram is below.

PIC16F887 DHT11 sensor interfacing circuit

The internal oscillator of the microcontroller is used and MCLR pin function is disabled.

Interfacing PIC16F887 with DHT11 sensor CCS C code:
Reading the datasheet of the DHT11 sensor is recommended for understanding the source code.

DHT11 With PIC16F887 microcontroller simulation video:

Source code, hex and Proteus simulation files can be downloaded from the following link.
Download


Discover more from Simple Circuit

Subscribe to get the latest posts sent to your email.

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top