this week assignment's idea was about designing, simulating, and building a simple electronic device that performs two actions.
i made a buzz wire game for kids so they could have fun at home.
to play the game we should first turn the switch on.
to win the game you should play with the hook without touching the path, if you did the led will emit light and the buzzer will make sound at the same time.
for inspo;
https://www.youtube.com/watch?v=7KZgD053xXI
but i made some edits.
i used tinkercad to simulate the circuit.
materials; cardboard to make the body of the buzz wire game
tools;
-glue gun
-scissors
-cutter
-ruler to measure the dimensions
from the electronic kit i used:
adaptor 5v
adaptor dc jack
4 crocodile jacks
male-male jumpers
male-female jumpers
buzzer
LED
resistance 220k-ohms
breadboard
on/off switch
At first i started sketching my game and measuring the dimensions, then i calculate the current and the voltage needed for every component.
i searched google to know the voltage and current required for every component
using
-red LED ; 2.1 voltage and 20 mA of max current ,so i added 220 ohm of resistor in series with the LED to reduce the voltage of the branch as the LED can't have more than 2.1 V
-buzzer;3-20v and 15mA of max current
-i made my calculations so i decided to use 5V of power adaptor and connect the buzzer with the branch of led and resistor in parallel so there is 5V in every branch
Using tinkercad to simulate the circuit.
-using power adaptor, piezo, resistor, led, push button, breadboard
connecting 22o k-ohms resistor with the LED in series connection.
connecting them with a buzzer in parallel connection.
making sure that the power supply used 5 voltage and connecting it to the breadboard by connecting the positive GND to the positive node of the power supply and connecting the negative GND to the negative node of the power supply; using wires for the connections; red wire if it positive and black wire if it negative.
put the push button on the breadboard.
connecting the negative side to the GND with black wire and the negative side to the push button then in series to the positive GND with red wire.
clicking on the push button so the led emits light and the buzzer makes sound.
After the simulation on tinkercad i started to make the circuit on the breadboard .
connecting 22o k-ohms resistor with the LED in series connection, connecting the negative side of the led to the resistor.
connecting them with a buzzer in parallel connection.
the positive side of the buzzer to the positive side of the LED and the negative side to the resistor
connecting the on/off switch to two crocodile wires and two jumpers to connect it to the breadboard.
-connecting the dc adaptor to red and black jumpers then connecting it to the positive and negative GND of the breadboard.
-connecting the on/off switch to the breadboard by connecting the green jumper to the negative side and the other jumper to the negative GND.
-using another jumper to close the circuit at the positive side by connecting it to the positive GND.
i used to jumpers to connect them to the led, the orange one to the positive led of the led and the brown one to the negative leg, so the led could appear above the breadboard.
cutting the cardboard to make the box
connecting the base and the four sides with the glue, making a hole for the wire of the adaptor
making to holes for the path , one for the LED ,and another square one for the on/off switch
make sure the everything in the box is fixed
close the box with the glue
finally connect the adaptor to the electricity and press on to the switch now if the hook touch the path, the led will emit light and the buzzer will make sound,
yes, i asked for a feedback, the jumpers that were connected to the LED were falling so my friend advised my to fix them to the led using the glue gun.
to make your cardboard box, you should first sketch your design, take the dimensions of everything, so it will be easier when you make the box.
also fix everything you use in the box with glue.
make parallel connections so the voltage wouldn't be divided.
this week i learnt how to make a circuit on the breadboard and how to simulate it on tinkercad and all of that will help me in making the electronic circuit of my final project.
making electric circuits is so cool and controling light and buzzer also.