This week's task is to build a simple smart circuit that contains at least one action component that we can control wirelessly using Android GUI to control the action component.
I got the inspiration from this show teaching toddlers about colors, so I decided to use Android Phone GUI to control the action component (RBG LED )
to simulate the electrical circuit before implementing it.
Jumper Wires
Breadboard
arduino id to run the code
arduino uno
resistor
The components of the circuit
Arduino UNO
breadboard.
Bluetooth module
RGB LED.
Resistors.
Wiring the components together is done this way
Prepare all the electric circuit components to build the circuit.
Connect the 5V and GND of Arduino to the breadboard.
Connect the circuit components
I wrote the basic code for serial testing and tried it using my Arduino control Bluetooth app
Press the app keys, and the readings will show on the serial monitor
This is our final code; compile and upload to the Arduino Board.
The upload was successful.
After downloading the code and connecting to Bluetooth, during testing the LED did not work. The variables in the code had to be modified from alphabetical letters to numbers.
SOLUTION
PROBLEM