0% found this document useful (0 votes)
4K views

ITT270 - Digital Electronics: Prepared By: Name Student Id Group

The document describes a group project to create a motion detection device for deaf and blind people using IoT concepts. The device uses a PIR motion sensor connected to an Arduino board to detect motion and send push notifications via the PushSafer app. It also lights an LED as an alert. The group collaborated digitally using tools like Arduino IDE, Microsoft 365, Discord and YouTube. Their solution codes the Arduino to read the sensor, send notifications when motion is detected, and blink the LED. Testing showed the device successfully detects motion and alerts users as intended. The group concluded the project demonstrated converting analogue signals to digital for IoT applications.

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 PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4K views

ITT270 - Digital Electronics: Prepared By: Name Student Id Group

The document describes a group project to create a motion detection device for deaf and blind people using IoT concepts. The device uses a PIR motion sensor connected to an Arduino board to detect motion and send push notifications via the PushSafer app. It also lights an LED as an alert. The group collaborated digitally using tools like Arduino IDE, Microsoft 365, Discord and YouTube. Their solution codes the Arduino to read the sensor, send notifications when motion is detected, and blink the LED. Testing showed the device successfully detects motion and alerts users as intended. The group concluded the project demonstrated converting analogue signals to digital for IoT applications.

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 PDF, TXT or read online on Scribd
You are on page 1/ 13

ITT270 – DIGITAL ELECTRONICS

GROUP PROJECT

PROJECT REPORT

Prepared by:

NAME STUDENT ID GROUP

RAJA NUR AIMUNI BINTI RAJA ANUAR 2021463008

INTAN LYANA BINTI ISZUAN 2021833322

DINI FARRAHANIS BINTI AZIAN ROHAIDI 2021466632 RCS1103C

NUR LIYANA BINTI KHARUDIN 2021487516

NUR FARAH ADILA BINTI MUHAMAD IDRIS 2021484434

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

GROUP MEMBERS DETAILS ROLE AND TASK

RAJA NUR AIMUNI BINTI RAJA ANUAR


2021463008
RCS1103C Write and compile the
code
0176080495
2021463008@student.uitm.edu.my

INTAN LYANA BINTI ISZUAN


2021833322
RCS1103C Complete the report
011-29163438
2021833322@student.uitm.edu.my

DINI FARRAHANIS BINTI AZIAN ROHAIDI


2021466632
RCS1103C Construct the circuit
01127102701
2021466632@student.uitm.edu.my

NUR LIYANA BINTI KHARUDIN


2021487516
RCS1103C Complete the report
011-56545351
2021487516@student.uitm.edu.my

NUR FARAH ADILA BINTI MUHAMAD IDRIS


2021484434
RCS1103C Complete the report
011-58586937
2021484434@student.uitm.edu.my

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.

This project is made to achieve the objectives as stated below:

• To develop a device using the concept of IoT


• To facilitate user with disabilities to see and hear.
• To verify the functionality of the invented device for target user

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

• PIR motion sensor


GND → VIN.3V
OUT → PIN 7
VCC → GND

• LED
+VE → PIN 3
-VE → GND

6
5.0 SOLUTION OF PROBLEM

#include <WiFi.h>
#include <WiFiClient.h>
#include <Pushsafer.h>

// Pushsafer private or alias key


#define PushsaferKey "VW1ZCNREaXRb33KIykhS"

const int motionSensor = 7;


const int led = 3;
int motionStateCurrent = LOW;
int motionStatePrevious = LOW;

// Initialize Wifi connection to the router


char ssid[] = "Heyhoooo"; // your network SSID (name)
char password[] = "muni123abc"; // your network key

WiFiClient client;
Pushsafer pushsafer(PushsaferKey, client);

struct PushSaferInput input;

void setup() {
Serial.begin(9600);

// Set WiFi to station mode and disconnect from an AP if it was Previously


// connected
WiFi.mode(WIFI_STA);
WiFi.disconnect();
delay(100);

// Attempt to connect to Wifi network:


Serial.print("Connecting Wifi: ");
Serial.println(ssid);
WiFi.begin(ssid, password);

while (WiFi.status() != WL_CONNECTED) {


Serial.print(".");
delay(500);
}

Serial.println("");
Serial.println("WiFi connected");
Serial.print("IP address: ");
Serial.println(WiFi.localIP());

7
pushsafer.debug = true;

input.message = "There is a motion detected!";


input.title = "ALERT";
input.sound = "8";
input.vibration = "1";
input.icon = "114";
input.iconcolor = "#FF0000";
input.priority = "1";
input.device = "a";
input.url = "https://www.pushsafer.com";
input.urlTitle = "Open Pushsafer.com";
input.picture = "";
input.picture2 = "";
input.picture3 = "";
input.time2live = "";
input.retry = "";
input.expire = "";
input.confirm = "";
input.answer = "";
input.answeroptions = "";
input.answerforce = "";

pinMode(motionSensor, INPUT);
pinMode(led, OUTPUT);
}

void loop() {
motionStatePrevious = motionStateCurrent;
motionStateCurrent = digitalRead(motionSensor);

if (motionStatePrevious == LOW && motionStateCurrent == HIGH){


pushsafer.sendEvent(input); // Push notifications to mobile phone

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.

Jost, Danny. “What Is a Motion Sensor?” FierceElectronics, 14 Oct. 2019,


www.fierceelectronics.com/sensors/what-a-motion-sensor.

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/.

Wokwi. “Esp32-Dht22.Ino - Wokwi Arduino and ESP32 Simulator.” Wokwi.com,


wokwi.com/projects/322410731508073042.

11

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy