Skip to content

Latest commit

 

History

History
24 lines (13 loc) · 847 Bytes

raspberry-pi-with-dht22-temperature-and-humidity-sensors.md

File metadata and controls

24 lines (13 loc) · 847 Bytes
description
for monitoring the eviroment of Raspberry Pi

Raspberry Pi with DHT22 Temperature and Humidity sensors

Requirements

  • Raspberry Pi wired DHT22, in this example, we use GPIO27-Pin#13 to connect DHT22, some examples are connected on GPIO4(Pin#7).

Raspberry Pi wired DHT22(connect the data wire on GPIO27-Pin#13)

The example flow(Get the temperature and humidity from DHT22)

Read Temperature and Humidity from Raspberry Pi with DHT22

{% hint style="info" %} The DHT22 outputs will be the temperature in msg.payload and the humidity in msg.humidity.

If you have many Raspberry Pi with DHT22, you can design a dashboard, to monitor the environment around the Rasp. {% endhint %}