0% found this document useful (0 votes)
8 views

Tech Template

Uploaded by

aayanqaiserk
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

Tech Template

Uploaded by

aayanqaiserk
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 8

Al-Faisal College Sydney, Australia

ASSESSMENT COVER SHEET

NAME: Aayan Qaiser Khan YEAR:8B2

SUBJECT: Technology

TEACHER: Mr. Ali

ASSESSMENT TITLE: The Code

WEIGHTING: % DUE: week 7 term 2

1. You must hand this task to your subject teacher by 9 am on the date due.
2. Do not hand this task at the front office as it will not be accepted.
Please note:
 Tasks received after the due date are late, and student incurs a penalty of 10% per day, for
the first 3 days after the assessment is due.
 Assessments which are submitted four or more days late receive zero but must nevertheless
be completed to a satisfactory standard.
 Plagiarism and copyright infringement will result in a zero mark being awarded.

Student Name: Aayan Qaiser Khan

I Declare The Task Submitted Is All My Own Work. ____________

(Student Signature)

………………………………………………………………………………………

Student Name: Aayan Qaiser Khan

Task Title: My Folio Has Been Received.

Teacher’s Signature: _______________________ Date: 6/6/24


A. Identifying the problem

Design situation:
p

Design brief:
To build my home alarm system, I would need the following materials:

- A sensor to trigger actuators in the system

- A buzzer to alert me with sound

- An LED that blinks to visually indicate an intrusion

- An LED that slowly fades on and off

- An LED to show the system is always armed

- A slide switch to control turning the system on and off

The type of sensor I will use is a passive infrared (PIR) sensor, which is commonly found in home alarm
systems. PIR sensors use a pair of pyroelectric sensors to detect heat energy in the surrounding
environment. These two sensors are placed beside each other, and when the signal differential between
them changes, the sensor engages.

For the setup:

- Connect the buzzer to the Arduino board:

- One pin to ground

- One pin to the breadboard

- One pin to the Arduino

- Connect three LEDs to the breadboard, each with a resistor. The other wires for the LEDs will be plugged
into specific pin numbers on the Arduino.

The knowledge needed for building the home alarm system successfully includes:

- Proper coding for the system

- Correct setup of the pins and components

- Understanding of the required materials

Potential difficulties I may face in this project:

- Ensuring the code is correct

- Properly setting up the pins on the Arduino without errors

- Effective cooperation and communication within my group

- Handling the equipment gently to avoid damage.

Criteria for success:


The difficulties we faced while working on the assignment included:

- Trying to cooperate and motivate my team to stay engaged and productive.


- Correcting the code without any mistakes, which was challenging because we did not always understand
what was wrong, making it difficult to fix.
- Setting up the alarm system in person, as it was easy to mix up the wires, and the physical setup had to
match the code precisely.

To address these issues:

- I improved cooperation and communication with my team by using different platforms that facilitated
better interaction.
- I tackled the code issues by seeking help and breaking down each part of the code slowly to understand
and fix errors.
- I carefully set up the alarm system by proceeding slowly and ensuring that everything was plugged in
correctly. I made a concerted effort to understand the input and output connections of all the wires.
B- Sketch:
int PIR = 11;

int LED1 = 7;

int LED2 = 5;

int Buzzer = 13;

int LED3 = A1;

void setup() {

pinMode(LED1, OUTPUT);

pinMode(LED2, OUTPUT);

pinMode(LED3, OUTPUT);

pinMode(PIR, INPUT);

pinMode(Buzzer, OUTPUT);

pinMode(LED_BUILTIN, OUTPUT);

pinMode(9, OUTPUT);

digitalWrite(LED1, HIGH);

void loop() {

if (digitalRead(PIR) == HIGH) {

digitalWrite(LED3, HIGH);

digitalWrite(LED2, HIGH);
delay(25);

digitalWrite(LED2, LOW);

delay(100);

tone(Buzzer, 300, 0);

for (int brightness = 0; brightness <= 255; brightness += 5) {

analogWrite(LED3, brightness);

delay(30);

for (int brightness = 255; brightness >= 0; brightness -= 5) {

analogWrite(LED3, brightness);

delay(30);

noTone(Buzzer);

} else {

digitalWrite(LED3, LOW);

digitalWrite(LED2, LOW);

noTone(Buzzer);

digitalWrite(LED_BUILTIN, HIGH);

delay(100);

digitalWrite(LED_BUILTIN, LOW);

delay(100);

}
Circuit design

Bibliography:

https://www.tinkercad.com/

https://www.security.org/home-security-systems/what-is-a-home-
security-system/
https://www.tinkercad.com/
https://college.gift.edu.in/website/blog/single.php?id=105

https://www.youtube.com/watch?v=XE1XZWIhX7o

https://www.youtube.com/watch?v=W6mixXsn-Vc

https://www.fourwallssecurity.com.au/blog/how-do-alarm-systems-
work#:~:text=They're%20designed%20to%20detect,%2C%20and
%2For%20environmental%20hazards
Reflection:

The strengths of my home alarm system include:


· All of the components are connected together in the correct place and done
perfectly.
· The code matches the circuit diagram and the code also matches my actual circuit
constructed.
· The circuit diagram is done accordingly to the code and also the actual circuit has
the perfect placements which is in the circuit diagram.
· All three of my lights work according to how I like it because one of the lights
fades, one of the lights blinks and one of the light stays on even when the PIR is not
triggered to show that the system is working.
The weaknesses of my home alarm system include:
· One of the LEDs in my home alarm system which is the blinking LED takes time to
blink.
· In the process of making the home alarm system placing all of the components
together was very difficult and uneasy to do.
· Also, whilst placing all of the components together, a lot of retrials were held
because the components kept on dissembling. This created a lot of tensions and
issues.

I can add more functions to the existing components in my systems. I can do it by


adding different types of sensors like glass-break sensors. This increases the level of
security by a lot of he house and also increases the level of security the home alarm
system provides for us. Also, I can add another LED with different abilities like I can
make the LED with different abilities make it blink faster and do multiple things. Also I
can change the code by adding cool effects like different coloured lights that move
around or a different type of sound. I can also use a sound detector because it would go
well with a motion detector.The problems in my home alarm system is that one of the
LEDs took a lot of time to blink. This can cause problems for me to visually see any
intruders or what is going on. I can fix this by changing the pins I used just in case the
pins of the Arduino were not working correctly. Another way to change the problem is
that I can fix the code by going back and rewriting the code so I can see the intruders
properly. Also another problem that I faced during the construction of my home alarm
system is that the components were very hard and uneasy to put together. This caused
a lot of problems as it required more stability for the home alarm system to stay still
and on the ground. This problem was fixed by all of my peers that I done the project
coming together and one person was holding the Arduino and breadboard down, one of
my friends were attaching all of the components together by putting all the wires in
place and my other friend was making sure everything was going in place and where it is
supposed to go so nothing goes wrong.

You might also like