PIC16F877A With DHT11 sensor and ST7735 TFT – CCS C

Interfacing PIC16F877A with DHT11 sensor and ST7735R SPI color TFT display
PIC16F877A ST7735 TFT DHT11 sensor hardware circuit

This post shows how to interface PIC16F877A microcontroller with DHT11 relative humidity and temperature sensor and 1.8″ ST7735R SPI TFT display.
DHT11 sensor is a digital device used to sense relative humidity and temperature and convert that data into digital signals. For more details about this type of sensors and how to interface it with PIC16F877A microcontroller see the following two topics:
Interfacing PIC16F877A with DHT11 (RHT01) sensor Proteus simulation
Interfacing DHT11 relative humidity and temperature sensor with PIC16F877A

And to see how to interface PIC16F877A with ST7735 SPI TFT display read the following topic:
ST7735 1.8″ TFT display with PIC16F877A example

Components List:

  • PIC16F877A Microcontroller
  • ST7735R SPI TFT Display
  • DHT11 (RHT01) Sensor
  • 8MHz Crystal oscillator
  • 2 x 22pF Capacitors
  • 10K Resistor
  • 4.7K Resistor
  • 5 x 1K Resistors
  • +5V Power Supply Source
  • Breadboard
  • Jumper Wires

PIC16F877A With DHT11 sensor and ST7735 SPI TFT circuit:

PIC16F877A ST7735 TFT DHT11 sensor interfacing circuit

PIC16F877A With DHT11 sensor and ST7735 SPI TFT CCS C code:
PIC16F877A hardware SPI module is used in this project..
ST7735 SPI TFT driver is required to compile this code, download link in this topic:
ST7735 SPI TFT Display Driver for CCS PIC C compiler
The code is has been tested with versions 4.068 and 5.051.

PIC16F877A With DHT11 sensor and ST7735 SPI TFT video:
This video shows a simple hardware circuit of this project.

Leave a Reply

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