Android Controlled Bot Using Adafruit Motor Shield

by RishabhL in Circuits > Arduino

4643 Views, 11 Favorites, 0 Comments

Android Controlled Bot Using Adafruit Motor Shield

P_20160601_142756.jpg

This is a simple hobby circuit of Android Controlled Bot usin Adafruit motor Shield & Arduino uno. The main component used here is the Adafruit motor shield, Arduino Uno, Bluetooth & Android device. Using Motor Shield we can drive two DC motors at 64Khz speed and also can controll the speed. Using Arduino Uno & Bluetooth we can controll the DC motors their directions and speed . The advanced of this circuit is PWM speed controll. You must need an Android Device to controll the bot. Below is the total description of this project.

Components Needed

P_20160522_151927.jpg
P_20160522_152011.jpg
P_20160522_152258.jpg
P_20160522_151948.jpg
P_20160522_152116.jpg
P_20151202_154853.jpg
P_20151202_154909.jpg

1. Arduino Uno

2. Batteries

3. Battery clips

4. RGB LED's

5. Adafruit Motor Shield

6. Bluetooth HC-05

7. 2DC Motors & Chassis

8. Wheels

9. Connectors

10. Buzzer

11. LED's

12. Cable

13. Android Device

14. Female header

Assembling and Connections

P_20160522_152242.jpg
P_20160522_152411.jpg
P_20160522_152517.jpg
P_20160522_152612.jpg
P_20160523_173221_HDR.jpg
P_20160523_173232_HDR.jpg
P_20160523_173308_HDR.jpg
Adaruit motor.JPG

Place two geared dc motors on chassis fit it with screws, Connect wheels.

My Arduino having male headers so i solderd the female header to connect the adafruit motor shield. If you are using Arduino Uno then no need of female header. Solder the two blocks of female header on motor shield for 5v and gnd for bluetooth module. Connect all the circuit as shown in the ckt diagram .

Programming Arduino

First we need to add Adafruit motor Library. Download it from attachment.

Open Arduino IDE>sketches>include library> add zip library > select zip file of motor library.

Upload the code in attachment to your arduino.

Installing Android App

Screenshot_2016-06-01-15-53-14.jpg

Install the Android App.

Pair your HC-05 bluetooth module.

click on bt icon > select HC-05 > wait 3 sec

Click 1 2 3 4 to vary the speed.

Its done!

Start Enjoying!