The objective of week #8 was to develop a Bluetooth controlled electric circuit to control a RGB Led and a Buzzer.
I got inspiration from Google as seen in the pics.
I used TinkerCad to build and simulate the electronic circuit. Then, I used the electronic kit to build the actual circuit. For the mounting of the electric components, I used the standard breadboard.
For the specific electric components, here they are:
Ardunio Uno
Bluetooth Module
Buzzer
RGB Led
The designing process of the circuit
I opened TinkerCad and inserted the breadboard, first.
I connected the Arduino positive (5V) and negative (GND) terminals to the negative and positive lanes of breadboard.
I placed a buzzer in the breadboard, connected the positive terminal to terminal no. 5 and the negative terminal to the common ground.
I placed a RGB led in the breadboard, connected the
R >> Resistor 220 Ohm >> Terminal 8
G >> Resistor 220 Ohm >> Terminal 9
B >> Resistor 220 Ohm >> Terminal 10
and the negative terminal connected to the common ground.
I developed the code using the IDE.
Input Components:
Bluetooth Module
Output Components:
RGB Led
Buzzer
The implementation process:
I selected the components from the electronic kit.
I mounted all components as per the design.
Then, I connected the Arduino to the PC and uploaded the code.
I tested the circuit as in the video attached.
When first uploaded the code, the buzzer was neither effective nor responding as expected. After investigation, I figured out that the +/- terminals were exchanged. Hence, I adjusted the connections for the circuit to function properly.