Figure 2. Connection diagram of the motion sensor
The DHT-22 sensor is used to control the tempera-
ture and humidity in the classroom (Fig.3).
The sensor consists of two parts – a capacitive tem-
perature sensor and a hygrometer. The first is used to
measure temperature, the second is for air humidity. The
chip inside can perform analog-to-digital conversions
and output a digital signal that is read by the microcon-
troller [1].
The DHT22 temperature and humidity sensor have
one digital output, so you can take readings no more of-
ten than once every 1-2 seconds.
Do'stlaringiz bilan baham: |