About This Project

In this tutorial, we will learn how to create a Bluetooth Controlled Robot.

Project Info

  • Programming Platform: Arduino IDE
  • Difficulty: Intermediate
  • Estimated Time: 2 Hrs
  • Category: Arduino, Robotics

Introduction

We are living in a technologically advanced era where everything is connected. From our gadgets to home appliances, the devices are connected via Bluetooth. Bluetooth is a short-range wireless communication technology that enables devices to transmit data/files/voice wirelessly over a short distance. Simply put, it is the smart alternative to wired connections.

Today, we will be making a wirelessly Bluetooth Controlled Robot that when connected to the Bluetooth of the mobile phone will be able to move from one place to another. All we need to do is wirelessly control the robot via the mobile app. While the RF module works on Line of Sight (LOS), the Bluetooth module is different and works wirelessly even from a distant place (within a particular range) like another room.

Components Required

IMAGE COMPONENT QUANTITY

bo-motor

BO Motor

2

wheels

Wheels

2

bluetooth-module-HC-05

Bluetooth Module HC-05

1

motor-driver

Motor Driver (L293D)

1

jumper-wire

Jumper Wires

As Per Requirement

4-wheel-driver

4 wheel drive

1

Battery

Battery

1

arduino

Arduino

1

Battery-clip-with-DC-jack

Battery clip with DC jack

1

Building Guide

Step 1: Assembly

  • Assemble the 2 Wheel drive bot is simple
  • Start by unwrapping the package.

line-follower-robot
aurdino

  • Here you will find 4 wheels, 2 BO motors, 1 chassis, Battery Box, connectors, Caster wheel, and nut & bolts.
  • Now, connect the wires to the BO motors connecting heads.

arduino-motor-connection
replace-aurdino-with-motor

  • Repeat the same process for the rest of the motors.

connect-two-motor-with-each-other

  • Now, connect the BO motor to the base plate or the chassis with the help of connectors and tighten them using the screw and bolts.

bo-motor
connect-bo-motor-with-plate

  • Now, repeat the same steps for the other BO motors.

connect-castor-wheel

  • Now, connect the castor wheel.

connect-battery-box-to-the-chassis

  • Connect the battery box to the chassis.

connect-switch

  • Connect the switch to turn on and off the bot.

connect-switch-to-turn-of-bot

  • Make the connection of the switch by using the red wire.

red-wire

  • Connect the motor driver L293D with the motor wires.

dc-jack-arduino

  • Use the DC jack to power the Arduino and connect it with the battery pins.

dc-jack

  • Now assemble the wheels.

now-assemble-the-wheels

  • Connect the HC-05 Bluetooth module to the Rx and Tx pins of the Arduino.

connect-bluetooth-hc-05
bluetooth-controlled-robot

Step 2: Logic

  • If the command forward is received, then move forward.
  • If the command Backward is received, then move backward.
  • If the command Left received, then move left.
  • If the command Right is received, then move right.

Step 3: Circuitry of the Bluetooth Controlled Robot

  • Powering the components
  • Powering the Bluetooth sensors
  • VCC to 5V
  • GND / to GND
  • Tx to Rx
  • Rx to Tx
  • Powering the motor driver
  • 12V to Vin pin
  • GND to GND
  • Left Motor to 3,4
  • Right Motor to 5,6

Step 4: Code

  • Defining the motor pins.

defining-the-motor-pins

  • Moving the motor forward on receiving the forward command.

The following code will help you to make the Bluetooth Controller Robot

Code

DESCRIPTION

DOWNLOAD CODE

Bluetooth Controlled Robot Code 


Download Code

With this we have come to an end of the project of making bluetooth controlled robot. Hope you liked it and would definitely try your hands on it. We would love to hear from you. Leave your comments below to have your say regarding bluetooth controlled robot you have made.