This week's assignment is to Communicate wirelessly with a Smart Circuit via a Graphical User Interface (GUI) on your phone or PC.
So, I try to make a small communication could be in my room to open the lamp or to switch it off also to open any door in the room, I browsed google and YouTube to get inspired and I thought to make it as assignment Week 7.
Software:
Arduino IDE: To write the codes responsible for programming Arduino compatible boards.
TINKERCAD (website): to predict and test the output of your circuits before implementing them in real life
*TinkerCad is a simple website that provides the feature of simulating electronic circuits., as well as provide explanations to some of the wiring problems that result in damaging the components in your circuit during simulation (i.e. if the current passing through a component is larger than what it can handle, etc.)
Electronics components
Resistor (220,1000,2000 ohm)
LED Light
Breadboard
Arduino UNO Board
Jumper Wires (per need).
Bluetooth module.
Servo motor.
USB cable.
Adaptor 5V.
Arduino bluecontrol app.
First I chose to try the output and the main parts which is the led and Servo motor, and the Bluetooth module which is the main component in the assignment.
I search for how other people connect components with Bluetooth module together.
Second, I used TINKERCAD to simulate the circuit before I started to Build the circuit on a breadboard.
Third I connect the resistor 220 ohm to the positive LED. And the cathode pin to the GND (common ground.) & Led to pin no. 2.
Fourth I connected the 1000&2000 ohm resistors to the wiring of Bluetooth module, as in the week video tutorial. Video: Wired serial communication (Transmitting and receiving data through serial monitor). Then I connected the adaptor with common ground and positive with the positive wiring of breadboard.
VCC to Positive od breadboard.
GND to Negative of breadboard.
Then I connected servo motor to pin no. 3.
Finally I tryed to wite the Text code to the ARDUINO software to upload it to the Arduino.
I wrote it with some help from the week tutorial.
I started to collect the component I need then I connected them as I do in the simulation in TINKERCAD.
I connect the Bluetooth module as the video tutorial, and I do it right.
After uploading the code, installing the Arduino control app, connecting to bluetooth module with mobile. I start to test the circuit as in the video.
I faced a problem when I connect the Bluetooth module to the Arduino, the Led and the servo didn't move, I thought that the problem is in the code, so I asked Mohaned the Instructor, and he told me to connect the adaptor and make a common ground, finally the problem was solved.
I know how to communicate with the mobile by using Arduino and servo motor so it could help me to think of my complete features that to control my moving chair by mobile app.
I'll never forget to try and make sure that the component could need an external power not only the ARDUINO, but we should connect an adaptor to get the power needed,
In the EOWeek session, we were asked to Build and Program Micro Robot Arm
In group we used three servo motors and The robot Arm consists of three main parts: Foot , Middle, and Extender Parts .
👋 👋