TheIshanJain.com

DIY Bluetooth-Controlled Robot Using Arduino Nano & HC-05 Module

Are you ready to create your very own Bluetooth-controlled robot? This guide will take you step by step through building a simple yet functional robot using Arduino Nano and the HC-05 Bluetooth module. Whether you’re a beginner in robotics or an enthusiast looking for your next project, this tutorial has all the details you need, including affiliate links for components, code, schematics, and the app APK.

What You’ll Need

Below are the components you’ll need for this project:

  1. Arduino NanoBuy Here
  2. Mini BreadboardBuy Here
  3. L298N Motor DriverBuy Here
  4. HC-05 Bluetooth ModuleBuy Here
  5. 3x 18650 3.7V BatteriesBuy Here
  6. 18650 Battery ChargerBuy Here
  7. 18650 Battery HolderBuy Here
  8. Jumper WiresBuy Here
  9.  WheelsBuy Here
  10. DC Motors Buy Here
  11. Android Smartphone with Bluetooth Control AppDownload APK below.

Note: Clicking on the links supports my work through affiliate partnerships.

Step 1: Assembling the Hardware

1. Wiring the Arduino Nano:

Download the Circuit Diagram for this project here

Connect the Arduino Nano to the breadboard. This serves as the brain of the robot.

2. Connecting the L298N Motor Driver:

  • Connect the motor driver outputs to the DC motors.
  • Connect the motor driver’s power inputs to the battery holder.
  • Attach the control pins of the L298N to the Arduino Nano.

3. Setting Up the HC-05 Bluetooth Module:

  • Connect the HC-05 module to the Arduino Nano:
    • VCC → 5V
    • GND → GND
    • RX → TX (Arduino Nano)
    • TX → RX (Arduino Nano)

4. Power Supply:

Insert the 3x 18650 batteries into the holder and connect it to the L298N motor driver for power.


Step 2: Uploading the Code

Download the code for this project here.
Steps to upload:

  1. Open the Arduino IDE.
  2. Connect the Arduino Nano via USB cable.
  3. Paste the code and upload it to the Arduino.

Code Highlights:
The code enables communication between the HC-05 module and the Arduino Nano. It also processes the motor control commands sent from the Android app.


Step 3: The Bluetooth Control App

To control the robot, you’ll need an Android app that can send Bluetooth commands. Download the app’s APK file here.
How to use the app:

  1. Pair your smartphone with the HC-05 module (default password: 1234 or 0000).
  2. Open the app and connect to the HC-05.
  3. Use the directional controls to move the robot forward, backward, left, or right.

Step 4: Final Assembly

Once all components are connected:

  1. Place everything neatly on the robot’s chassis.
  2. Secure the battery holder and breadboard.
  3. Ensure all wires are tucked away to avoid tangling with the wheels.

Code and Schematics


Project in Action

 

https://youtu.be/RRUloq1YoHE

Watch the robot come to life as you control it using your smartphone!

Troubleshooting Tips:

  • Double-check your wiring connections if the robot doesn’t respond.
  • Ensure the HC-05 module is paired successfully with your phone.
  • Test the battery voltage to confirm sufficient power supply.

Conclusion

Congratulations! You’ve built a fully functional Bluetooth-controlled robot. This project is not only a great way to learn about robotics and Arduino but also a stepping stone for more advanced projects.

If you enjoyed this tutorial, consider sharing it with fellow tech enthusiasts. For more such projects, follow me on Instagram @ishanxrobotics and check out my other tutorials on theishanjain.com.

#Arduino #Robotics #BluetoothRobot #ArduinoNano #DIYRobotics #L298N #HC05 #RobotTutorial

Affiliate Disclaimer: As an Amazon Associate, I earn from qualifying purchases.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top