Arduino - Control 2 DC Motors Via Bluetooth - Random Nerd Tutorials
Arduino - Control 2 DC Motors Via Bluetooth - Random Nerd Tutorials
Menu
O aplicativo que você vai construir é perfeito para controlar qualquer pino Arduino
ou para integrar com seu próprio carro robô . Você pode editar este aplicativo para
suas necessidades específicas.
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 1/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Este módulo bluetooth trabalha com dados seriais. Isso significa que o Arduino
envia informações e o módulo bluetooth as recebe via serial (e vice-versa).
Por padrão, o módulo bluetooth HC-05 opera a uma taxa de transmissão de 9600.
Você precisa de uma conta do Google para se inscrever no MIT App Inventor e
aqui está a página de login: http://ai2.appinventor.mit.edu .
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 2/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Se você for para a aba Projetos, você pode carregar o arquivo .aia para este
projeto
Com o MIT App Inventor, você tem 2 seções principais: designer e blocos. O
designer é o que lhe dá a capacidade de adicionar botões, texto, telas e editar a
aparência geral do aplicativo.
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 3/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Recomendo que você comece seguindo este projeto e usando o aplicativo sem
modificá-lo.
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 4/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
You can either generate a QR code that you can scan with your smartphone
and automatically install the app in your smartphone.
Or you can download the .apk file, connect your smartphone to your
computer and move the .apk file to the phone.
Simply follow the installation wizard to install the app and it’s done!
Code
For this project, you don’t need to install any Arduino libraries. So, you just have to
download or copy the following code to your Arduino IDE, and upload it to your
Arduino board. Make sure that you have the right Board and COM port selected.
/*
* created by Rui Santos, https://randomnerdtutorials.com
* Control 2 DC motors with Smartphone via bluetooth
*/
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 5/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
pinMode(motor1Pin1, OUTPUT);
pinMode(motor1Pin2, OUTPUT);
pinMode(enable1Pin, OUTPUT);
pinMode(motor2Pin1, OUTPUT);
pinMode(motor2Pin2, OUTPUT);
pinMode(enable2Pin, OUTPUT);
// sets enable1Pin and enable2Pin high so that motor c
digitalWrite(enable1Pin, HIGH);
digitalWrite(enable2Pin, HIGH);
// initialize serial communication at 9600 bits per se
Note: before uploading the code, make sure you have the TX and RX pins
disconnected from the bluetooth module!
Parts Required
You can use the preceding links or go directly to MakerAdvisor.com/tools to find all
the parts for your projects at the best price!
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 6/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Schematics
Follow the schematic diagram in the following figure to wire your circuit.
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 7/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Tap on the newly installed app. Press the “Connect” button to connect your
application to your Arduino Bluetooth module.
Now you can easily control the 2 DC motors with your app:
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 8/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Troubleshooting:
Remove the RX and TX cables when you’re uploading a new sketch to your
Arduino board
People often connect the TX from the bluetooth module to the TX of the
Arduino, that won’t work. Make sure you connect: TX goes to RX and RX
goes to TX.
Wrapping up
I hope you found this useful.
Do you know a friend that would like to see this project? Make sure you share this
project with your friend!
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 9/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Do you want to learn more about building apps for Arduino? Get access to our
course: Android Apps for Arduino with MIT App Inventor 2.
Rui
P.S. If you don’t have a bluetooth module, read my HC-05 review here.
Learn how to build a home automation system and we’ll cover the following main
subjects: Node-RED, Node-RED Dashboard, Raspberry Pi, ESP32, ESP8266, MQTT,
and InfluxDB database DOWNLOAD »
Recommended Resources
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 10/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Home Automation using ESP8266 eBook and video course » Build IoT and
home automation projects.
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 12/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
SUBSCRIBE
Nice !
Reply
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 13/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Rui
September 26, 2013 at 2:22 pm
Reply
vibha
January 4, 2015 at 7:32 pm
sir …
can i get coding for Blueard that how to make application of
GO,BACK,FORWARD ,REVES,STOP IN APP inventor
Reply
Aamir
February 11, 2015 at 2:38 pm
Reply
aamir
February 21, 2015 at 2:22 am
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 14/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
it was awesome and i used it for my bluetooth controlled robot!!!
and it worked fine!!!!!
Reply
raj
February 27, 2015 at 4:24 pm
Hi Rui,
Please respond.
Reply
Renu
April 18, 2015 at 3:11 am
Hi Raj, i am Renu from bangalore. You can download the pdf and get
it printed.
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 15/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Angelo
January 27, 2016 at 8:28 pm
I know that thos is veey old thread.. But my question is will thos wprk
with 2 1/2 hp 90v perm magnet motors? Belt driving. I need to sync 2 dc
motors .. Position and both motors have different loads but i meed them
to position sync.. Great thread by the way.. Thanks
Reply
Rui Santos
January 31, 2016 at 12:32 am
Hi Angelo,
The app should work with any motors. You only have to make the right
circuit and change a little code from my example to make it work. But
the app should work regardless of the motors
Reply
manish k
November 6, 2016 at 8:37 pm
sir …
can i get coding used here
Reply
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 16/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Rui Santos
November 12, 2016 at 11:41 pm
Reply
Almc Canuel
September 26, 2013 at 7:28 am
i already did it for my sumobot project… but i get the idea from your
previous video that control one dc motor.. and i’m really thankful to to this
site… may i ask you if the android app that you use in this video is your
own code..?
Reply
Rui
September 26, 2013 at 2:24 pm
Reply
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 17/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Wagner Oedis
September 27, 2013 at 3:46 am
Wagner Oedis
Reply
Rui
September 28, 2013 at 11:53 am
Obrigado!
Reply
Henry Cedeño
September 30, 2013 at 5:37 am
Hi my friend!
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 18/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
I had a problem in this proyect… when a charge the code, in the botton it
says “avrdude: stk500_getsync(): not in sync: resp=0x00”
And one motor star to move without pressing “1” or “2”, etc…
What could probably be?
Reply
Rui
September 30, 2013 at 8:54 pm
The DC motors should only be moving after you pressed some buttons.
Reply
Imam Moeslim
October 9, 2013 at 4:22 am
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 19/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
hi rui… i want try this tutorial. but do u have full source code app in android
? and what apps to use that’s apps? ECLIPSE ? or ANDROID STUIDO ? .
thank’s
Reply
Rui
October 11, 2013 at 11:53 pm
Reply
Imam Moeslim
October 13, 2013 at 3:09 pm
Reply
Rui
October 13, 2013 at 11:20 pm
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 20/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
yes you can definitely use one if you have one!
the L293D it’s used by most of the motor shields…
So if you have a motor shield go for it.
Reply
m-almajed
October 11, 2013 at 12:56 am
hello rui
Reply
Rui
October 11, 2013 at 11:57 pm
Reply
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 21/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
m-almajed
October 13, 2013 at 10:54 pm
Another question. Did you use any voltage divider for the output to the
Bluetooth module?
Do I have to use a voltage divider?
Reply
Rui
October 13, 2013 at 11:23 pm
I’m not using the voltage divider but you can use one…
Some people prefer to do that way!
Reply
m-almajed
October 14, 2013 at 12:53 am
So you are not using a divider. I think I will do just like you.
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 22/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Nattawat Boontin
October 13, 2013 at 3:32 pm
hi rui
Reply
Rui
October 13, 2013 at 11:33 pm
Hi Nattawt!
Thanks for stopping by!
I’m using the HC-05 and my Bluetooth module only has 4 pins!
Reply
Nattawat Boontin
October 14, 2013 at 4:13 am
here it is.
http://www.arduitronics.com/product/55/bluetooth-serial-module-hc-05-
master-slave-mode
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 23/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Reply
Nattawat Boontin
October 14, 2013 at 4:15 am
here it is.
http://www.arduitronics.com/product/55/bluetooth-serial-module-hc-05-
master-slave-mode
Reply
Rui
October 15, 2013 at 10:41 pm
I think It will work with that bluetooth module… but please do a bit of
research first… I’m not completely sure.
Reply
ayush
April 19, 2014 at 9:00 am
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 24/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Reply
Rui Santos
April 25, 2014 at 11:27 am
First Unzip that file and then inside it’s a .apk file.
That’s the file that you’re going to install into your smartphone
Reply
Ed
October 25, 2019 at 5:50 am
I know this is a very old post already, but let me chip in on the voltage
divider issue. I have been using hc05 modules since I think 2011 on an
arduino. To be exact I used 4, that eventually all went dead. So on
average they lasted about 2 years, but that’s still relatively short. Had
them connected without any voltage divider on the Rx pin coz that
‘should be OK’. Nevertheless, i never had such a high turnover rate on
electronic components as with the hc05, except maybe for sd cards in a
raspberry pi.
Have ordered a new hc05 but this time i will be using a voltage divider.
I guess that the 5volt level perhaps somehow slowly deteriorates the rx
pin of the hc05
Reply
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 25/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
m-almajed
October 15, 2013 at 3:37 pm
Hi Rui
just to let you know. Ive Powered my HC-07 Module with 3.3v and without
using voltage divider for the output of the arduino. it worked well for 5 min
only. then the HC-07 STOP working. i think the my bluetooth module has
burnt or damaged permanently :(.
http://www.aliexpress.com/item/LC-05-bluetooth-serial-interface-module-
wireless-serial-interface-module-through-the-wireless-module-free-
shipping/638543403.html
Reply
Rui
October 15, 2013 at 10:45 pm
I’m sorry :S
Did you tried again after that? It’s still not working?
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 26/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Transceiver-Module-RS232-Backplane-/131017379824?
pt=LH_DefaultDomain_0&hash=item1e813e8ff0)
Reply
Marie.M
May 24, 2021 at 11:06 pm
HEY please can you tell me did you use the same code for Dual H-
bridge? L298N
Reply
David Macias
November 5, 2013 at 1:18 am
HI Rui
I’ve got a question, does your arduino code just works with the hc-05
bluetooth module or I can use another one like the hc-06 ,this one has 4
pins?
Reply
Rui
November 11, 2013 at 11:25 pm
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 27/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Hi David,
thanks for taking the time to watch my tutorials.
I think by default it will work.
They are exactly the same. but the HC-05 has some pins, and the HC-06
you need to solder wires.
But they work the same.
Good luck with your project,
Rui Santos
Reply
John
November 15, 2013 at 12:42 am
Hi Rui,
Awesome tutorial!
I’m having some problems finding that IC. If so, how would I wire that in?
Thanks!
Reply
Rui
November 16, 2013 at 12:56 am
Hi John.
Thanks for your feedback!
you can find that IC in almost any electronics store.
I would prefer to buy this shield below.
This has 2 IC’s (L293D) you can either use it with your Arduino. there are
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 28/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
L298N: https://makeradvisor.com/tools/l298n-motor-driver/
Reply
ignacio
November 17, 2013 at 2:42 pm
Reply
Rui Santos
November 17, 2013 at 9:45 pm
Hi,
I don’t speak Spanish. but I know Portuguese. So I understood what you
said.
My app is available to download here:
https://randomnerdtutorials.com/download
Simply enter your email and you’ll receive a secret download page with
all my projects.
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 29/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Or you can simply click the like button and the code will unlock.
Reply
Andi
November 18, 2013 at 3:32 pm
Hai Rui
I wanna ask you something about the bluetooth, if i use LC-05 Bluetooth
Serial Module Master (Slave Integrated) it can work too? Because in my
place is pretty hard to find HC-05
Here’s the picture:
http://indo-ware.com/produk-2391-lc05-bluetooth-serial-module-
masterslave-integrated.html
And when the programming begins? Before we set all components to PCB
or after?
Thanks !
Reply
Rui Santos
November 19, 2013 at 10:42 pm
Hi Andi.
For what I’ve heard that LC-05 Bluetooth module works with my project.
I’ve not tried it myself but it should work.
the password and bluetooth configurations might be different.
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 30/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Reply
Mark
November 19, 2013 at 2:24 pm
hi. will this also work if we are going to use the accelerometer sensor of
the smartphone?
.
Reply
Rui Santos
November 19, 2013 at 10:49 pm
Hi Mark,
This project and idea can be used with the accelerometer of the
smartphone.
But in order to do that you will need to create a new app for your
smartphone.
the one I’m using on this tutorial was created with MIT app inventor.
I’ve also made a tutorial using that platform:
https://randomnerdtutorials.com/how-to-use-app-inventor-with-arduino/
Reply
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 31/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Andi
November 20, 2013 at 4:24 pm
Hi Rui
I wanna ask you something more about the password, when i pair the
bluetooth modul they ask about pass but stil not work to connected. The
bluetooth module dont ask about the pass. What i must to do?
Thanks
Reply
Rui Santos
November 21, 2013 at 11:39 pm
Hi Andi.
First go to your bluetooth settings and pair your smartphone with the
Bluetooth module.
(Use the password ‘1234’ or ‘0000’.)
As soon as it’s paired. Go to the ArdBlue app and click: “Choose device
to connect to” and choose your bluetooth module.
Reply
Peter
November 22, 2013 at 2:13 am
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 32/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Hi RuiSantos,
I have got a problem when I tried to set up the hardware of what you
introduced above; however, I found out that there were signals of int1 and
int4 were locked to turn on the LED light and one of motors was
continuously running forward only (another one was stopped) when I used
generic motors to connect L298 development board module, which was
connected to Arduino Uno development board. I could not control pinint1 to
pinint4 by using your Skretch programme.
I tried not to supply power to motor and only run your sktech program to
send signal to control pinint1 to pinint4 of L298, it was successful for me to
see the response of the MCU controling normal.
Could you tell me what wrong with my hardware setting? Does noise come
from the motor since the ground is commonly connected between L298
and Arduino Uno?
How can I solve this problem please?
Best regards,
Peter
Reply
Rui Santos
November 23, 2013 at 6:20 pm
Can you tell me exactly which motor board are you using?
(Send me a link with the information)
You’re debugging all your code using the Arduino IDE? right?
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 33/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Reply
Peter
November 27, 2013 at 3:33 am
Hi Rui,
Reply
Rui Santos
November 28, 2013 at 7:37 pm
Hi Peter.
I’m really glad you got it working!
Reply
Peter
November 22, 2013 at 5:44 am
Hi Rui,
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 34/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
I am urgent to know your opinion for the problem solving since this will
become reference for my college project please. Thanks you very much.
Peter
Reply
Peter
November 22, 2013 at 5:50 am
Hi Rui,
I am urgent to need knowing your opinion since I will take your tutorial
case as a example for my owned project. Could you reply me as soon as
possible please?
Thanks,
Peter
Reply
Rui Santos
November 23, 2013 at 6:10 pm
Hi Peter,
Thanks for contacting me.
You can use all my code and all the resources provided on this website
under those terms:
https://randomnerdtutorials.com/terms
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 35/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Thanks again,
Rui Santos
Peter
November 27, 2013 at 3:30 am
Hi Rui,
of course, I just reference your codes for evaulation only and then I will
write my owned code with adding other function, such as LED controlled
by Andriod for the car, etc.
Reply
Peter
December 20, 2013 at 6:20 am
Hi Rui,
Many thanks for your info and help. If I completed my project, I will show
you later. 🙂
Reply
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 36/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Daniel
December 9, 2013 at 12:15 pm
Olá Rui,
Abraço
Reply
Rui Santos
December 10, 2013 at 7:32 pm
Boas Daniel,
Abraço,
Rui
Reply
Andi
December 12, 2013 at 6:22 am
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 37/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Hai Rui,
i have a problem with this arduino. My dc motor can run if i connect with
my laptop (usb) but with 9v battery cannot run. Blueterm not response if i
enter numbers with 9v battery, but with usb, the blueterm is completely
response and my dc motor run (left, right, off). Why?
Reply
Rui Santos
December 12, 2013 at 5:44 pm
The bluetooth module and DC motors takes to much current from the 9V
battery
Reply
Rui Santos
December 12, 2013 at 5:45 pm
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 38/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
The bluetooth module and DC motors takes to much current from the 9V
battery.
Reply
sujith
December 12, 2013 at 11:52 am
Reply
Rui Santos
December 12, 2013 at 5:58 pm
Hi,
thanks for your feedback.
That question requires almost an entire tutorial.
What I can tell you right now is that it works like it does with the
Arduino… The bluetooth module will establish a communication via the
TX and RX pins.
and your smartphone will establish a communication with the bluetooth
module.
It will also depend in which PIC you’ll be using. you need to read the
datasheet…
Reply
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 39/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
bryle
December 17, 2013 at 4:03 am
hi..is it possible to power up arduino like in your project with 18v dc supply
(2 9v dc battery connected in series)??since it doesnt work in 9v dc
supply??and what can you advice to me to power up my bluetooth
controlled robot..
thanks morepower..
Reply
Rui Santos
December 17, 2013 at 7:57 pm
Don’t do that… That’s not a good idea. Too much current probably.
One way to do that is using AA batteries with some battery holder.
The best way is to get a LiPo rechargeable battery for the Arduino.
Here are some that might be good for your project:
http://www.adafruit.com/category/44
before you buy anything make sure you get the right for your motors too.
the problem with the 9V batteries is that they don’t have much current. It’s
better to use AA batteries in series 🙂
I hope this helps bryle!
Have a nice day,
Rui
Reply
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 40/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Lau
December 18, 2013 at 4:25 am
Hi, Thanks you for your remind. Yes, it may be lack of current for 9Vlot
battery. In adddition, I had use your Android app and would like to add
on new things on it. However, I do not how to open your attahced files
such as .src and project.perproties Could you tell me how I can open
your generic Android app source code in App Inventor please? I know
that I have to use App Inventor on MIT wedsite, is there an off-line App
Inventor for me to run the changing of the source code on Window
platform please?
Reply
Rui Santos
December 19, 2013 at 11:31 pm
hi Peter, I’m almost sure it’s lack of current… that’s the problem with
9V batteries…
Please watch the video on that post where I explain everything. Let me
know if you have any questions!
Rui
Reply
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 41/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
bryle
December 18, 2013 at 5:09 am
Reply
Rui Santos
December 19, 2013 at 11:38 pm
Hi Bryle,
I’m glad I could help.
Some IC’s have different versions, the L293D as some variations just like
the L293DNE.
I just took a quick look and they seem to work exactly the same.
But before you test anything check both IC’s datasheets and compare the
pins Inputs and Outputs and voltages.
Reply
Peter
December 18, 2013 at 8:35 am
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 42/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Hi Rui,
Could you tell me which development platform for me to edit soruce code
for BlueArd please? Is it Eplice or Oracle Java Development Platform?
Since I would like to edit source code for BlueArd, could you share with me
whether there is an off-line App Inventor application software to use?
Sometimes I can’t do interface development by online-MIT App Inventor.
Thanks
Reply
Rui Santos
December 19, 2013 at 11:34 pm
Hi Peter,
When you download that .zip folder it comes with 3 files.
Arduino Sketch
BlueArd.apk
BlueArd Source files (for editing purpose)
Reply
Peter
December 20, 2013 at 6:27 am
Hi Rui,
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 43/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Thank you for your answer; howver, is it possible for me to edit the
source code of the app by using off-line App Inventor or other
opensource freeware please?
In addition, I’ve got another problem that I could contorl turn left and
right of the mobile robot using Android cell phone; but the robot could
not be morved forward and backward, somethimes left wheel was
moving meanwhile right wheel was not moving in parallel speed. I
wonder whether the circuit power could not supply to motors via L293D
since I am using 9 Vltage battery to supply power the whole MCU
control circuit board and L293D.
My tutor told me that it shall be supplied of power to motors vis L293D
independently.
Could you share with me your opinion please?
Many thanks.
Reply
Peter
December 20, 2013 at 6:34 am
Hi Rui,
I had followed your suggestion to open BlueArd project source code, but
the online program prompted me error since your project.property file is
not .aia file.
I could not attach the print screen for your reference; would you advise
where I can download your a completed update projecy source codes
please?
Thanks
Reply
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 44/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Rui Santos
December 22, 2013 at 12:29 pm
yup you’re right my source files no longer work with MIT app
Inventor…
They updated their entire website.
I need to create everything again from scratch…
Right now I don’t have the time do that… in 2 weeks or something I’ll
create a new source code.
Reply
Peter
December 23, 2013 at 10:04 am
Hi Rui,
Yes. MIT App Inventor updated to version 2; but finally I could find out
the old version to edit your soure codes. Many thanks.
Piyush K
December 20, 2013 at 6:23 am
Hey,
I am using a single 9v battery and following your tutorial exactly. Also I am
using 2 12v dc motors (60rpm). Is the 9v battery suuficient to run the
motors? If not, what alternative can i use?
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 45/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Reply
Rui Santos
December 26, 2013 at 12:06 am
Hi Piyush,
No… the 9V battery won’t be able to handle that.
I would recommend you to get some Lipo rechargeable batteries for your
project!
Reply
Michele B
December 20, 2013 at 6:31 pm
Hey Rui,
I purchased an hc 05.. but it has 6 pins.. There are 2 voltage pins.. 5v and
3.3v.. Which pin should i connect to my arduino..also do i need a voltage
divider to connect my hc 05 rx tx pins to arduino?
Reply
Rui Santos
December 22, 2013 at 12:38 pm
You can use either the 5V or the 3.3V… it’s you choice.
yes I recommend you to use a voltage divider !
Reply
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 46/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Michele B
December 23, 2013 at 11:25 am
Reply
Bryle
December 25, 2013 at 1:46 am
Hi sir rui thanks again for helping..sir can you help me where to put voltage
divider and how to make voltage divider?like providing me schematics that
i can easily understand cause im a newbie in arduino and also to
electronics..please help me sir..merry christmas sir
Reply
Rui Santos
December 25, 2013 at 11:57 pm
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 47/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
You don’t need the voltage divider for regulated power supplies.
But to be 100% sure always use the voltage divider.
Reply
kishuko
December 29, 2013 at 11:05 pm
hello friend have a doubt everything works but the part where you press
STOP, FORWARD and BACKWARD not work, only works for the left and
right and not to do, please a solution, I did all the step to the tutorial is not
wrong if the APP
arduino or codes.
please help me is for my final semester project please.
congratulations and greetings from grasias por conpartir PERU 2014 and
happy new year hope your prompt help.
Reply
Rui Santos
December 30, 2013 at 10:32 pm
Hi Kishuko.
Thanks for trying my project!
Does the stop, forward, backward commands work when you’re testing
you’re project using only the Arduino Serial monitor?
Reply
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 48/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
bataa
December 31, 2013 at 7:37 am
I’m bad english language. Go! with left and right with reverse working how
to solve.
Reply
Rui Santos
December 31, 2013 at 1:26 pm
Hi bataa,
Happy new year!
thanks
Reply
bataa
January 1, 2014 at 3:56 am
Reply
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 49/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
bataa
January 1, 2014 at 4:09 am
Reply
Bryle
January 2, 2014 at 1:29 pm
Sir gudeve happy new year can i ask u a question how can i edit ur
android app??
Reply
Rui Santos
January 2, 2014 at 3:28 pm
Hi Bryle,
Please first read the update on top of this page.
then you need to download the source code provided.
Reply
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 50/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Mike
January 5, 2014 at 9:05 pm
Rui,
Thanks for this great tutorial. I have downloaded your source code and
have it setup. I am hoping to add in some buttons for lights and other
functions, but was wondering how you figured out which byte number to
send to correspond to the arduino pin. Button1 (GO!) = 49, which drives
motors forward.
Thanks
Reply
Rui Santos
January 7, 2014 at 5:00 pm
Hi Mike!
Thanks for trying my projects,
I would love to see what you come up with,
You can submit your project here:
https://randomnerdtutorials.com/contact
Reply
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 51/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Mike
January 7, 2014 at 7:23 pm
How did you figure out which byte number to send to correspond to the
arduino pin. Example: Button1 (GO!) = 49, which drives motors forward
from a pin.
Reply
Rui Santos
January 8, 2014 at 11:55 pm
and the Android app would send a 49 to the arduino via bluetooth.
if you want to turn off for instance you can do this.
if(state==’1′){
digitalWrite(8,LOW);
}
The Android app will send a 50 via bluetooth.
this is just an example you can send any values you want and you
arduino code can do whatever you want.
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 52/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
P.S. Please download all my code, upload it to the App Inventor (read
the update at the top of the page) and you’ll see how it works 🙂
Reply
Simon
January 17, 2014 at 8:33 am
Hey Rui,
I am following your project and using 2 12v DC motors. I am making an
independent robot so won’t be providing power through USB. I am thinking
of providing external power supply to Vc pin of l293d which provide power
for the motors only instead of directly connecting it with the 5v pin of
arduino. So what do you suggest as a power supply for arduino and power
supply for the motors separately?
Reply
Rui Santos
January 18, 2014 at 3:58 pm
Hi Simon,
As you said you need an external power supply.
If it’s to control something that need to be in movement like a robot.
I would get a Lipo rechargeable battery to power up those motors.
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 53/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Reply
bryle
January 19, 2014 at 3:27 pm
Reply
Rui Santos
January 22, 2014 at 1:29 pm
Reply
javin
January 21, 2014 at 5:27 pm
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 54/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Reply
Rui Santos
January 22, 2014 at 1:34 pm
Reply
sihamabdul
January 25, 2014 at 12:17 pm
j’ai un module JY-MCU Bluetooth Wireless Serial Port Module for Arduino
que je l’ai acheté de ce site: et je veux savoir est qu’il marche ou pas ainsi
s’il vous plait vous pouvez m’envoyer le code source sur mon mail:
Reply
Rui Santos
January 27, 2014 at 12:45 am
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 55/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Reply
javin
January 26, 2014 at 8:39 am
Reply
Rui Santos
January 27, 2014 at 12:48 am
Reply
Panayiotis
January 26, 2014 at 10:29 pm
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 56/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Reply
Rui Santos
January 27, 2014 at 12:49 am
Hi Panayiotis,
I’m glad you enjoyed it!
all the best,
Rui
Reply
raju
January 29, 2014 at 1:17 am
Reply
raj
January 29, 2014 at 5:36 am
hi rui i need ur assistance through out my project so pls help me….i want
make an car controlled over bluetooth using android app….so send me
details about it
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 57/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Reply
Rui Santos
January 29, 2014 at 11:15 pm
Hi Raj,
To create this android app I’m using MIT APP Inventor, as it says on the
top of this post.
You can download all my code by clicking “like” or “tweet” and my code
will unlock.
Or you can go to this page and download all my projects for free:
https://randomnerdtutorials.com/download
Reply
rishabh
January 30, 2014 at 6:50 pm
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 58/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Hi,
Thnx for tutorial, it really helped a lot. Can you please tell me from where I
can download your app.
Reply
Rui Santos
February 2, 2014 at 11:21 am
The app can be download from this page. Just click like or tweet.
Or you can go to this page enter your email and you’ll have access to all
my projects:
https://randomnerdtutorials.com/download
Reply
sharmila
February 5, 2014 at 6:05 am
hey rui
i want screen shot of appiinventor bluetooth connection designer block……
and i want to learn how to creat app in app inventor ….
Reply
Rui Santos
February 5, 2014 at 9:13 pm
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 59/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
It’s easier if you download my app and change the code sharmila…
Watch this tutorial first to learn more about MIT App inventor:
https://randomnerdtutorials.com/how-to-use-app-inventor-with-arduino/
Reply
ivan
February 7, 2014 at 6:00 pm
Dear Random Archive BlueArd Source (for editing purpose), I can not
open from the MIT App Inventor please point me how I can edit?
Reply
Rui Santos
February 9, 2014 at 10:13 pm
The source for this project can only be edited with MIT App inventor
Classic version.
It won’t open with AI2.
(Please read the top of this page and you’ll understand where you need
to go)
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 60/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Reply
José Silva
February 13, 2014 at 1:27 am
Curto bué os teus projectos, são uma boaajuda nos meus, bom trabalho,
Rui
Reply
Rui Santos
February 14, 2014 at 3:58 pm
Obrigado José!
Vou lançar mais um projecto com bluetooth amanhã (sábado) com o
novo MIT App Inventor 2.
Abraço,
Rui
Reply
Hi Rui Santos,
I have a question, why pin Vcc Bluetooth HC-05 has been given 5V DC
from pin 5V DC Arduino (as a reference datasheet Bluetooth HC-05 max
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 61/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Reply
Rui Santos
February 18, 2014 at 1:38 pm
Hi john,
thanks for asking!
My bluetooth module the HC-05 (has a max voltage of 3.3V to 6V)
It says on the label also
Reply
Gary Lam
February 17, 2014 at 5:46 pm
Reply
Rui Santos
February 18, 2014 at 1:37 pm
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 62/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Did you connect the TX from the bluetooth Module to the RX of the
Arduino? (and vice versa)
Reply
Abdulrahman
February 25, 2014 at 7:01 am
Thank you man i have a final year project it’s a smart home. your tutorial
will help me a lot thanx again
From Afghanistan
Reply
Rui Santos
February 25, 2014 at 3:55 pm
Reply
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 63/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Jezreel
February 28, 2014 at 11:43 am
hi sir, what other types of bluetooth module that are compatible with this
project?
Reply
Rui Santos
March 2, 2014 at 2:05 pm
Hi jezreel,
I’ve only tested this project with this bluetooth module.
If you already have a different one you should try.
This project should work just fine with any bluetooth module, because all
of them establish a serial communication with the Arduino.
Reply
Kaspras Videnieks
March 2, 2014 at 9:21 am
Nice app U got there! I have one dc motor to control! that should be a
problem! i would love to change your app so there were 4 buttons !2 of
them just the way it is – on a push it sends a comand but 2 of them would
be working like so – when i push it and hold it – it would send letter A to
arduino and on a release it would send lower case coreseponding comand
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 64/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
letter , in this case a! and for other button B,b! BUT THERE IS ONE
PROBLEM – i don`t know how to make such a button witch works on
touch and release….
Reply
Rui Santos
March 2, 2014 at 2:10 pm
Thanks Kaspras,
I’m glad you found my app useful.
I recommend you to test my project first and see if it’s working for you.
Then open my app with MIT App inventor and start getting familiar with
the programming environment.
It’s pretty easy to do what you’re looking for.
They have pre-built in functions to trigger actions On click buttons for
example.
Reply
Kaspras Videnieks
March 2, 2014 at 4:09 pm
Still can`t find a way to edit a button to make it work like i need to….on a
push it would send a capital A and on a release it would send lower case
letter a !
Reply
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 65/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Rui Santos
March 4, 2014 at 10:43 am
Reply
Kaspras Videnieks
March 5, 2014 at 2:39 pm
Changed to my needs your app… except i can`t find info on how to create
a button witch sends on comand when i press the button and hold but then
when i release it sends another. like rc car control button
Reply
Rui Santos
March 7, 2014 at 12:47 pm
Reply
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 66/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
hafis ali
March 6, 2014 at 10:03 am
Reply
Rui Santos
March 7, 2014 at 12:43 pm
Reply
Amarendra Singh
March 6, 2014 at 2:22 pm
Hi,
does this bluetooth module HC-06 works correctly with this project?
The link is here
fabtolab.com/HC-06-bluetooth-module?search=HC-
06%20Bluetooth%20Module
Reply
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 67/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Rui Santos
March 7, 2014 at 12:41 pm
Reply
Amarendra Singh
March 8, 2014 at 1:18 pm
Reply
Rui Santos
March 12, 2014 at 1:32 pm
Hi Amarendra,
You can supply the arduino with a rechargeable battery for example!
Reply
Amarendra Singh
March 26, 2014 at 5:11 pm
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 68/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
thanks for assisting me in this project.
its working…
Rui Santos
March 29, 2014 at 3:38 pm
Awesome Amarendra!
I’m glad to hear that.
Kaspras Videnieks
March 7, 2014 at 6:38 pm
Reply
Kaspras Videnieks
March 7, 2014 at 7:37 pm
How to seperate those 2 comands – i`ve added them but i need that
seperation…PLEASE take a look and try to explain to this dum man what
he need to do to make this finaly work… http://tinypic.com/r/wwnty9/8
Would even these comands go to arduino serial like when i send them
trough arduino serial monitor?
Reply
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 69/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Rui Santos
March 12, 2014 at 1:38 pm
I don’t have the time to make the code for everyone who asks me sorry.
There’s simply not enough time in the day to do that.
I already told you you can use the long click function to do that.
and you can use a NOT logic block for example to see when you stop
pressing the buttons.
I guess you can change most of the arduino code to do exactly that. and
don’t worry so much with the app.
Sorry for not being able to help you much more than this.
Have a nice day,
Rui
Reply
Stefan Christ
March 10, 2014 at 7:26 am
Hallo Rui,
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 70/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Thanks a lot
Stefan
Reply
Rui Santos
March 12, 2014 at 1:40 pm
Hi Stefan,
Please read some of the comments above.
I think that can be accomplished with the LongClick feature of the
buttons.
and the change the arduino code to be able to do that.
Reply
Sonia M
March 10, 2014 at 10:09 am
Reply
Rui Santos
March 12, 2014 at 1:26 pm
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 71/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Hi Sonia,
I don’t have time to update those projects right now.
And they work just fine with Beta MIT App Inventor.
You can check my two most recent project with MIT App Inventor 2.
https://randomnerdtutorials.com/control-your-arduino-with-voice-
commands/
https://randomnerdtutorials.com/android-app-that-sends-a-message-to-
your-arduino/
Both Beta MIT app Inventor and the new version work really similar.
Have a nice day,
Rui Santos
Reply
Md Shahid
March 11, 2014 at 11:44 am
Sir when i m trying to connect with HC05 module with my phone using
blueArd app then it showing…
Runtime error
Need BLUETOOTH_ADMIN permission:Niether user 10113 nor
currentprocess has android permission. BLUETOOTH_ADMIN
its paired and working good with serial monitor.but not working with app
blueArd(not connecting actually).sor out plz
Reply
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 72/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Rui Santos
March 12, 2014 at 1:35 pm
Reply
Najam
March 16, 2014 at 4:49 pm
Hi Rui
How to change the baud rate of the bluetooth module? Mine (HC-06) has
default baud rate of 38400. I want to change it to 9600, need you valuable
advice.
Thanks in anticipation…
Reply
Rui Santos
March 19, 2014 at 3:29 pm
Hi Najam,
I’ve never changed the baudrate but I’ve found a good tutorial
http://mcuoneclipse.com/2013/06/19/using-the-hc-06-bluetooth-module/
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 73/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Reply
pritesh gupta
March 18, 2014 at 4:33 am
hey there
awesome work bro!
just wanna ask one thing if I want to activate an alarm whenever I stop the
motors, does it possible with extra components and if yes please help me!
Reply
Rui Santos
March 19, 2014 at 3:24 pm
Yes,
That’s something you can easily do.
Open my arduino code provided-
Simply add a new OUTPUT in the Arduino (a new digital pin). That way
you can control some type of buzzer.
Then in the “if” statement related to the “STOP” button
Simply activate that buzzer everytime it’s pressed the button
Reply
Ayoub
March 19, 2014 at 12:30 pm
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 74/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Hi Rui Santos
I want to use the captor LM35 in the program but i didn’t found his library ,
can you help me please!!thanks for anticipation .
Reply
Rui Santos
March 19, 2014 at 3:20 pm
Hi Ayoub,
Can you send me a link for the part you want a library?
And I’ll see if I can’t find.
Have a nice day,
Rui
Reply
Rduino Beginner
March 19, 2014 at 4:29 pm
Hi, currently I’m working on this similar project but controlling the mobile
robot through the accelerometer sensor. Now, I’m facing problem on my
Bluetooth connection. I successfully pairing both my android and arduino
uno. On the serial monitor it shows the data but my DC motor is not rotate.
I dont know why. Do I need to setup or configure anything with the
Bluetooth module?? This is my first time using arduino with bluetooth
connection and I’m really noob. Help me pls..
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 75/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
1.Arduino Uno
2.Cytron Bluetooth Module (http://www.cytron.com.my/viewProduct.php?
pcode=BLUEBEE) + XBee Shield
(http://www.cytron.com.my/viewProduct.php?pcode=SHIELD-XBEE)
Reply
Rui Santos
March 25, 2014 at 9:46 pm
Hi!
What app are you using?
have you started making the code for the accelerometer?
If you’re trying to use the bluetooth project for the first time.
I recommend you to test my project first as an example and see if it
works for you.
Then later start creating your own projects.
Reply
Rduino Beginner
March 26, 2014 at 6:26 am
At the moment I develop my own apps using MIT App Inventor..In fact, I
also try to use the available apps by downloading them..sadly both of
the apps didn’t work. What do you mean code for accelerometer? Is it
the arduino code or the apps code?
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 76/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Reply
Rui Santos
March 29, 2014 at 3:38 pm
Reply
Rduino Beginner
March 29, 2014 at 7:42 pm
The apps that I’ve develop and download. Both didn’t work. Yes, I
already include accelerometer function on MIT App Inventor in my
app.
Rui Santos
April 5, 2014 at 10:09 am
hafiz
March 23, 2014 at 4:02 pm
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 77/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
hi
im doing the same project.here in tutorial i cant see that you connect a
power supply for l293d driver.
Reply
Pritesh Gupta
April 1, 2014 at 4:56 am
yes you can’t see any power supply, but just notice a cable attached to
Arduino, that is supplying power to Arduino.
Reply
Rui Santos
April 5, 2014 at 10:06 am
Reply
hafis ali
March 23, 2014 at 7:10 pm
hi
im doing the project control of dc motors using smart phone
i can control the motors by serial monitor.but not work on my smart phone.
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 78/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Reply
Rui Santos
March 25, 2014 at 9:42 pm
Reply
mitun
March 25, 2014 at 1:40 am
Hello!
could you help to build an app like that by sharing the screen shots of
“DESIGNER” AND “BLOCK”?
THANKING IN ADVANCE
Reply
Rui Santos
March 25, 2014 at 9:39 pm
Sorry right now I don’t have the time to create that tutorial mitun…
Reply
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 79/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Zeon
March 30, 2014 at 5:41 pm
I am trying to implement the same project using the same parts and
arduino duemilanove now the problem is i am able to control the motors
via the serial monitor of the ide but not via Bluetooth neither app or
blueterm. I have tested the bluetoth module for communication via the led
blink example.
also when i input commands via the serial monitor the commands motor
left , right etc appear on the blueterm on my mobile but not being able to
enter anything on the mobile
Reply
Rui Santos
April 5, 2014 at 10:11 am
Hi Zeon,
Have you tried all the steps I tell you on the tips?
Are the bluetooth cables connected to the Arduino properly?
TX from the Arduino goes to the RX of the Bluetooth module, etc…
Reply
Pritesh Gupta
April 1, 2014 at 4:49 am
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 80/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
If I remove Arduino’s Atmega328 IC and build the same circuitry on the
breadboard by using 16MHz crystal and other components (that we can
use to make arduino uno on breadboard)?
Reply
Pritesh Gupta
April 1, 2014 at 5:27 am
Reply
Rui Santos
April 5, 2014 at 10:06 am
Reply
Vitor
April 4, 2014 at 5:12 pm
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 81/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Boas Rui , é o seguinte eu fiz a ligação certa como metes-te ai mas
quando ligo o arduino ao computador para alimentar o arduino começa a
fazer um barulho sabes como resolve-lo ?
Reply
Rui Santos
April 5, 2014 at 10:02 am
Boas Vitor,
O Arduino começa a fazer barulho?
Isso tambem acontece com um simples LED a piscar?
Reply
Vitor
April 5, 2014 at 6:16 pm
Não , foi a primeira vez que aquilo aconteceu-me e não percebi muito
bem , vou desmonta–lo em principio de novo e voltar a montar para
experimentar outra vez .
Reply
Rui Santos
April 12, 2014 at 12:42 pm
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 82/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Reply
Vitor
April 19, 2014 at 2:14 pm
Rui Santos
April 25, 2014 at 11:26 am
Taichi
April 7, 2014 at 4:22 pm
Reply
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 83/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Rui Santos
April 12, 2014 at 12:45 pm
Hi Taichi,
that’s a problem with your bluetooth setting. that never happened to me
though.
so make sure you go through all the bluetooth settings and enable all the
permissions
Reply
Tamojit
April 10, 2014 at 8:02 am
Hi Rui
Nice project!
Do u hv any idea of how to control the speed of the motor using app
inventor and corresponding code for arduino?
I saw a video in youtube.
Here is the link:http://www.youtube.com/watch?v=7JXLQWzQITM
Plz reply asap if u can help.
Thanks in advance
Reply
Rui Santos
April 12, 2014 at 12:46 pm
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 84/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Hi Tamojit.
Using my app and if you change the arduino code to work similar to that
vido you sent me you can control the speed of your DC motor just fine 🙂
Reply
Tyler
April 12, 2014 at 4:28 am
Hi Rui,
I’m trying to add a couple more buttons to the app that you built for the
motor control. I’m controlling three different motors (each with different
drivers) and I need two more buttons to control forward and backward
movement. I’ve got two motors working like a charm, no problem. The
issue that I’m running into is that I don’t know what “number” to assign for
the bluetoothclient byte to send to the android. I figured it would just
continue on from the previous ones, 54…55…56, but that didn’t work.
Reply
Rui Santos
April 12, 2014 at 12:49 pm
Hi Tyler,
Those numbers 49,50, etc… are not random numbers I’ve decided to
attribute.
Those are numbers from the ASCII table.
Please take a look at it here: https://randomnerdtutorials.com/ascii-table/
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 85/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
48 decimal in the android app means ‘0’ char in the arduino and so one
Reply
Zsolt
April 13, 2014 at 4:53 pm
Hi Rui
Good project!
Thanks.
Reply
Rui Santos
April 16, 2014 at 11:14 am
Hi Zsolt,
If you read this tutorial: learn.adafruit.com/adafruit-motor-shield
You can combine my project with that tutorial and control your the DC
motor with the shield.
Reply
pagina web
April 16, 2014 at 11:05 pm
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 86/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Do you mind if I quote a couple of your articles as long as I
provide credit and sources back to your weblog?
My website is in the very same niche as yours and my visitors would
certainly benefit from
a lot of the information you present here. Please let me know if this alright
with you.
Many thanks!
Reply
Rui Santos
April 18, 2014 at 4:15 pm
Thanks!
Reply
Lalit Kumar
April 17, 2014 at 9:21 am
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 87/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Reply
Rui Santos
April 18, 2014 at 4:13 pm
Hi Lalit,
Unfortunately I don’t work with android development so I can’t help you
much…
I’ve just created a few simple apps with MIT App Inventor and that’s all…
Reply
Shantanu Biswas
April 18, 2014 at 12:34 pm
Hi,
Excellent Work!!!!!!!
But can’t find this BLUEARD App, so can u please help me with the
download of BLUEARD app.
Reply
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 88/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Rui Santos
April 18, 2014 at 4:11 pm
Thanks Shantanu!
you can download the app by clicking “Like” or “tweet”.
Or go to this page: https://randomnerdtutorials.com/
thanks again!
Reply
Shantanu Biswas
April 19, 2014 at 5:44 am
thanks again!!!!!!!!!!!!!!!!!!
Reply
Rui Santos
April 25, 2014 at 11:28 am
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 89/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Reply
Cintia Barroca
April 19, 2014 at 4:04 pm
Ola, estou a tentar fazer este projecto mas infelizmente não funciona.
Quando carrego num botão na app, o arduino parece receber a
informação mas os motores não andam… tenho o HC-07 e o linvor, qual o
melhor?
qual será o problema?
Reply
Rui Santos
April 25, 2014 at 11:26 am
Olá Cintia,
Qualquer modulo de bluetooth que funcione por comunicaçao serial deve
funcionar bem com o meu projeto.
Um dos problemas comuns poder ser que o seu modulo de bluetooth
venha mal configurado/ou com outra configuraçao por defeito.
Para este projeto funcionar com o arduino tem que configurar a baud
rate do modulo de bluetooth para 9600
Reply
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 90/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
arun
April 22, 2014 at 5:29 am
hi rui santos
firstly i would like to thank u for sharing your experiences and project idea’s
in web
and i have done this project and it is working perfectly fine, and now i’m
willing to add few more buttons to that app so that i can perform few more
tasks, can u please send that .aia file of 2 dc motor control to me so that i
can improve this project little.
Reply
Rui Santos
April 25, 2014 at 11:22 am
Hi arun,
Thanks for your feedback!
Sorry I don’t have the .aia file for this project.
This project was done with the first version of MIT App Inventor.
(If you read the update at the top of this page, you’ll see how you can
upload this code into the older version of MIT App Inventor an edit my
app.)
P.S. You can check a more recent project using MIT App Inventor with the
new version:
https://randomnerdtutorials.com/android-app-that-sends-a-message-to-
your-arduino/
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 91/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/control-your-arduino-with-voice-
commands/
Reply
arun
April 26, 2014 at 8:33 am
its ok rui santos. i will try this app with mit app inventor 2, and im also
eagerly waiting for your new projects and posts, i request you to post
your new ideas soon in your website
Reply
Rui Santos
May 3, 2014 at 2:25 pm
Hi arun,
Thank you for your feedback! More projects coming out pretty soon!
Reply
beh
May 2, 2014 at 8:51 am
Reply
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 92/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Rui Santos
May 3, 2014 at 2:14 pm
Reply
wann
May 6, 2014 at 3:35 pm
hi Rui..i already try your project.i got this problem..the motor wont rotate
when i press 2.. but it functioning well when im press 1 or 0..can you help
me.
Reply
Rui Santos
May 17, 2014 at 4:57 pm
Hi wann,
Are you sure the L293D IC is well wired?
Please follow my exact schematics. If those commands are working, all
the others should be working too…
Reply
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 93/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
hakim
May 7, 2014 at 12:48 pm
hi.. i have problem with the motor. the motor cannot function well. only one
motor can rotate at one time. i use bluetooth spp and bluebee. is it effect
the circuit??
Reply
Rui Santos
May 17, 2014 at 4:36 pm
Reply
Diego Fernando
May 8, 2014 at 2:35 am
Reply
Rui Santos
May 17, 2014 at 4:36 pm
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 94/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
This project works with the Leonardo.
But the serial communication with the Leonardo is a bit different. So You
need to change my arduino code to receive the data properly via serial
Reply
bill
May 10, 2014 at 3:15 am
Hi! Thanks for these awesome tutorials!! When I try to connect my phone
to Bluetooth it cannot find any nearby Bluetooth devices to connect to. Do
you know what the problem is?
Reply
Rui Santos
May 17, 2014 at 4:41 pm
Hi bill,
Have you tried your bluetooth module with other projects?
Are you sure it’s working?
how far are you trying to connect?
Reply
bill
May 21, 2014 at 12:23 am
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 95/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
This is my first project using it. Is it just defective? I’m trying to connect
from about a foot away.
Reply
Rui Santos
May 26, 2014 at 8:47 pm
Reply
bonney
May 23, 2014 at 3:04 pm
hei Rui,,,,if i want to change the pin from arduino….can it still be working
….
Reply
Rui Santos
May 26, 2014 at 8:54 pm
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 96/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Hi bonney,
which pins you want to change?
If you make the appropriate modficiations to the Arduino code, yes you
can change the pins
Reply
bill
May 31, 2014 at 12:37 am
Ok this time I redid the circuit using your,single DC motor tutorial. I connect
via blueterm and it actually worked! But then I got more problems. It would
disconnect and I would have to reconnect. Then it would say it was
connected but when I tried to send a command it would disconnect again.
Now it won’t connect at all.
The company is sending me a new one since they actually sent me the
wrong one that had six pins instead of four. It should still work though,
even with six. So for now I’ll just assume it’s defective and wait for my new
one. I hope it at least works.
Thanks for the great tutorials!
Reply
bill
June 6, 2014 at 5:08 am
Hey how would I send a command that only makes the DC motor turn on
for 10 seconds then turn off? I’ve tried several methods but none seem to
work. Thanks!
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 97/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Reply
Rui Santos
June 8, 2014 at 10:57 pm
You can simply create a delay(10000) that waits for 10 seconds… that’s
not the best way, but it works
Reply
Alex
June 6, 2014 at 9:26 am
thanks for the tutorial but can you please tell me what changes do i need
to make so it would go forword as long as i press the botton on my mobile?
Reply
Rui Santos
June 8, 2014 at 10:58 pm
Hi Alex,
I don’t think that works with MIT App Inventor.
I know MIT app inventor has a long button click feature… but I’m not sure
if it would work as I’ve never tested myself
Reply
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 98/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Liviu
June 22, 2014 at 12:39 pm
Hello Rui, thanks for tutorial. Can I use the L298 shield for this?
http://www.robofun.ro/shields/shield-motoare-l298-v2 this is the one, it
connects to arduino through pins 3, 5, 6, 9. Any major changes i have to
do in the code? Regards!
Reply
Rui Santos
July 4, 2014 at 11:37 pm
Hi Liviu,
I think that shield has a few project examples or it probably comes with a
custom library,
Compare their project examples with my code.
You might need to add their library and just change a couple of lines from
my code where I control the DC motor.
But my bluetooth app will work just fine with your shield
Reply
sam
June 23, 2014 at 4:00 am
Reply
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 99/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Rui Santos
June 24, 2014 at 1:08 pm
Hi Sam,
This project works just fine with that bluetooth module, since both HC-05
and HC-06 are the same.
Have a nice day,
Rui
Reply
sherri
June 24, 2014 at 12:05 am
Reply
Rui Santos
June 24, 2014 at 1:08 pm
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 100/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Reply
Mhesh
June 26, 2014 at 9:46 am
Reply
Rui Santos
July 4, 2014 at 11:39 pm
Reply
philip
July 1, 2014 at 4:51 pm
Reply
Rui Santos
July 4, 2014 at 11:28 pm
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 101/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Yes you can do that with a 12V DC motor.
Here’s a good tutorial for that: http://www.instructables.com/id/Use-
Arduino-with-TIP120-transistor-to-control-moto/
Reply
philip
July 7, 2014 at 8:38 am
sir should i program first the arduino before connecting the bluetooth
module??????
Reply
philip
July 7, 2014 at 1:37 pm
sir can you help me with my project . . .i want to add a water sprinkler to
your project . . . when i click “GO!” the sprinkler will turn on . . and stop
after a few seconds . . .
Reply
Óscar Martínez
August 7, 2014 at 12:36 pm
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 102/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Good job . It is a very good tutorial.
Reply
Zsolt
August 30, 2014 at 8:34 am
Reply
Rui Santos
September 1, 2014 at 9:36 am
Hi Zsolt,
That’s impossible, unless the pins are labeled incorrectly.
The Arduino transmits information with the pin TX and the bluetoth
module receives that information with the RX pin. (And vice-versA)
Reply
Doni ramadon
September 8, 2014 at 8:39 pm
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 103/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Ruis master why his software can not be used when connected to
bluetooth hc-05?
whether the application program of android is wrong ..?
Reply
Rui Santos
September 16, 2014 at 2:48 pm
Reply
Zsolt
September 5, 2014 at 8:54 pm
Hi Rui,
On the serial monitor numbers 1,2,3,4,5 work fine as your description. I
can connected the phone to bluetooth, but with the phone I couldn’t control
motors.
What can be the problem?
Reply
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 104/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
kevin
September 14, 2014 at 9:10 am
Reply
Rui Santos
September 16, 2014 at 2:44 pm
Hi kevin,
It’s below the heading “Download all my source code below”, click to
download and install the application in your smartphone.
(It’s the BlueArd.apk file)
Reply
aksraj
September 21, 2014 at 3:55 am
Reply
Rui Santos
October 9, 2014 at 11:17 am
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 105/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
You’re welcome!
I’m glad it worked.
Reply
brigitte gabriel
October 22, 2014 at 10:04 am
Reply
Raja Zaki
November 2, 2014 at 3:42 pm
Hi Rui,
Your application did help me a lot in my project, however, I want to change
it a little bit. I want my application to send the ASCI value as long as the
button is pressed and when the button is released it would stop sending
the value, I want to control my robot with that application but without a stop
button, well I am a little new to the android programming and I need your
little help to do that. Can you help? Thanks in Advance.
Reply
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 106/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
raj
December 11, 2014 at 12:28 pm
Hi,
https://dl.dropbox.com/s/382jpx4opdfq43c/Control%202%20DC%20Motors
%20Via%20Bluetooth.zip
Reply
Rui Santos
December 27, 2014 at 8:36 pm
I’ve just tried the link myself and it works… Please try again.
Thanks,
Rui
Reply
nikisalli
January 3, 2015 at 7:09 am
i make all the connections well and when i send “1””2″ecc. from the
serialmonitor the motors works but when i try to control them from
bluetooth don’t happen anything what i’m doing wrong?
Reply
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 107/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Ashok Babu
January 11, 2015 at 5:26 am
Hi rui,
Reply
Hattie
January 27, 2015 at 3:53 pm
Hi Rui
Would this set up work with 360 servos, or would it need altering?
Thanks
Hattie
Reply
Rui Santos
February 9, 2015 at 12:16 pm
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 108/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
You have to change the arduino code to work properly with servos.
Check the example code for the servo library in the Arduino IDE
examples tab.
Reply
Akhil kapoor
February 6, 2015 at 2:23 pm
Hi Rui,
I tried this project today and it worked well. Why is it that when I connect
the motor pins directly to arduino pins, the motor won’t work but after using
a motor driver IC, it works fine. Where does the current required come
from even when no other external power supply is used?
Also, I need the motor to turn off after 5 sec of operation. I
tried”delay(5000);” but that has not solved the problem. Any bright ideas.
Thanks 🙂
Reply
Aamir
February 11, 2015 at 3:05 pm
Reply
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 109/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Rui Santos
February 20, 2015 at 10:22 am
Reply
Shubham Kasar
February 11, 2015 at 7:46 pm
hello rui,
as i watched your video controlling the 2 motors …
wen you gave go (forward) command both the motors started spinning ..
i want to use this for a rc car which will work on bluetooth…
so if both motors spin wen i give forward command the car wont go as i
want…
thank you
Reply
hari
February 18, 2015 at 1:31 pm
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 110/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
i have downloaded the android app from zip file.
do i have to do any other programing to it again or simply connections are
neaded
Reply
Rui Santos
February 20, 2015 at 10:23 am
If you follow exactly my tutorial you don’t need to configure anything else.
Thanks for asking,
Rui
Reply
hari
February 22, 2015 at 2:31 pm
Reply
Rui Santos
February 23, 2015 at 8:59 pm
Yes you have to upload the Arduino sketch I’ve mentioned in this blog
post.
Thanks,
Rui
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 111/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Reply
raj
February 22, 2015 at 7:24 pm
Hi Sir,
I want to edit the MIT App how to edit/import the Bluetooth project in
MIT App.
It is asking .aia file extension…the bluetooth zip folder does not have
this file.
Please help.
Thanks in advance.
Pls respond.
Raj
Reply
Rui Santos
February 23, 2015 at 8:59 pm
Please read carefully the top update at the beginning of this blog post.
My application/editing files only work with the older version of MIT App
Inventor,
Thank for trying my project,
Rui
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 112/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Reply
raj
February 24, 2015 at 10:10 am
Dear Sir,
Thx
Doms
February 20, 2015 at 11:21 pm
Hi rui ^^
so i tried the codes and the serial monitor replied properly but the dc
motors are not moving.. any idea why this happened?
Reply
Rui Santos
February 23, 2015 at 9:05 pm
Hi doms,
Does you bluetooth module operates at the same baud rate as mine?
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 113/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Reply
Chexel
February 28, 2015 at 6:36 am
Reply
Rui Santos
March 2, 2015 at 6:13 pm
You can download the file right on this web page. Thank you,
Rui
Reply
fungky
March 10, 2015 at 5:17 am
Wow..
nice project Rui..
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 114/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
http://i2.wp.com/randomnerdtutorials.com/wp-
content/uploads/2013/09/DC-motor-Schematics.png
thank you
Reply
pooja
March 12, 2015 at 1:25 am
i m using arduino duemilanove s/n 129013 board and bluetooth module s/n
134504 can u please help me how to make connections between arduino
and bluetooth module and how to get mac address
Reply
Fer
March 16, 2015 at 8:04 pm
Gracias…!
Reply
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 115/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Mert
April 2, 2015 at 7:30 am
Reply
Antriksh
April 2, 2015 at 9:48 am
hello Rui,
I ma fan of yours great projects…we all are implementing them in our
college projects…..I had experinced a problem in implementing this project
it is connecting fine with HC-05 module but when i press forward button
the motors are not moving …please tell me the possible reason for the
following error..please give a bit of your valuable time for my problem..
Thanks
Reply
kashyap raval
April 3, 2015 at 12:17 pm
Reply
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 116/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Naufal FR
April 10, 2015 at 7:58 pm
Reply
Ejumu Emma
April 16, 2015 at 9:07 am
Hi Rui
i was requesting for the .aia file that i have to import in the app inventor
how may you help me
Reply
รับถ่าย vdo
April 17, 2015 at 2:19 pm
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 117/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Reply
Antonio Lopez
April 28, 2015 at 2:37 am
If i need to control 2 dc motors, and I have the motor shield, I just upload
the code to the Arduino and it works?
Reply
Kevin
May 4, 2015 at 3:31 am
sir i have created your project with all the right connections but when i turn
on the project one motor rotates and when i connect it to the phone it
keeps on rotating and when i press left it stops rotating but the other one
doesnt and when i press stop it rotates i have rechecked all the
connections. i have even replaced the l293d ic and also reprogrammed but
the problem continues. please help me out
Reply
santhosh kumar
May 19, 2015 at 5:38 am
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 118/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Reply
Shreyas
September 3, 2015 at 9:52 am
Problem : I have connected circuit as given in your diagram but the motors
do not corresponds when i try to check by entering 1,2,3 …..
in the serial monitor . What’s the problem can you explain it ?
Help me as i am new
Reply
Rui Santos
September 13, 2015 at 9:22 am
Did you remove the bluetooth module from the TX and RX lines while
testing to send commands via serial monitor?
Reply
Shreyas
September 18, 2015 at 10:07 am
Thx , a lot Bro .I could control the two DC motors with smartphone
because of you .Thx once again .
Reply
Rui Santos
September 19, 2015 at 9:45 am
Depending on the battery that you’re using it might not work if it does
not supply enough current to your bluetooth module
Reply
Shreyas
September 19, 2015 at 2:34 pm
Shreyas
September 24, 2015 at 8:08 am
Rahaf
October 3, 2015 at 12:02 pm
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 120/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Hi Rui ,
How can I get the code of the app blue Ard ?
and thank you 🙂
Reply
Rui Santos
October 10, 2015 at 11:57 am
Reply
mariam
October 5, 2015 at 3:01 am
hi i,
like ur project and am about to do it i hope.
but i have one question before i start wich program i use to edite the sorce
file for the app
and in wich programing language its written.
regards,
Reply
Rui Santos
October 10, 2015 at 12:07 pm
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 121/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Please read the top of this blog post!
Thanks,
Rui
Reply
Mark
November 18, 2015 at 3:38 am
Hi Rui, I really like your stuff and I just published a bluetooth app
specifically for controlling Arduino robots. Let me know what you think and
if it’s helpful.
Heres the link – play.google.com/store/apps/details?
id=appinventor.ai_mark.Jarvis
Reply
Amiine
January 2, 2016 at 10:18 pm
Hello,
Very nice projet, but I was wondering if there any possible way to make
one motor go Ahead and the other one Reverse so that we can have a
perfect turn,
thanks 🙂
Reply
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 122/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Rui Santos
January 4, 2016 at 2:23 pm
Reply
Amiine
February 19, 2016 at 6:16 pm
Reply
Ammar
January 19, 2016 at 5:09 pm
Hi,
can you please share the code?
thanks
A.
Reply
Rui Santos
January 21, 2016 at 6:47 pm
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 123/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
You can download all the code used directly from this blog post.
Everything is in a .zip folder
Reply
Matheus
May 6, 2016 at 12:50 am
Rui, baixei seu programa para ver como ele é feito pra aprender um
pouco, mas o app inventor classic não está mais funcionando… tem outra
forma que eu possa ver seu aplicativo? Queria entender os códigos pra
aprender… Obrigado e parabéns pela iniciativa!
Reply
Rui Santos
May 9, 2016 at 9:56 am
You can use this tool to convert App Invento Classic to App Inventor 2:
convert.appinventor.mit.edu
Olá matheus,
Pode utilizar esta ferramenta para converter: convert.appinventor.mit.edu
Reply
saryam lohomi
September 3, 2016 at 3:15 am
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 124/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Is ardiuno r3 board I used in this project
Reply
Rui Santos
October 2, 2016 at 11:39 am
Reply
Vianka Leigh
September 25, 2016 at 4:58 am
sir how can i view the screen of you android apk so i can edit it what
application should i use?
Reply
Rui Santos
October 2, 2016 at 11:29 am
Please read carefully the top of the blog post for those instructions.
Thanks!
Reply
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 125/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
ram
November 5, 2016 at 1:05 am
Reply
Rui Santos
November 12, 2016 at 11:41 pm
Reply
manish k
November 6, 2016 at 8:35 pm
Reply
Dhananjay Khengare
November 12, 2016 at 4:25 pm
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 126/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
best project but some times the motor gets out of control
Reply
Rui Santos
November 12, 2016 at 11:38 pm
Reply
putri
December 22, 2016 at 6:52 am
sorry, may you send me the app inventor (apps code to smartphone via
bluetooth) to my email, please?
thx,
Reply
putri
December 22, 2016 at 7:07 am
hi Rui,
may you send me that aia file ? because i want to edit the app in app
inventor,please ??
thx Rui
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 127/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Reply
Rui Santos
December 22, 2016 at 11:53 am
I don’t that file, please read the top description of this blog post.
This was done for an older version of the MIT app inventor…
You can also search for Convert classic MIT app inventor to aia file
Thanks,
Rui
Reply
Tanmoy
December 25, 2016 at 4:05 pm
Reply
Rui Santos
December 26, 2016 at 7:50 pm
Reply
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 128/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Praveenath Sathyamoorthy
December 26, 2016 at 11:37 am
bro my connections are working i checked in the serial monitor but the
motors are not working can u help me in this…. thank u
Reply
Rui Santos
December 26, 2016 at 7:56 pm
Reply
Umut Alhan
January 10, 2017 at 12:21 pm
Hey Sir,
Thank you for detailed explanations and for all you effort. I also appreciate
that you answer all the comments…
Your sincerely,
Alihan
Reply
Rui Santos
January 15, 2017 at 11:43 pm
I’m not sure. Some readers experienced that error, but I don’t know the
solution… Thanks for reading,
Rui
Reply
James
January 17, 2017 at 1:12 am
Hi Rui,
I’d like to modify the app you made for this, but it can no longer be
imported into the newer MIT app inventor. I even tried the converter they
have, but that did not work. Do you have an updated version of the app
source code?
Kind regards,
James
Reply
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 130/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Rui Santos
January 24, 2017 at 7:19 pm
Search for MIT app inventor classic to AI2 converter and you should find
a website that allows you to convert the older files to the new MIT app
inventor
Reply
jitesh
January 19, 2017 at 2:08 pm
hi
I am using motor controller l293d but I have that board motor controller so
what is t the wiring for that you can tell me please.
Reply
Rui Santos
January 24, 2017 at 7:12 pm
Reply
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 131/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
saleem sheik
January 23, 2017 at 6:14 pm
sir….,
is it possible to run 4 motors, two motors for vehicle moving and another
two motors are run for some special purpose. if it is possible give me some
explanation it is helpful to my project.
thank you sir
Reply
Rui Santos
January 24, 2017 at 6:57 pm
Reply
Jimix
February 16, 2017 at 7:01 pm
Reply
Rui Santos
February 16, 2017 at 10:04 pm
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 132/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
The code is on this exact web page, simply click the download link…
Reply
john
March 9, 2017 at 7:09 am
Hello sir, can i have your original source for AIA file
Reply
Rui Santos
March 20, 2017 at 7:51 pm
I don’t have the AIA files, please read the top message at the top of this
blog post
Reply
Miguel S
November 19, 2017 at 9:01 pm
Good contribution!
Reply
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 133/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Lis
May 25, 2018 at 2:37 am
Thanks, Rui, this is exactly what I needed to get started. Although I will be
using a downloaded app (there are plenty, each sending different set
commands), your code is pretty universal and basically helps me put
things together and expand it in the future, perhaps by adding the obstacle
avoiding feature (in an if/else statement, I suppose statement), etc.
Reply
Marva
June 29, 2018 at 1:52 am
Can I replace the L293D IC with an L298N motor driver to control my two
DC motors? Do I have to change the code at all if I do?
Reply
Sara Santos
June 29, 2018 at 11:07 am
Hi.
That module should work just fine with the code provided.
You just need to make sure you wire the DC motor to the motor driver
properly.
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 134/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Regards,
Sara 🙂
Reply
Pedro Santos
August 3, 2018 at 3:08 pm
Olá Rui.
Reply
Rui Santos
August 4, 2018 at 4:13 pm
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 135/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Reply
Bhanu
November 4, 2018 at 4:43 am
Please help me. How can i make to motor motor to rotate slowly.Please
help.Very important for my project. The setup is all set but i want the motor
to run slowly.
Reply
Sara Santos
November 7, 2018 at 5:41 pm
Hi Bhanu.
Instead of using the digital digitalWrite() function and using HIGH and
LOW, use the analogWrite function, for example:
analogWrite(motorPin, motorValue);
In which motor value is a value between 0 and 255 (255 is maximum
speed). This way you can control the speed.
Regards,
Sara
Reply
Sovattey
November 17, 2018 at 1:37 pm
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 136/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Hello sir, is it fine if i use other app instead of MIT? and is the code works
the same?
Reply
Sara Santos
November 19, 2018 at 12:21 pm
Hi.
This code was built for the companion MIT App Inventor.
It won’t work with a different application, unless it sends the exact same
commands to the Arduino.
Regards,
Sara 🙂
Reply
Sara Santos
November 19, 2018 at 1:58 pm
Hi.
You need to change the code to be compatible with your own application.
Regards,
Sara 🙂
Reply
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 137/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Raja farhanah binti raja azaham
December 13, 2018 at 4:28 am
Reply
Sara Santos
December 14, 2018 at 5:53 pm
Hi Raja.
We just have the example for the motor drive in this tutorial.
Regards,
Sara
Reply
Shubham
March 7, 2019 at 7:04 pm
Hey very good project bro, but can you send the connection with L298
motor driver.
thanks
Reply
Sara Santos
March 8, 2019 at 12:13 pm
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 138/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Hi.
We don’t have a guide for that motor driver with the Arduino.
But we have a guide with the L298 motor driver with the ESP32.
The wiring is similar.
Here is the article: https://randomnerdtutorials.com/esp32-dc-motor-
l298n-motor-driver-control-speed-direction/
I hope this helps.
Regards,
Sara
Reply
ADEM
November 2, 2019 at 7:26 pm
Olá,
obrigado pelo seu feedback.
Essa pergunta requer quase um tutorial inteiro.
O que posso dizer agora é que funciona como com o Arduino… O módulo
bluetooth estabelecerá uma comunicação através dos pinos TX e RX.
e seu smartphone estabelecerá uma comunicação com o módulo
bluetooth.
Também vai depender de qual PIC você vai usar. Você precisa ler a folha
de dados…
Responder
Joyal Jaimon
18 de dezembro de 2021 às 15h25
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 139/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Oi
Responder
Masrath
17 de maio de 2022 às 16h38
Responder
Maria
2 de agosto de 2022 às 12h38
Responder
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 140/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
SJ
1 de março de 2024 às 18h44
Responder
James
12 de abril de 2024 às 12h02
Responder
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 141/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
Deixe um comentário
Name *
Email *
Website
Postar Comentário
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 142/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 143/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 144/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 145/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 146/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 147/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 148/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 149/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 150/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 151/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 152/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 153/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 154/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 155/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 156/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 157/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 158/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 159/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 160/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 161/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 162/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 163/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 164/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 165/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 166/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 167/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 168/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 169/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 170/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 171/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 172/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 173/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 174/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 175/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 176/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 177/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 178/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 179/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 180/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 181/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 182/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 183/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 184/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 185/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 186/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 187/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 188/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 189/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 190/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 191/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 192/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 193/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 194/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 195/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 196/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 197/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 198/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 199/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 200/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 201/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 202/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 203/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 204/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 205/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 206/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 207/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 208/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 209/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 210/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 211/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 212/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 213/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 214/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 215/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 216/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 217/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 218/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 219/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 220/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 221/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 222/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 223/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 224/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 225/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 226/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 227/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 228/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 229/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 230/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 231/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 232/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 233/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 234/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 235/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 236/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 237/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 238/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 239/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 240/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 241/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 242/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 243/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 244/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 245/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 246/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 247/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 248/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 249/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 250/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 251/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 252/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 253/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 254/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 255/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 256/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 257/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 258/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 259/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 260/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 261/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 262/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 263/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 264/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 265/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 266/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 267/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 268/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 269/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 270/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 271/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 272/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 273/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 274/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 275/276
21/10/2024, 20:16 Arduino - Control 2 DC Motors Via Bluetooth | Random Nerd Tutorials
https://randomnerdtutorials.com/arduino-control-2-dc-motors-via-bluetooth/ 276/276