100% found this document useful (1 vote)
1K views

ITT270 (Report)

The document summarizes a student group's motion detector project using an Arduino board. The project uses an infrared sensor to detect motion and sends a notification to the homeowner's phone via Blynk. This allows the homeowner to know if someone enters their home without permission even if they are not present. The group's solution includes the sensor code, truth table, and logic circuit diagram. They conclude the project improves home security whether occupants are home or not through the simple, cost-effective design.

Uploaded by

Adib Afham
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
1K views

ITT270 (Report)

The document summarizes a student group's motion detector project using an Arduino board. The project uses an infrared sensor to detect motion and sends a notification to the homeowner's phone via Blynk. This allows the homeowner to know if someone enters their home without permission even if they are not present. The group's solution includes the sensor code, truth table, and logic circuit diagram. They conclude the project improves home security whether occupants are home or not through the simple, cost-effective design.

Uploaded by

Adib Afham
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 12

ITT270: DIGITAL

ELECTRONICS

Semester October 2022 – February 2023

Report: Motion Detector Project

Prepared by:

Name of the Group Members Student ID


1. Muhammad Aiman Hafiz Bin Zamree 2021493868
2. Hakimi Bin Irewan Safari 2021881156
3. Muhammad Danial Bin Marzuki 2021204448
4. Mohamad Adib Afham Bin Mohd Khaidir 2021492808
5. Muhammad Hafiz Azri Bin Yusaidi 2021884562

Prepared for:

[ROS SYAMSUL BIN AHMAD]


TABLE OF CONTENTS
1.0 GROUP PORTFOLIO............................…................................................................................ 1
2.0 INTRODUCTION ...................................................................................................................... 2-3
2.1 PROJECT BACKGROUND ................................................................................................. 2
2.2 OBJECTIVES ...................................................................................................................... 3
3.0 DIGITAL COLLABORATION ..............................…................................................................... 4
4.0 INNOVATION .................................................................…....................................................... 5
5.0 SOLUTION OF PROBLEM ..................…….............................................................................. 6-8
5.1 SOURCE CODE .................................................................................................................. 6
5.2 TRUTH TABLE .................................................................................................................... 7
5.3 LOGIC CIRCUIT ........................................................…..................................................... 7-8
6.0 RESULT AND CONCLUSION .........................................................……................................. 9
7.0 REFERENCES ......................................................................................…............................... 10
1.0 GROUP PORTFOLIO

1
2.0 INTRODUCTION

2.1 PROJECT BACKGROUND

A motion detector with an Arduino is a device that uses sensors to detect


movement in a specific area and then sends a signal to the Arduino board to trigger
a response. This response can be anything from turning on a light or activating an
alarm. The Arduino board processes the input from the sensor and controls the
output device accordingly. The sensor used in a motion detector can be a passive
infrared (PIR) sensor, ultrasonic sensor, or a microwave sensor.

A motion detector with an Arduino typically consists of a sensor and an Arduino


board. The sensor is used to detect movement in a specific area, and the Arduino
board processes the input from the sensor and controls the output device
accordingly.
The sensor used in a motion detector can be a passive infrared (PIR) sensor,
ultrasonic sensor, or a microwave sensor. PIR sensors detect changes in infrared
radiation, which is emitted by all objects with a temperature above absolute zero.
When an object, such as a person, moves in front of the sensor, the sensor detects
a change in infrared radiation and sends a signal to the Arduino board. Ultrasonic
sensors use sound waves to detect movement, and microwave sensors use
microwaves to detect movement.
The Arduino board receives the signal from the sensor and processes it according
to the program that is loaded onto the board. The program can be written in the
Arduino IDE (Integrated Development Environment) using the Arduino programming
language. The program can be used to control the output device, such as turning
on a light or activating an alarm.
For example, if a PIR sensor is used to detect motion, when motion is detected, the
PIR sensor sends a signal to the Arduino board, which then triggers an action, such
as turning on a light. The Arduino board can also be used to send notifications or
alerts to a smartphone or computer, record video, or trigger other actions.
Overall, a motion detector with an Arduino is a versatile device that can be used for
a wide range of applications such as security, automation, energy efficiency,
surveillance and robotics. The device's functionality can be customized to suit the
specific needs of the user by programming the Arduino board with the appropriate
code.

2.2 OBJECTIVES
Security: A motion detector can be used to detect intruders and trigger an alarm or
alert the authorities.
Automation: A motion detector can be used to turn on lights or other devices when
motion is detected, and turn them off when there is no motion.
Energy efficiency: A motion detector can be used to control lighting and heating
systems to reduce energy consumption when rooms are not in use.

Security: A motion detector with an Arduino can be used to enhance security by


detecting intruders and triggering an alarm or alerting authorities. This can be done
by connecting the motion detector to an alarm system or by sending a notification
to a smartphone or computer when motion is detected.
Automation: A motion detector with an Arduino can be used to automate lighting
and other devices in a home or office. For example, when motion is detected in a
room, the lights can be turned on automatically and when there is no motion, the
lights can be turned off. This can save energy and make the environment more
comfortable for the occupants.
Energy efficiency: A motion detector with an Arduino can be used to control
lighting and heating systems to reduce energy consumption when rooms are not in
use. For example, a motion detector can be used to turn off lights and lower the
temperature in a room when there is no motion detected for a certain period of
time. This can save energy and reduce the overall cost of heating and lighting.

3
3.0 DIGITAL COLLABORATION (provide evidence of shared digital tools or shared
media activity)
4.0 INNOVATION

We wanted to connect the infrared sensor module with owner telephone so that a
notification will appear when any motion detected. This innovation will improve security
of the home.
We will use Blynk:
Blynk is a platform for building Internet of Things (IoT) applications. It allows developers
to easily connect their devices to the internet and control them remotely using a
smartphone app. Blynk provides a cloud service that acts as a bridge between the
physical device and the app, allowing the two to communicate with each other. The
platform supports a variety of hardware platforms, including Arduino, Raspberry Pi, and
ESP8266, and offers a wide range of widgets, such as buttons, sliders, and graphs, that
can be used to build the user interface for the app. Additionally, Blynk includes a
scripting feature that allows developers to write custom logic for their devices using a
simple, drag-and-drop interface.

5
5.0 SOLUTION OF PROBLEM
5.1 SOURCE CODE

6
5.2 TRUTH TABLE

INPUT OUTPUT

INFRARED SENSOR POWER LED APP

0 0 0 0

0 1 0 0

1 0 0 0

1 1 1 1

5.3 LOGIC CIRCUIT

LED

7
APPLICATION

8
6.0 RESULT AND CONCLUSION

For the result, we can run and connect to the circuit through the USB cable.
The Infrared sensor module will detect any motion. The LED on the infrared
sensor will automatically light up for the few seconds. Therefore, the home owner
can find out that there are individuals trying to enter their home without the
permission of the home owner.

As a conclusion, this project improves the security system at home whether there
are occupants inside or not. The infrared sensor is easy to build using readily
available components.The components provided also helped us a lot in
completing this project.

9
7.0 REFERENCES

https://randomnerdtutorials.com/installing-the-esp32-board-in-arduino-ide-
windows-instructions/

https://esp32io.com/

https://blynk.io/

https://youtu.be/3HDNNtodXSE

https://techatronic.com/iot-projects-for-final-year-ir-sensor-notification-iot/

10

You might also like