85
Lesson 35 Intelligent Environment Monitoring
Introduction
In this lesson, we will use a humiture sensor module, a DS18B20 module, an infrared receiver
module, a high-sensitive voice sensor module, a photoresistor module, an analog-hall sensor
module, an LCD1602 and a remote control to build an intelligent environment monitoring
system.
Components
-
1 * SunFounder Uno board
- 1 * USB data cable
- 1 * DHT11 Humiture Sensor module
- 1 * DS18B20 module
- 1 * Infrared Receiver module
- 1 * Remote Control
- 1 * High-sensitive Voice Sensor module
- 1 * Photoresistor module
- 1 * Analog Hall Sensor module
- 1 * LCD1602
- Several jumper wires
Experimental Principle
After power on, when you press the
Power
key, "
Environment Monitor Begin:
" will be displayed
on the LCD. Press digital 1 key and it will display "
DS18B20
" and the current temperature; press
digital 2 key and it will display "
DHT11
" and the current humidity; press digital 3 key and it will
display "
Big Sound
" and the current sound level; press digital 4 key and it will display "
Light
Sensor
"
and the current light intensity; press digital 5 key and it will display "
Analog Hall
" and
the current magnetic field intensity; if you press digital 6 key, the display will exit and stop.
Experimental Procedures
Step 1:
Build the circuit
LCD1602 Connection
: connect pin RS to D12; R/W to GND; E to D11; D4~D7 to D10, D9, D8,
and D7; VSS to GND; VDD to 5V; A to 3.3V; K to GND
Infrared Receiver module connection
: connect pin S to D3, pin - to GND, and + to 5V
DS18B20 module connection
: connect pin S to D2, pin - to GND, and + to 5V
DHT11 Humiture Sensor module connection
: connect pin S to D4, pin - to GND, and + to 5V
High-sensitive Voice Sensor module connection
: connect pin A0 to analog port A0, pin - to
GND, and + to 5V
SunFounder