Control DC Motors With Your Smartphone (Perfect for a Robot)

74,806

130

72

Introduction: Control DC Motors With Your Smartphone (Perfect for a Robot)

About: Author, Blogger, Electronics Enthusiast and Entrepreneur. For complete Electronics Projects and Tutorials go to: http://randomnerdtutorials.com/start-here
In this tutorial I’ll show you how you can control 2 DC motors via bluetooth with my brand new Android app.

It’s called “BlueArd” and It’s the 1.0 version. I want to upgrade my app later and add more features.

This app was created with MIT App Inventor. It’s a great place to start with android development.

How It Works:

Step 1: Parts Required

  • 1x Arduino Uno
  • 1x Bluetooth Module (for example: HC-05)
  • 1x Smartphone (any Android will work, I’ve only tested with Samsung Galaxy Ace)
  • BlueArd Application (you can download it below)
  • 1x L293D IC
  • 2x DC motor
  • 1x Breadboard
  • Jumper Cables

Step 2: Schematics

It's really easy to complete this step. You just follow the schematics provided in this picture.

Leave a comment if you have any question.

Step 3: Arduino Code + Android App

Download all my source codes below:
  • Arduino Sketch
  • BlueArd.apk
  • BlueArd Source files (for editing my app with appinventor)
Click Here for Direct Download.

What exactly you need to do? 
Simply download that folder above and unzip it.
Upload the Arduino sketch into your arduino and install the BlueArd.apk file on your smartphone.

Step 4: Final Product!

Watch this video below with a quick demo:


Did you enjoyed this project?
Please support my work by sharing this project with a friend!

Make sure you follow me on instructables so you don't my next project!

Have a problem?
Leave a comment below and I'll help you :)

Share

Recommendations

  • Water Contest

    Water Contest
  • Creative Misuse Contest

    Creative Misuse Contest
  • Tiny Home Contest

    Tiny Home Contest

72 Discussions

Sir, may i know ....
How to run large dc motor using smartphone

hii thr......my right motor is working , left is not moving

I got the solution problem bro.... your bluetooth module must be getting disconnecting.. dont use your laptop power to drive the circuit.. Use a much increased D.C source. i.e Adapter

0
None
JayB38

2 years ago

My bluetooth module automatically disconnects after a series of commands. How can I fix this? Please help sir. Thank you

1 reply

yeah mine is having the same problem... Do suggest me if you get a solution..

Hi there, I've made a replica of yours and done everything the exact same however when my motors stay motionless no matter what I do. I do have 3 AA's (4.5V) in a 5V port but that shouldn't matter shouldn't it? And also is the wire in the arduino in port 10 or 11?

i want source code of the application android !!

Sir i want to connect the motors with a sheild without using ic .i am confused with enable pins ..please help asap

I'm assuming this will only work for Android phones?

Sir is it possible to control 4 dc motors?what will changes in circuit??

1 reply

the way cables connected as shown in video and image is not as that shown in diagram

Can i control big motors with thz??

Plss sir can you share your code to me plss.. i need it plss.. sir