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

79,810

133

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: https://RandomNerdTutorials.com
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:

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

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 :)

1 Person Made This Project!

Recommendations

  • Trash to Treasure Contest

    Trash to Treasure Contest
  • Raspberry Pi Contest 2020

    Raspberry Pi Contest 2020
  • Wearables Contest

    Wearables Contest

72 Discussions

0
PRAJWALL
PRAJWALL

Question 2 years ago on Step 1

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

0
adit.chaudhari
adit.chaudhari

2 years ago

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

0
Asadullah Mughal
Asadullah Mughal

4 years ago

Fix it please or reply me as soon as possible what's the error bro

temp_1583674468.jpg
0
NitinB35
NitinB35

Reply 2 years ago

same problem arises in my app .. tell me if you find any solution

0
NitinB35
NitinB35

Reply 2 years ago

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
JayB38
JayB38

4 years ago

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

0
NitinB35
NitinB35

Reply 2 years ago

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

0
dif0001
dif0001

2 years ago

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?

0
aloulou123456
aloulou123456

2 years ago

i want source code of the application android !!

0
Prakhar Joshi
Prakhar Joshi

3 years ago

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

0
h3yh3yjj
h3yh3yjj

3 years ago

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

0
RathinS
RathinS

4 years ago

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

0
Alexander heron the inventor
Alexander heron the inventor

Reply 3 years ago

use the ulc2003(forgot the name but I think that's correct ) it can control 7

0
maranadha777
maranadha777

3 years ago

do I need code for arduino to make it run?

0
maranadha777
maranadha777

3 years ago

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

0
vishu8866
vishu8866

3 years ago

Can i control big motors with thz??

0
MichaelM463
MichaelM463

4 years ago

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