Tech Template
Tech Template
SUBJECT: Technology
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 Signature)
………………………………………………………………………………………
Design situation:
p
Design brief:
To build my home alarm system, I would need the following materials:
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.
- 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:
- 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;
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);
analogWrite(LED3, brightness);
delay(30);
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: