Using a Humidity and Temperature Sensor using Raspberry Pi 4 B

Aim

The goal of this activity is to connect a temperature and humidity sensor to Raspberry Pi 4 B and display the surrounding temperature and humiditY.

Materials Required

  1. Raspberry Pi 4 B -1    
  2. DHT11 Temperature Sensor -1
  3. I2C Display Module– 1       
  4.  LCD 1602 Display – 1     
  5. Several Jumper Wires   
  6. Micro USB Cable-1                                       

     

Wiring Diagram

Desired Outcome

The sensor detects the surrounding temperature and displays it in the display unit. Try to see if you can alter the surrounding temperature by various means. The DHT11 sensor should detect the new temperature reading and the display unit will show the new value.