Security system
The idea for this week assignment is to create a security system for homes that can detect nearby bodies and alert us using Buzzer and LED
TinkerCad.
Arduino IDE: To Program the Arduino Board.
Components Used:
Arduino Uno Board
1 LED.
Jumper Wires.
1 (1 OHM) resistors.
Ultrasonic Sensor.
First I started with Tinkercad to simulation for my circuit and components
Next I connected all parts on Tinkercad.
Then start
For the code I wanted my device to respond as follow:
If any body is come close to the Ultrasonic sensor the device start Buzzing and Blinking.
also I wanted to control the state of the device using an ON/OFF switch
Using Breadboard, I connected all the compartments together in parallel with the power supply and Switch.
Now my Smart device is ready, Lets play around!
Finally I started working on the enclosure design.
And simply it was only a box that represents houses.
Our colleague, Shrouk Gamal was facing a problem in editing her journal using mobile. so I did helped by telling her the right way to do so
I was trying to add an ON/OFF switch to my circuit. But I was facing a problem on how to connect it despite I'm not using a power supply and only getting power needed from Arduino.
and to overcome this problem, I decided to connect the power switch to the GND PIN comming from the Arduino.
After learning the logic behind controlling LEDS using ultrasonic sensor, I can implement this knowledge in my final project
The coolest thing is learning how to use different sensors to control different outputs