assignment
this week's assignment idea was to build a simple smart circuit that contains at least two action components that you can control wirelessly and use either the android GUI or PC GUI to control the action components.
inspiration
I was impressed by the 7 segments so I decided to control it through the mobile and added RGB led to add some fun where with each number that appears on the 7 segment a different color appears.
Software
tinkercad: I use tinkercad to simulate the circuit before actually designing it.
Arduino IDE: To write the codes responsible for programming Arduino-compatible boards.
Arduino Bluetooth Control
Component List
arduino uno
RGB LED
7 Segment
Wires
Breadboard
bluetooth module
resistor
arduino uno
7 Segment
breadboard
USB
Wires
bluetooth module
RGB LED
resistor
First: I used (Arduino Uno, RGB LED, Breadboard, 7 Segment, resistor, and Bluetooth module)
Then: I started wiring them according to the following scheme :
I used TINKERCAD to simulate the circuit before I started to Build your circuit on a breadboard and test it.
First: I defined the component I used and which pins they are connected to on the Arduino.
Step 1
Second: in the Void Setup sekchen, I wrote the processes I want to be run for once.
Step 2
Step 3
Third: Void loop
Step 4
Step 5
Step 6
Step 7
Step 8
Step 9
Step 10
Step 11
First: I used (Arduino Uno, servo motor, Breadboard, IR sensor, Buzzer, on/ off switch, and LCD)
Then: I started wiring them according to the following scheme:
Simulation on reality
I faced a problem after connecting the circuit and writing the code, where during the simulation I sold the number 1 it was showing on the 7segment number 1 and the RGB led I was with white enlightenment but when I clicked on the number 2 it was the RGB led with normal red enlightenment but it was showing on the 7segment number 6 inverted
solutions:
I found an error in the code as I give an order to the bulbs of the number that they work, but I do not give an order to the rest of the bulbs that they turn off, so when I press No. 1, after that I press 2, No. 2 appears, and the reversed No. 6 appears because No. 1 is still working, so the two numbers appear together.
Now I know how to attach the Bluetooth module to my final project.
we made a robot arm at the end of the week session and it was very interesting and fun for me..