Simply, it's a device which has two modes, and displays two simultaneous outputs per mode.
Well, there are several things that inspired me with the idea of this simple device. For example, have you ever watched a 'TV quiz show' when anchor asks guests questions? If the answer is right, a green light turns on π’ with a 'WOHA' or cheers sound π₯³π,and if the answer is wrong, a red light turns on π¨ accompanied with a buzzer π or 'Ohhh!' sound π€¦ ; well, I'm pleased to show you your next home-made contest showπ.
The device is manually operated as user 'switches' between the two outputs using a slide switch. Besides, and due to the knowledge we have acquired so far till this week, I replaced the 'cheers' or 'WOHA' sound with the rotation of a fan which is fun BTW π . To play a pre-recorded sound may need Arduino, I guess, which is beyond the knowledge scope of this week.
To sum up, the first mode outputs are 'green light' π’ + 'Fan rotation' π¨
and the second mode outputs are 'red light' π΄ + 'buzzer sound'π
Device has ON/OFF switch and it's powered with 9V adaptor.
Software: Tinker CAD circuits building and simulation online tool
Hardware:
5V adaptor (compatible with the mini fan and buzzer; both work safely and properly with a 5V source)
two screws adaptor plug
ON/OFF switch
Crocodiles
Jumpers wires
Common Cathode RGB LED
Slide switch
Two Resistances (220 ohm)
Mini fan (5 V)
Buzzer (5V)
Breadboard
Digital Multimeter
Cardboard for device enclosure
I 'dragged and dropped' the components of the circuit in design workspace in Tinker CAD as shown below.
The RGB was parallelly connected with the fan and the buzzer.
The cathode of the power source as well as those of every component were all connected to the common cathode rail in the breadboard.
A pair of 220 (ohm) resistances were connected in series with the RGB.
Finally, all components were connected.
Circuit simulation on Tinker CAD can be viewed from the video below π
Final circuit - switched off
Final circuit - switched on - slide switch to the right - green light and motor are activated
Final circuit - switched on - slide switch to the left - red light and buzzer are activated
A two screws adaptor plug to be connected with power source adaptor
ON/OFF switch connection via crocodiles
ON/OFF switch now connected with power source adaptor and the breadboard (with slide switch as shown shortly)
Slide switch
Jumper wire connecting ON/OFF switch with slide switch
Two resistances are connected in series with the RGB
Cathode connection of the RGB
Fan terminals
Fan (+ve) and (-ve) terminals connections with breadboard
Buzzer connection with crocodiles
Buzzer (+ve) and (-ve) terminals connections with breadboard
Circuit overview
Jumper wire bridge between the two parts of the breadboard
First mode outputs shown ( π’ RGB light +π¨ Fan rotation) - Multimeter voltage reading: 5V
Second mode outputs shown ( π΄ RGB light + π Buzzer sound) - Multimeter voltage reading: 5V
Mounting breadboard and all components in a cardboard enclosure
Check video#1 for circuit testing and outputs.π
Check videos#2&3 for circuit mounted in cardboard enclosure and works properlyπ
During one of my attempts to power and test the circuit, I found that Buzzer didn't work. I used the multimeter for troubleshooting, and found that voltage reading over the buzzer was 1.87 V despite the expected value should be 5 V. I asked Sherif who advised that there was a missed jumper wire that should connect the two separate parts of the breadboard (right and left sides). I used a jumper, and luckily it worked.
Cathode terminal of the buzzer is connected with the left side of the breadboard which is currently separated from the right side.
Connecting the two sides (right and left sides) of the breadboard
Voltage reading over the buzzer is now as expected and buzzer is working!
My first approach to the assignment was using the mini breadboard. I connected all components, and turned the switch on, but ...it didn't work! I revised the videos tutorials again to check the characteristics of the breadboards, and I realized that the mini breadboard has no common rails; thus, the circuit was open and didn't work accordingly. Finally, I switched to use the other large breadboard with rails.
Another challenge was to separate the slide switch from the breadboard while maintaining it connected with other components of the circuit. It's essential for user comfort that slide switch is mounted on the outer side of the enclosure, so I used jumper wires to connect the ON/OFF switch with the slide switch from one side, and to connect the slide switch with the bread board from the other side.
This device contains some of the minimum (basic) features of my final project device. I took the chance of this assignment to learn how to integrate a 'slide switch' into a circuit accompanied with ON/OFF switch. Moreover, slide switch will be used as a selector between two modes in the final project device (setup and running modes). Besides, final project device will display more than one output per condition within running mode (if on-hand is above the reorder level, then RGB turns green π’ - some sort of 'OK' message is displayed on LCD π₯ ) or (if on-hand is below the reorder level, then RGB turns red π΄- a message of warning or a reminder displayed on LCD π₯ - buzzer sound activated π - an alert is sent to mobile phone via Bluetooth π² ). Accordingly, this week assignment is a great chance to learn how to manage more than one output given a single condition/status.
Final Project Concept Sketch
Final Project Concept Cardboard
I learnt the working concept of Slide switch, and how to connect it in the circuit.
I found this useful Tinker CAD article via this link.
Slide switch connection and working concept
During the MOW session, I participated with Farida working on simple circuits to power a '7 segment display' and an 'RGB' with purple color. It was a really cool exercise!
Makeathon of EOW session!
We spent the session designing a Sumo RC car for a competition. I learnt how to make an 'H' bridge with a set of Four push button switches to drive a DC motor in front and back directions. We designed the chassis of the car on Fusion 360 and prepared it for laser cutting using RD Works. We assembled the car parts and enjoyed the competition a lot! π₯³π