ITT270 - Digital Electronics: Prepared By: Name Student Id Group
ITT270 - Digital Electronics: Prepared By: Name Student Id Group
GROUP PROJECT
PROJECT REPORT
Prepared by:
Prepared for:
ROS SYAMSUL BIN HAMID
DATE SUBMITTED: 2 3 0 1 2 0 2 3
Contents
1.0 GROUP PORTFOLIO ..................................................................................................................... 1
2.0 PROJECT BACKGROUND & OBJECTIVES ...................................................................................... 2
3.0 DIGITAL COLLABORATION ........................................................................................................... 3
4.0 INNOVATION ............................................................................................................................... 6
5.0 SOLUTION OF PROBLEM ............................................................................................................. 7
6.0 RESULT AND CONCLUSION ....................................................................................................... 10
7.0 REFERENCES .............................................................................................................................. 11
1.0 GROUP PORTFOLIO
1
2.0 PROJECT BACKGROUND & OBJECTIVES
The Internet of Things (IoT) can link internet-connected gadgets that are integrated with
diverse systems. When gadgets or objects can digitally represent themselves, they are controllable
from any location. The connectivity enables us to collect more data from more sources, providing
additional opportunities to boost productivity and enhance safety and IoT security. IoT consists of
everyday physical objects and devices that have a controller built in that can link to a computer
network.
Our group decided to create a motion detector device for the deaf and blind people. This
device is designed to help them detect any motions with the help of a PIR sensor such as when
someone comes near them. The device then sent a notification through the PushSafer application,
and the LED will light up as an alert. Our group begins with a brief research and discussion about deaf
people and finding an alternative to how they can overcome their problem which are loss hearing and
vision sense.
Based on the results, it has been shown that motion sensors can be used to help with a
disability, allowing them to be used as a ‘helper’ for them. Our group managed to demonstrate how
each component works and how it functions together until the device works successfully.
2
3.0 DIGITAL COLLABORATION
• Arduino
Arduino Software (IDE) makes us easy to write code and upload it to the board offline. Arduino
Software will check our source code either it is correct or have errors. If no errors in the source
code, Arduino will compile and upload the code.
• PushSafer app
PushSafer app is an app where it pushes notifications to the user. Therefore, besides alerting
the user by a LED, we use this app to send notifications to the user when the motion is
detected.
3
• Microsoft 365
This software helps us in sharing the report document with other group members. This allows
us to successfully complete the report in the given time at once.
• Wokwi
Wokwi compiles our code into a binary firmware, and then execute the binary firmware one
instruction at a time. Wokwi also create the digital simulation.
4
• Discord
We used Discord platform to plan and divide the task. Through this software, we also did
discussions and share the progress of our project.
• Youtube
We use Youtube to watch the tutorial on how to construct the circuit as a guide to complete
this project.
5
4.0 INNOVATION
• LED
+VE → PIN 3
-VE → GND
6
5.0 SOLUTION OF PROBLEM
#include <WiFi.h>
#include <WiFiClient.h>
#include <Pushsafer.h>
WiFiClient client;
Pushsafer pushsafer(PushsaferKey, client);
void setup() {
Serial.begin(9600);
Serial.println("");
Serial.println("WiFi connected");
Serial.print("IP address: ");
Serial.println(WiFi.localIP());
7
pushsafer.debug = true;
pinMode(motionSensor, INPUT);
pinMode(led, OUTPUT);
}
void loop() {
motionStatePrevious = motionStateCurrent;
motionStateCurrent = digitalRead(motionSensor);
Serial.println("Motion detected!");
digitalWrite(led, HIGH);
delay(100);
digitalWrite(led, LOW);
delay(100);
digitalWrite(led, HIGH);
delay(100);
digitalWrite(led, LOW);
delay(100);
digitalWrite(led, HIGH);
delay(100);
digitalWrite(led, LOW);
delay(100);
8
digitalWrite(led, HIGH);
}
else if (motionStatePrevious == HIGH && motionStateCurrent == LOW){
Serial.println("Motion stopped!");
digitalWrite(led, LOW);
}
}
9
6.0 RESULT AND CONCLUSION
For the result, when there is no error in the code, it can run and connect to the circuit through
the USB cable. The PIR motion sensor will detect any motion. The LED will automatically light up for
the few seconds. At the same time, the notification will appear in the user phone on PushSafer
application. Deaf people can know any movement through the LED light. Meanwhile, blind people
can know movement through the notifications sent to the PushSafer app through the app’s
notification sound that acts like buzzer.
As a conclusion, the physical properties of analogue signals can be converted into digital signals.
The motion sensor is easy to build using readily available components. Working in a group helps
because group members can share ideas and help each other, especially since everyone is talented.
10
7.0 REFERENCES
Arduino. “What Is Arduino?” Www.arduino.cc, 5 Feb. 2018,
www.arduino.cc/en/Guide/Introduction/.
How To Mechatronics. “How PIR Sensor Works and How to Use It with Arduino.” YouTube,
23 Sept. 2015, www.youtube.com/watch?v=6Fdrr_1guok.
PushSafer. “Example Arduino - Pushsafer - Send Push Notifications Easy and Safe.”
Www.pushsafer.com, www.pushsafer.com/en/arduino.
Santos, Sara. “Arduino with PIR Motion Sensor | Random Nerd Tutorials.” Random Nerd
Tutorials, 18 Aug. 2014, randomnerdtutorials.com/arduino-with-pir-motion-sensor/.
Santos, Sara. “Arduino with PIR Motion Sensor | Random Nerd Tutorials.” Random Nerd
Tutorials, 18 Aug. 2014, randomnerdtutorials.com/arduino-with-pir-motion-sensor/.
11