This week, we have to build a simple smart circuit that contains at least two action components that you can control wirelessly.
We have to use either the Android GUI or PC GUI to control the action components.
So, I wanted to control the 7-segment and the buzzer using my phone.
The software wasTinkerCAD Circut to design and simulate the electronic circuit.
Also, I used Arduino to write and upload the code.
The electronics component I used:
Bluetooth module
Buzzer
7-Segment
M-M wires
M-F wires
Resistor
Arduino UNO
Cable
Breadboard
I used TinkerCAD to design the wiring diagram of the circuit and make sure that the wiring is in the right way. There was no Bluetooth module in TinkerCAD so I used ultrasonic instead of it.
Input:
Bluetooth module
Output:
7-Segmant.
Buzzer.
First, I mentioned every letter with its corresponding pin to make it easer for me.
Then, I set a variable for the data I will receive from the phone.
I made 10 conditions for the numbers from 1 to 9 and for the buzzer.
Here is the final outcome.
This week was so easy, I enjoyed the coolest games we made through it.
The problem I faced, was that we used more than one Bluetooth module at the same time so there was not any connection.
The instructor advised us to use only one at each time and it worked.
Maybe in the final project, I will add something to Communicate wirelessly with a Smart Circuit via a Graphical User Interface (GUI) on my phone.
I learned how to communicate wirelessly with a Smart Circuit via a Graphical User Interface (GUI) on my phone or PC which is a very interesting thing.
There was a problem in the components, but we managed to design a small robotic arm