Week 8- journal
Week 8- journal
The assignment for 8th week :
Communicating wirelessly with a Smart Circuit via a Graphical User Interface (GUI) on your phone or PC.
I applied all process as the following with a consideration of instructions:
I used Tinkercad to design the circuit , the resistor calculator to calculate the ohm of resistor , Arduino IDE to write and download the code on the Arduino UNO and
Software/Tools/ materials has been required for the project as the following:
Design Software (an electric circuits & simulation) : TinkerCAD
Arduino BlueControl :Sending Data to Arduino,
Code Text Software:
IDE Application
Components:
adapter (9V) , Arduino UNO , Bluetooth module , RGB led , 3 resistors 220 0hm , 1 resistor 560 ohm , 1 resistor 1000 ohm, buzzer, Breadboard , Jumpers.
I designed the circuit depending on the sequence of the main idea, used the Tinker-Cad to simulate the circuit connections as the following:
circuit by Tinker cad as the following:
I used the resistor calculator to calculate the ohm of resistor .
2. 5v -Arduino linked to breadboard (+), GND linked to the bread board (-).
3. buzzer linked to pin 11 and to (-) breadboard.
4. I connect the RGB led negative terminal to GND ,
5. Red terminal with 220 ohm resistor to pin 2 , Green terminal with 220 ohm resistor to pin 3 , Blue terminal with 220 ohm resistor to pin 4 .
6. TX of the HC-05 linked to RX -Arduino.
7. TX - Arduino linked with 560 and 1000 ohm resistor to the GND then i take a wire after the 560 ohm resistor and connect it with the Rx of the Hc-05.
Resistors Calculator
https://www.digikey.com/en/resources/conversion-calculators/conversion-calculator-resistor-color-code
I selected and arranged the code blocks depending on the sequence of the main idea, used the Tinker-Cad /code/blocks to simulate the circuit and the code blocks as the following:
I designed Text Code on Arduino IDE as the following
I followed the same wiring of Tinker Cad and test it:
connecting components to Arduino and breadboard
Piezo inserted in (11)digital pin and the other with (-).
RGB to pins (2,3,4).
TX of the HC-05 linked to RX -Arduino.
6. TX - Arduino linked with 560 and 1000 ohm resistor to the GND then i take a wire after the 560 ohm resistor and connect it with the Rx of the Hc-05.
connect Arduino to laptop using USB cable and upload code and control with GUI app.
Setting for Buttons
Bluetooth is connected to Mobile Phone
Clickable Buttons are ready to be used.
actually, it is the fastest Week assignment for me, due to it comes after better experience with the process, so I didn't find difficult finally.
I didn't know how to connect the HC-05 I played back videos and could do it finally .
in the beginning I face a problem with rx and tx inlet but Mai -a member in A3- sent me her trial by restarting the Arduino then inversing rx & tx pins .
If I could apply the full process of my project, I would use Wifi/ Bluetooth Module. to control "Mongiz" via remote control and send it down.
"2adora" Catches The Fish!
Robot Arm for catching the fish competition in the end of week session was really big Wow. but un fortunately my team lost it in the final round.