Hi guys,
In this project we will control a DC motor with a smartphone via bluetooth. This project is great to learn more about:
-DC motor
-Interfacing Arduino with your smartphone
-Bluetooth module

you can visit my website for more electronic projects, interesting news and tips.
Check this video to see it working

Step 1: Parts required

1x Arduino Uno
1x Bluetooth Module (for example: HC-05)
1x Smartphone (any Android will work)
BlueTerm application
1x L293D IC
1x DC motor
1x Breadboard
Jumper Cables
<p>thx a lot bro, this is mine: <a href="https://www.youtube.com/watch?v=NeP0aTYB5qU" rel="nofollow">https://www.youtube.com/watch?v=NeP0aTYB5qU</a></p>
hey after instaliing blueterm app. do we need to do anythng in that app.. means for setting commands n all.. plz reply fast...
<p>i had burn code in Arduino board <br>everything is done from my side<br>stilling confusing how to use it with application<br>data is not fetching</p>
You don't need to configure anything... I think, but you can change if you like... for a better display. take a look at all the setting and change the way you prefer. <br>Sorry for taking so long to answer I've only saw you question today. <br> <br>
<p>i made this <br>i check everything twice <br>sometimes getting error from blueterm application &quot;device connection was lost&quot;<br>motor not work and I'm not getting any response from device</p>
How many dc motors can i control with it?
<p>Looks good work i like it .</p>
<p>i made it..but the ic gets hotter. what is the reason..and can i control two motors with it.?</p>
<p>pls send the complete working code.</p>
<p>ur ic is heated because of the high current u r drawing through the motor.... maybe instead of l293d , u should go for l298. and yes u can control two motors from a single l293d or l298. </p>
<p>Get it up front that you are charging $20 for this book and you will get a few more takeups . I for one won't be .</p>
<p>I Made it!!!!</p>
<p>dc motor is unable to get power supply sir?</p><p>any suggetions?</p>
Hey dear what is the range of bluetooth modulo?<br>How far can i operate motor?
<p>I made simple Do it yourself in 10 minutes bluetooth controlled home automation</p><p>http://www.instructables.com/id/Take-control-of-yo...</p>
<p>Hey this is very useful, I will use the same one with much bigger DC motor. </p><p>Do you think L293D will burn because of the more current?</p>
<p>hi i need to control 4 dc geared motor using bluetooth how can i do that ?</p>
<p>Hello sir; I have a question concerning the video which allows to command(order) an engine has direct current and I shall want to know what is that I few to put a servomotor instead of the engine has direct current and is that I little to command(order) several engine in liver? And thank you in advanc</p>
<p>Hi, i have a question and i hope you guys can help me with this. how does the arduino actually know actually know which data it is going to send or receive? in which part of the code does it do that? i want to make two arduinos one having a HC05 as a master sending data over to a HC06 slave on two different laptops. I hope you can answer me.</p>
<p>Well in the given program, after the loop</p><p>there are if, else if, else if statements. In those it is clearly mentioned the below things</p><p>input = 0, then both input pins ( 2 &amp; 7 ) should be LOW</p><p>input = 1, then 2 should be LOW &amp; 7 should be HIGH</p><p>input = 2, then 2 should be HIGH &amp; 7 should be LOW<br><br>I hope you got it !!</p>
<p>Can you send me thesis nd ppt of this perticular mini project. plz sir I am herbly request you send me this project related suff on my email. I am not able to make thesis of this project. pratikmankar1802@gmail.com this is my id plz send me</p>
<p>can i use L298 in motor driver shield instead of teh single chip L293</p>
working wonderful <br>
<p>Could it be done with pic18f4550?</p>
although i connected everything correctly n uploaded the code, it doesn't work is anything wrong wid the app or i m missing something?
<p>I'm new in all these so I had a question, what is the purpose of the variable &quot;flag&quot;?</p>
<p>Sir Rui Santos, I have a question. May I know if it is possible to get sensor value and command an Arduino (e.g. motors using L293D) at the same time? If yes, i hope you'll give me some ref, Thanks.</p>
<p>Sir Rui Santos, I have a question. May I know if it is possible to get sensor value and command an Arduino (e.g. motors using L293D) at the same time? If yes, i hope you'll give me some ref, Thanks.</p>
<p>Sir Rui Santos, I have a question. May I know if it is possible to get sensor value and command an Arduino (e.g. motors using L293D) at the same time? If yes, i hope you'll give me some ref, Thanks.</p>
<p>Hi</p><p>Thanks for your tutorial. I am trying to contrrol arduino by android. I have done coding for arduino but I want to make prosecc when its is pushed android on button so can you sahere ardoino source code.</p>
<p>Is it available to use by I-phone?</p><p>I don't have any Android device.</p><p>Also, can you recommend a bluetooth control App?</p>
<p>can I use any kind of bluetooth module?</p>
<p>can I use any kind of bluetooth module?</p>
<p>i had to change by tx,rx becoz it was not working,</p>
<p>How could I modify the code to add in voice commands and connect a bluetooth headset to verbally command arduino/bluetooth module?</p>
<p>there is no need to modiy ur code ,just use a voice enabled blueetooth app from playstore. </p>
<p>HELP NEEDED</p><p>hi,i wrote a program to control to 12v dc motor x 2,motors are moving forward and reverse ,but there is an issue,when i press 1 ,output fwd,but when i press o,output is fwd,but when i press 0 and 1 simultaneously it may give output :rwd </p><p>using blueterm app .</p><p>ur code is nor uploading to mcu:arduino,showing some error.</p><p>code:below</p><p>#include &lt;SoftwareSerial.h&gt;//import library</p><p>SoftwareSerial Blueterm (10, 11);// rx ,tx</p><p>int motoroutput1=3;</p><p>int motoroutput2=4;</p><p>int motoroutput3=6;</p><p>int motoroutput4=7;</p><p>int motorenableA=5;</p><p>int motorenableB=8;</p><p>int BluetoothData; //data from blueterm app</p><p>void setup() {</p><p>Blueterm .begin(9600);</p><p>Blueterm .println(&quot; press 0:FWD&quot;);</p><p>Blueterm .println(&quot; press 1:RWD&quot;);</p><p>pinMode(motoroutput1,OUTPUT);</p><p>pinMode(motoroutput2,OUTPUT);</p><p>pinMode(motoroutput3,OUTPUT);</p><p>pinMode(motoroutput4,OUTPUT);</p><p>pinMode(motorenableA,OUTPUT);</p><p>pinMode(motorenableB,OUTPUT);</p><p>digitalWrite(motorenableA,HIGH);</p><p>digitalWrite(motorenableB,HIGH);// put your setup code here, to run once:</p><p>}</p><p>void loop() {</p><p> if (Blueterm .available()){</p><p> BluetoothData=Blueterm .read();</p><p> if(BluetoothData='0'){</p><p> digitalWrite(motoroutput1, HIGH);</p><p> digitalWrite(motoroutput2, LOW);</p><p> digitalWrite(motoroutput3, HIGH);</p><p> digitalWrite(motoroutput4, LOW);</p><p> Blueterm .println(&quot;Motoroutput fwd&quot;);</p><p> }}</p><p> if (Blueterm .available()){</p><p> BluetoothData=Blueterm.read();</p><p> if(BluetoothData='1'){</p><p> digitalWrite(motoroutput1, LOW);</p><p> digitalWrite(motoroutput2, HIGH);</p><p> digitalWrite(motoroutput3, LOW);</p><p> digitalWrite(motoroutput4, HIGH);</p><p> Genetronex.println(&quot;motoroutput rwd&quot;);</p><p> }}</p><p> //if (blueterm.available()){</p><p> // BluetoothData=blueterm.read();</p><p> //if(BluetoothData='2'){</p><p> // digitalWrite(motoroutput1,HIGH);</p><p> // digitalWrite(motoroutput3,LOW);</p><p> // digitalWrite(motoroutput2,LOW);</p><p> //digitalWrite(motoroutput4,HIGH);</p><p> //blueterm.println(&quot;motoroutput left&quot;);</p><p> //}</p><p> //if (blueterm.available()){</p><p> //BluetoothData=blueterm.read();</p><p> //if(BluetoothData='3'){</p><p> //digitalWrite(motoroutput1,HIGH);</p><p> //digitalWrite(motoroutput3,LOW);</p><p> //digitalWrite(motoroutput2,LOW);</p><p> //digitalWrite(motoroutput4,HIGH);</p><p> //blueterm.println(&quot;motoroutput right&quot;);</p><p> //}</p><p> //if (blueterm.available()){</p><p> // BluetoothData=blueterm.read();</p><p> //if(BluetoothData='4'){</p><p> //digitalWrite(motoroutput1,LOW);</p><p> //digitalWrite(motoroutput3,LOW);</p><p> //digitalWrite(motoroutput2,LOW);</p><p> //digitalWrite(motoroutput4,LOW);</p><p> //blueterm.println(&quot;motoroutput STOP&quot;);</p><p> //}</p><p> }//}} //}}}</p><p> // put your main code here, to run repeatedly:</p>
<p>i am wworking on a project to control a robot using bluetooth .help in interfacing bluetooth module working on pic 16f</p>
<p>I&rsquo;m working on a project which is about making a rescue <br>robot . I have struggling with it for 4 months and now all the mechanical works <br>had been done . but I&rsquo;m facing difficulty in make the robot to work with rf <br>module can u plzz help me&hellip;</p><p>I want make transmitter and receiver that can control the <br>motion&hellip;I mean that receiver should have control 8 dc gear motor and each dc <br>motor should have a forward and backward botton to control the motion &hellip;&hellip;can u <br>kindly help me with this project &hellip;.if u can make the circuit board diagram for <br>the PCB &hellip;.or any other suggestion plz reply&hellip;&hellip;mail me at &ldquo;sunny1995gagan@gmail.com&rdquo;</p>
<p>I have a project - Bluetooth data acquisition system using arduino , I will be receiving data on my android phone, so if I could know the android coding part it really would be helpful.</p>
<p>ur project is interesting i also want to do that would u please mail the pics n details to me @ my mail id rahul.kumar200593@gmail.com</p>
<p>can i use L293NE IC than L293D IC?</p>
<p>The NE is just the package so there is a L293NE and a L293DNE, but the difference is that the L293DNE has flyback diodes built in while the L293NE does not and they need to be added externally as on page 2 of the datasheet: </p><p>http://www.ti.com/lit/ds/symlink/l293d.pdf</p>
<p>can i use 2 motors? and how?</p>
<p>can i use my nano to create this project</p>
<p>i need ur .aia file for android</p>

About This Instructable


586 favorites


Bio: Author, Blogger, Electronics Enthusiast and Entrepreneur. For complete Electronics Projects and Tutorials go to: http://randomnerdtutorials.com/start-here
More by RuiSantos: ESP8266 Web Server (Without Arduino) Arduino Simple Memory Game Arduino – Datalogger with Temperature Sensor and Photoresistor
Add instructable to: