Inspiration
I used Arduino as a controller for the buzzer and a servo motor using Bluetooth. If we send a command from a mobile app (like 1 or 2), the Arduino will turn on the buzzer or move the servo motor
https://youtu.be/X2163PDWvtI?si=1mjkG74663exbcx9
Using thinker CAD to build and simulate the circuit
Electronics I used in the Assignment
servo motor
arduino UNO
Blutooth Module
jumper wires
Bread Board
9V Adapter
Buzzer
voltage regulator 5v
BUILDING MY CIRCUT
Add voltage regulator 5v to Bread board.
connect vcc pin from voltage regulator to 5v pin in arduino .
connect Ground pin from voltage regulator to Ground pin in arduino .
Connect the last pin from voltage regulator to Vcc in Blutooth Moduler.
Connect the vcc from servo to 5V row in Bread Board.
Connect the Ground from servo to Ground row in Bread Board.
Connect the Signal from servo to 9 pin in arduino .
Connect the vcc from Buzzer to 8 pin in arduino .
Connect the Ground from Buzzer to Ground row in Bread Board.
Connect the Ground from Blutooth modular to Ground pin in arduino .
RX from Blutooth modular to pin 0 in arduino .
RT from Blutooth modular to pin 1 in arduino .
Programming
The Arduino needs to know which components are connected.
We’ll define the buzzer (the beeping sound maker) and servo motor (a motor that rotates).
Write this at the beginning of your code:
The setup() function runs once when the Arduino is powered on.
Here, we tell the Arduino which pins will send signals (Output).
Write this inside setup():
The loop() function runs forever.
We want the Arduino to listen for commands from the computer:
If we send '1' → The buzzer beeps.
If we send '2' → The servo moves to 90° and then returns back to 0°.
Write this inside loop():
arduino bluetooth control app was used to control the project
follow the steps from thinker cad and watch the video
The Arduino board processes commands and sends signals to the buzzer and servo motor.
The servo motor rotates based on the received command.
The buzzer produces a short beep when activated.
I asked about the challenges I faced while preparing the files, and the trainers played a big role in overcoming the obstacles.
While working on the project, I faced an issue where the Bluetooth module wasn’t working. At first, I thought the problem was the protective cover, so I tried to remove it, but I got injured in the process.
Who/What Did I Turn To for Help?
After unsuccessful attempts, I asked the instructor during the last lecture of the week for guidance.
I also checked the wiring diagrams to ensure my connections were correct.
Key Lessons and Mistakes to Avoid:
Do not forcefully remove any parts without confirming they are causing the issue.
Double-check all connections and wires before assuming a component is faulty.
If a module isn’t working, first try reconnecting it, ensuring it has power, and testing it on another board before making physical modifications.
Safety first Handle electronic components carefully to avoid injuries.
Bluetooth Communication: Since I learned how to send and receive data via Bluetooth, I can integrate this feature into my final project to allow wireless control and interaction.
Troubleshooting & Debugging: The challenges I faced taught me how to systematically diagnose and fix issues, which will help me avoid delays in the final project.
The coolest thing I learned this week was how to control a servo motor and a buzzer using Bluetooth communication with an Arduino. Being able to send a simple command and see the motor move or hear the buzzer beep felt like magic!
One thing I will never forget from this week is when I tried to remove the cover from the Bluetooth module, thinking it was the reason it wasn’t working and I ended up getting hurt! It was a painful but valuable lesson: always troubleshoot systematically before making assumptions.