My idea for this assignment depends on building a smart electrical circuit to make a mini Security System with Ultrasonic Sensor, Arduino, LED and buzzer
These videos helped me to make my idea:
Arduino to copy the text code and upload it to Arduino UNO.
Breadboard to connect components -Jumper wires To connect electricity to components
-red LED To light up when the sensor is activated - Ultrasonic Sensor to feel the movement
Arduino uno To make the code and activate the components - Buzzer To make a sound when the sensor is activated - Resistor (220 ohm) To introduce the appropriate current to the LED
I connected all the electrical components to the arduino on tinkercad
Then I used the code blocks in the program to make sure that all the components are working when simulated, and the goal is to sense the movement in front of it at a distance of 10 cm or more, and it gives a signal to the led and buzzer, so they are turned on
Then I ran the simulation to test the components and make sure that the code was written correctly
Then I copied the text code which I got from Tinkercad to Arduino and uploaded it on the Arduino
During this week, we learned about the Arduino and the various input and output pins in it, and how we can write a code using the blocks in Tinkercad, and this is very important to finish the final project.