You are on page 1of 7

Technology project

TECHNOLOGY
Submitted By: Approved By:
Mariam haidar Zeinab farhat
Grade and section:
Shireen jouaid
10c
Lamis al atar
Outline
• We have a room full of money
• We need to protect the room
• Laser, Arduino board, wires, buzzer, sensor, brad board

• We connect the sensors to the laser and buzzer


• Whenever the laser is on and someone touches it gives a loud sound
Project Objective
• To protect the
room which is filled
with treasure and
money we do this
system.
Required Components
Photo of the Name Use of it
components
Wire making connections between
items on breadboard and
Arduino's header pins

Buzzer produce sound on confirmation


of user input in many systems

Sensor display interfaces, sound


detection, alarm system, light
detection, temperature sensing

Arduino board read inputs - light on a sensor, a


finger on a button, or a Twitter
message - and turn it into an
output - activating a motor,
turning on an LED, publishing
something online
Circuit Design
• Screen recorded or video taken of the circuit
Implementation

• Steps of designing:

1) Connect the laser module to a digital pin on the Arduino.


2) Connect the sensor to an analog pin on the Arduino.
3) Connect one end of the resistor to the same pin as the sensor, and
connect the other end to the ground on the Arduino.
4) Connect the positive wire of the buzzer to a digital pin on the
Arduino.
5) Connect the negative wire of the buzzer to the ground on the
Arduino.
Code Sample
const int laserPin = 2; // const int
sensorPin = A0; // const int buzzerPin =
3; //void setup() { pinMode(laserPin,
OUTPUT); pinMode(sensorPin, INPUT);
pinMode(buzzerPin, OUTPUT);}void
loop() { // digitalWrite(laserPin, HIGH);
// int sensorValue =
analogRead(sensorPin); // if
(sensorValue < 500) { //
digitalWrite(buzzerPin, HIGH);
delay(1000); //
digitalWrite(buzzerPin, LOW); }
delay(100); // }

You might also like