Sunday, May 25, 2014

Arduino Based Phone/ Bluetooth Controlled Bot

Hello

In this article I discuss how I made a Bluetooth Controlled Bot.


Time Required: 

1 Hour

What is it ?

A Bluetooth controlled robot. You can control the movement of the robot (forward, backward, left, right) through an Android device. I used an application named Sena Bluetooth Terminal to send data from my android device to the robot.

Parts Required


1. Arduino Uno
2. Battery Operated Motor (BO)
3. Wheels
4. Chassis
5. L293D Motor Driver
6. 2 9V Battery
7. HC05 Blutooth Module

Most of this parts can be found on ebay. 

If you are reading this out of shear interest, chances are high that you know something to many thing about arduino microcontroller. If not, than just google it.

Before you proceed in making this, learn how to handle the HC05 Bluetooth module. Below is the link that will show you how to get into AT command mode and configure the Bluetooth module. 


https://www.youtube.com/watch?v=-z_0aU8VHzk



Once everything is fine with the Bluetooth module you can fall in line with this article.

The figure below is self-explanatory and here is the wiring information.
The Arduino Uno should be powered with a separate 9V battery (Not shown in figure)


L293D Motor Driver and Arduino Pin Connection 

Pin 1 goes to Arduino Pin 2
Pin 2 goes to Arduino Pin 4
Pin 3 goes to Motor 1.1
Pin 4 goes to Ground
Pin 5 goes to Ground
Pin 6 goes to Motor 1.1
Pin 7 goes to Arduino Pin 5
Pin 8 goes to Arduino 5V pin
Pin 9 goes to Arduino Pin 3
Pin 10 goes to Arduino Pin 6
Pin 11 goes to Motor 2.1
Pin 12 goes to Ground
Pin 13 goes to Ground
Pin 14 goes to Motor 2.2
Pin 15 goes to Arduino Pin 7
Pin 16 goes to 9V supply

Bluetooth module and Arduino pin Configuration

RXD pin to Arduino pin 11
TXD pin to Arduino pin 10
VCC to Arduino 3.3V
GND to Arduino Ground


Note: It is better to use a L293D breakout board rather than the lone IC. They are easily available in ebay.

Note: Arduino ground, HC05 Bluetooth module ground and 9V Ground is common as seen in the figure



Below is the link to the Arduino Sketch or Code
https://drive.google.com/file/d/0BzjnppE-h-xeV21RVzk2MlJkZGs/edit?usp=sharing

1 comment:

  1. If you're trying to lose pounds then you absolutely have to start following this totally brand new tailor-made keto meal plan diet.

    To create this keto diet service, licensed nutritionists, personal trainers, and professional chefs have joined together to develop keto meal plans that are effective, painless, economically-efficient, and delicious.

    Since their launch in early 2019, thousands of individuals have already remodeled their figure and health with the benefits a smart keto meal plan diet can provide.

    Speaking of benefits; clicking this link, you'll discover 8 scientifically-proven ones given by the keto meal plan diet.

    ReplyDelete