Led lights with different colors used as communication tool
The assignment is to communicate wirelessly with a Smart Circuit via a Graphical User Interface (GUI) on your phone or PC.
My inspiration came from how Deaf and dumb people communicate with their families inside their houses, for example, they can't hear the door pill or any sound so they use led lights to get attention and this means they can communicate through the differentiation of the led colors.
TINKERCAD
Resistor
BUZZER
WIRES
Bluetooth Module
RGB LED
Arduino UNO
Arduino IDE
Tinkercad circuit
I started by using Thinker Cad to simulate my circuit.
I connected the Bluetooth Module with Arduino on RX & TX 3.3V and the other pins with the ground then I connected the buzzer with Arduino on pin 7 & the other side on the ground connected RGB LED with Arduino on pins 2,3&4 with resistor 220 ohm and another side on ground Arduino connected with ground & 5v with breadboard
I used the same components that I used on Tinkercad
I connected Bluetooth Module with Arduino & breadboard, connected RGB LED with resistors 220 ohm & with Arduino, and connected the buzzer with Arduino & breadboard and control the process by my mobile finally I upload the code & do it in real with a 9V adapter.
Code
I started with defining all pins on Arduino RGB LED on 4, 5& 6
Buzzer on 7Then I define all pins as output in void setup.
for the incoming data 2; will be Green-light
if for the incoming data 3; it will be Blue light
if for the incoming data 4; it will be White light
else; the Buzzer works
the repetitive disconnection of the Bluetooth Module was the main challenge this week, as the video showed the Bluetooth module disconnected in the middle of the process and I had to reconnect it again and again.
I couldn't find the Bluetooth Module in tinkercad so I searched and found an old circuit and take the WiFi module from it but tinkercad does not support it anymore though I used it as sample
I decided to not use the Bluetooth module in the final project because the stability problems
we had a lot of fun this week in this fishing game :)
Title of Media