Professional Documents
Culture Documents
2021/2022
OPEN ACCESS I agree that my thesis to be published as online open access (Full
Text)
Certified by:
_____________________
( MOHAMAD IZZAT FARHAN )
New IC : 010503-06-0865
Date: 7/7/2021
_______________________
( Supervisor’s Signature )
“I/We hereby declare that the work in this thesis is based on my student original work
except for quotations and citations which have been duly acknowledged. I also declare
that it has not been previously or concurrently submitted for any other degree at TATI
University College or any other institutions.”
_______________________________
( Supervisor’s Signature )
Full Name : ENCIK AZMAN BIN ABDUL RAHMAN
Position :
Date :
STUDENT’S DECLARATION
“I hereby declare that all the materials presented in this reports is our own and has not
copied from any materials without references.”
_______________________________
(Author Signature)
MOHAMAD IZZAT FARHAN BIN MOHD NAZRI
7 JULY 2021
ACKNOWLEDGEMENT
In preparation of my final year project, I had to take the help and guidance of some
respected persons, who deserve my deepest gratitude. As the completion of this
assignment gave me much pleasure, I would like to show my gratitude Encik Nazry
Abdul Rahman, Course Instructor, on UCTATI for giving me a good guidelines for this
project throughout numerous consultations. I would also like to expand my gratitude to
all those who have directly and indirectly guided me in writing this assignment.
I would like to express my deep and sincere gratitude to my project supervisor, Encik
Azman Bin Abdul Rahman, for giving golden opportunity to do this wonderful project
on the topic ‘Smart Animal Trap Using IoT ’ and continuously providing invaluable
guidance until the end of the project. His dynamism, vision, sincerity and motivation
have deeply inspired me. His has taught me the methodology to carry out the project
development and to present the project as clearly as possible. It was a great privilege
and honour to work and study under his guidance.
I am extremely grateful for what he has offered me. Lastly, I am extremely grateful to
my parents for their love, prayers, caring and sacrifices for educating and preparing me
for my future.
2021/2022
TABLE OF CONTENTS
1 INTRODUCTION
1.1 Project background
1.2 Project scopes
1.3 Project Objective
1.4 Problem statement
2 METHODOLOGY
2.1 Project Methodology
2.1.1 Project Block Diagram
2.1.2 Project Flow Chart
2.2 Materials
2.2.1 Wifi arduino ESP8266
2.2.2 Animal cage
2.2.3 18650 Battery
2.2.4 sensor
2.3 Gant chart
2.4 Project Design
2.5 Circuit Development
2.6 Program and software
2.7 Hardware development
2.8 Step operation
3 RESULT
3.1 Result and discussion
4 CONCLUSSION
CHAPTER 1
INTRODUCTION
METHODOLOGY
figure shown the project design of my project. The sensor will be on the side of the
cage.The sensor placement is accoding to the distance of the sensor detacting. My
circuit will be covered to protect from the animal and the weather.
2.5 CIRCUIT DEVELOPMENT
Figure shows ESP8266 wifi module that already connected to Infra red sensor.Pin 5V at
Arduino board connected to the VCC pin at IR sensor.Then pin ground at Arduino
boards connected to the ground pin at IR sensor.last, the output pin at IR sensor was
connected to port D5 at Arduino board.
Figure shows the connection for power supply which is power bank that has been
connected to Arduino board. This power supply directly supply 5V to turn on the
Arduino. One of the LED at IR sensor will light up if the sensor blocked by something.
2.6 Program and Software
The software that used in this project is Arduino IDE. Coding that have been created
have to put in this software and start searching the library for ESP 8266 and blynk.The
SSID Name and the password of the wifi also include in this coding.Then the coding will
be upload to Arduino board
Blynk apps that have been downloaded from apps store can set up our pop up
notification.This apps can connect with Arduino board with wifi connection.This app
also gift the notification went our project is offline.
2.7 Hardware Development
The hardware development begin with assemble the component in one box that can
protect the circuit.Then the circuit box with the component should stick it on the
side of the trap.
Figure shows the complete hardware which is the trap that has been stick with the
circuit box and sensor.
2.8 Step Operation
Firstly, setup the trap and the bait for animal. Then start to turn the power supply to
run the project. Once the project was supply to the power supply, the project is
ready to connect with our mobile phone.
Then, turn on your mobile hotspot and the Arduino board will connect
automatically to our mobile phone. All this happen in one condition which is the
network SSID and wifi password coding have been upload to Arduino boards.
Lastly, when sensor detect the animal or any obstacles, blynk will send the
notification on our mobile phone “ALERT: Animal Trapped”.
When the power bank out of power and the Arduino stop running, blynk will send
the notification that “Your smart trap with IoT went offline.
CHAPTER 3
RESULT
In the end of this project we will see how sensor work to detect the animal in
the cage and be the signal sending device.The user will get the information about the
trap through the notification on their mobile phone.the notification sent to mobile
phone if any animals hit the trap.
If the sensor detacting the animal in the cage, Blynk automatically send the notification
on our mobile phone.
Attempt Time responses(s)
1st 5 seconds
2nd 7 seconds
3rd 6 seconds
Table shows the time of the sensor response detaction and send the notification on
mobile phone. Data recorded for three attempt. First attempt, the project take 5
seconds to send the notification to mobile phone. Second attempt it took 7 seconds
and the third attempt it took 6 seconds.
4.0 Conclusion
• From the result I can conclude that sensor will emmidiately detect the animal in
the cage and the time of notification will sent to our mobile is very short. We
can know if there are animal trapped or not in 7 second or less. In conclussion
this project will help the people who work as agricultural to protect their
plantation from the wildlife.the user will know if thre are animal hit the trap
instantly.So,it will fix the problem that the animal dead before we come to visit
the trap.we will also don”t need to be worry and wait near the trap