Professional Documents
Culture Documents
Lab 4 - Using LCD and Sensor Module
Lab 4 - Using LCD and Sensor Module
Students are responsible for submitting the final report by the stated deadline for full
marks. Late submissions will NOT be accepted.
Learning Objective: At the end of this Lab, students will be able to:
NOTE: The final report should be written in English and submitted with the
programming source files (if any).
- Good luck -
1
IUH. Lecturer – Le Ngoc Tran, Ph.D.
Hardware Requirement
# Device Quantity
1 Arduino Board 1
2 BreadBoard 1
3 LED 1
4 Resistor 220Ω, 1k 3
5 Arduino USB connector 1
6 Jumper Wires (male, female) 10
7 LCD 1
8 Temperature/Humidity sensor (DHT11) 1
9 Motion sensor (PIR) 1
Software Requirement
# Software Quantity
1 Arduino IDE 1
2 Fritzing tool 1
3 Visual Studio 2013 1
Report Requirement
1. Submit the Arduino source code
2. Final report (word): include the circuit diagram (by Fritzing tool) and the photo
taken when the circuit is running
2
IUH. Lecturer – Le Ngoc Tran, Ph.D.
3
IUH. Lecturer – Le Ngoc Tran, Ph.D.
Hardware requirements
# Device Quantity
1 Arduino Board 1
2 BreadBoard 1
3 LED 1
4 Resistor 220Ω 1
5 USB connector 1
6 Jumper Wires many
Procedure
4
IUH. Lecturer – Le Ngoc Tran, Ph.D.
2. Write the code to read the values of temperature and humidity from sensor and
display these vaules in Serial Monitor or your own written program
Reference:
http://tae.vn/cam-bien-nhiet-do-va-do-am-dht11
Hardware requirements
# Device Quantity
1 Arduino Board 1
2 BreadBoard 1
3 Motion sensor (PIR) 1
4 Resistor 220Ω 1
5 USB connector 1
6 Jumper Wires 10
5
IUH. Lecturer – Le Ngoc Tran, Ph.D.
Experiment Procedure
3. Adjust the button on PIR sensor to test the distance and delay time for motion
detection of PIR
6
IUH. Lecturer – Le Ngoc Tran, Ph.D.
Reference:
http://tae.vn/cam-bien-chuyen-dong-pir
Hardware requirements
# Device Quantity
1 Arduino Board 1
2 BreadBoard 1
3 LCD 1602/1604 1
4 Resistor 220Ω 2
5 USB connector 1
6 Jumper Wires 10
Procedure
Reference:
http://arduino.vn/bai-viet/531-dieu-khien-lcd-bang-arduino-uno
http://tae.vn/i2c-adapter-cho-lcd-1602-1604
http://tae.vn/man-hinh-lcd-1602-green-blue
Hardware requirements
7
IUH. Lecturer – Le Ngoc Tran, Ph.D.
# Device Quantity
1 Arduino Board 1
2 BreadBoard 1
3 DHT11 (temperature sensor) 1
4 Resistor 220Ω 2
5 USB connector 1
6 Jumper Wires 10
7 LCD 1
Reference:
http://arduino.vn/bai-viet/91-doc-nhiet-do-do-am-va-xuat-ra-man-hinh-lcd
Procedure
Task 5 – Building a Monitoring System (Collect data and display on your website)
Procedure
Reference:
http://arduino.vn/tutorial/1483-huong-dan-xay-dung-he-thong-giam-sat-qua-internet-don-
gian