Final project done!
The assignment for this week is to create a simple electronic device with 2 actions within a low fidelity enclosure. The circuit should contain at least 2 different output components connected in parallel along with an ON/OFF switch, and operating at the same time.
Thecircuit has to be wired and simulated on Tinkercad.
Summer is knocking the door! For this assignment I'm getting ready for summer with desk fan, that features a lit mirror, and a buzzer (more on that later!).
Softwares:
I used Tinercad to prototype and simulate the wiring.
Components:
DC fan (output)
White LED (action)
Buzzer (action)
On/off switch to control the circuit
Breadboard to wire the circuit on
Crocodile wires to connect the LEDs
Jumper wires
330 ohm resistor
Terminal
Screwdriver
5v power supply
For the enclosure:
Currogated cardboard
Gluegun
Cutter
Aluminum foil (to mock up the mirror)
To prepare the circuit, I prototyped it first on Tinkercad. Tinkercad circuit link
First, I prepared the components on Tinkercad: Power supply, slide switch (instead of the ON/OFF switch), DC motor (instead of the DC fan), 220 ohm resistors, and a buzzer (which I added because the fan and LED were featured in a previous exercise, so I had to add another output component for the assignment to be accepted)
The buzzer needs from 4 to 7 volts, the fan needs 5 volts, and the LED needs 3 volts; this is why I connected the components in parallel, so that each action component takes the needed voltage and the needed current. Nevertheless, the resistor is connected with the LEDs in series so that it can absorb the extra voltage.
I connected the positive from the power supply to the positive row in the breadboard. Then, I connected the GND first to the slide switch then to the breadboard.
The DC motor has polarity, so I connected the positive (red) node to the positive row on the breadboard, and the negative (black) node to the negative row in the breadboard. Then, I did the same for the buzzer.
The same also applies to the LED, only with breaking the negative connection with a resistor as indicated in the pictures.
Testing the fan
To realize the circuit:
I also prepared the components: Rosetta, 5v adaptor, ON/OFF switch, DC fan, 330 ohm resistors, and the buzzer.
First, I connected the positive from the rosetta to the positive row in the breadboard. Then, I connected the negative first to the ON/OFF switch then to the breadboard.
The DC fan has polarity, so I connected the positive (red) node to the positive row on the breadboard, and the negative (black) node to the negative row in the breadboard. Then, I did the same for the buzzer.
The same also applies to the LED, only with breaking the negative connection with a resistor as indicated in the pictures.
To create the enclosure, I marked the place for each component.
For the fan, I did a cut out with its dimensions and secured it in place with masking tape.
For the LEDs I poked two holes to pop the LEDs from. Then, I covered them in a tissue to reduce the glare and dim the lights a bit, and I glued the edges of the tissue from the back.
For the ON/OFF switch, I also did a cut out and secured it in place.
To mockup the mirror, I glued a piece of folder aluminum foil.
Mini desk fan!
I used 9v adaptor instead of 5v adaptor, but fortunately beacuse I didn't operate the components for long no damages happened. Esraa (my instrcutor) also suggests that because the resistors are 330 ohm not 220 ohm the LEDs didn't burn.