How To Make A Simple DIY Arduino Bluetooth Controlled Car At Home
ฝัง
- เผยแพร่เมื่อ 14 ม.ค. 2019
- Hello Guys, In this tutorial i am going to show you how to make a DIY Arduino Bluetooth controlled car, so let's get started :)
-------------------------------------------------------------
Find electronic components on www.utsource.net/
Utsource is a proffesional elelctronice supplier with more than 2 million product, lower price with free shipping.
-------------------------------------------------------------
Circuit Diagram: bit.ly/2StkYZR
Code: bit.ly/3zfI3Dw
Controller App: bit.ly/2lPBbeM
AF Motor Library: bit.ly/2VlyW2m
Note: You have to install the AF Motor Library before uploading the code.
---------------------------------------------------------------
Here's the parts list:
[Banggood.com]
1) Arduino Uno - bit.ly/2Fz8M4q
2) Motor Driver Shield - bit.ly/2VWaYsn
3) Wheels (4x) - bit.ly/2suQJEY
4) TT Gear Motor (4x) - bit.ly/2Rtg2G9
5) HC-05 Bluetooth Module - bit.ly/2FycDig
6) 18650 Li-on Battery (2x) - bit.ly/2CZabQ7
7) 18650 Battery Holder - bit.ly/2sulLwu
8) Male and Female Jumper wire - bit.ly/2su6mfM
9) Acrylic Sheet - (Offline Store)
10) DC Power Switch - bit.ly/2FtyEzs
[Amazon.in]
1) Arduino Uno - amzn.to/3mRNthT
2) Motor Driver Shield - amzn.to/2ECl65Q
3) TT Gear Motor and Wheels (4x) - amzn.to/3i8QXJk
4) HC-05 Bluetooth Module - amzn.to/3kUbVxb
5) 18650 Li-on Battery (2x) - bit.ly/3kU8F4O
6) 18650 Battery Holder - amzn.to/3mU1OdA
7) Male and Female Jumper wire - amzn.to/3i37Q88
8) Acrylic Sheet - (Offline Store)
9) DC Power Switch - bit.ly/2FtyEzs
[Flyrobo.in]
Arduino Uno : bit.ly/38SjXB1
Motor Driver Shield : bit.ly/37Uo8Lo
Wheels : bit.ly/39UiiuX
TT Gear Motor : bit.ly/2vV36Pu
HC 05 : bit.ly/2PhgUL3
Male and Female Jumper wire : bit.ly/3bWCVZr
-----------------------------------------------------------
Thanks for watching this Video. If you like this video then hit the LIKE button, share it and also make sure you don't forget to subscribe my channel for more upcoming awesome projects.
If you have any question related to this project then let me know in this comment section below :)
Here my social sites:
Facebook: / surajit.maju. .
Instructables: www.instructables.com/member/S...
twitter: / diybuilder1
-------------------------------------------------------------
Background Music:
Bongo by KV / kvmusicprod
Creative Commons - Attribution 3.0 Unported - CC BY 3.0
creativecommons.org/licenses/b...
Music promoted by Audio Library • Bongo - KV (No Copyrig...
Polaroid by extenz / extenz
Creative Commons - Attribution 3.0 Unported - CC BY 3.0
creativecommons.org/licenses/b...
Music promoted by Audio Library • Polaroid - extenz (No ...
Good Vibes by Dj Quads / aka-dj-quads
Music promoted by Audio Library • Video
----------------------------------------------------
#DIYProject #ArduinoProject #BluetoothCar - แนวปฏิบัติและการใช้ชีวิต
Thanks for the video. Tell me, what are size of the screws you used (dimensions)? Where did you get the black acrylic sheet from? If you could put these few details in the description, others would surely be blessed to know as well.
Awesome project. Easy to learn and best for beginners.
Btw, have you written that code yourself? It's easy to understand too. It would be helpful if you explain what your code does in the video too. Because, most youtubers just say "COPY CODE FROM DESCRIPTION BOX!!!". And, that's not what a learner should do.
Thanks for this video btw.
agree 10000%
Why not?
One question, how do I know if my hc 05 have a inbuilt logic level converter?
Nice tutorial...some connection problem..but sorted out.Thanks bro.
Dude thanks so much man I made it and it works I could not figure the codes out until I found your channel I made all my freinds subscibe bro thx so much
Glad I could help
Bring how to install coad
Hey bro can you help me with my one, it doesn’t work
I made this car and it worked the first time! Be sure to check the Circuit Diagram because the video doesn't show all the correct instructions. Front right wheel was turning the wrong way but that was a quick fix. And the controller app changes left/right with forward/backward. But it still drives and that's sweet.
Nice work!
did you need to make any changes to the code? Couldnt get it working for me
Hey can you help us..
Hey can you help me please in designing
Bro can you share the code cause I cannot open it
Sir I liked your project..I also made same with your help by this video.. everything works properly but in back and left function only three tyres works.. forward and right function is very well works
i think there is a problem with your motor driver. which battery r u using bro?
@@DIYBuilder can we use l298 motor driver with same coding
@@DIYBuilder I am giving power to Arduino board by power adopter and usb cable both..
Great work !!.....can you please make a video on automatic and manual modes of operating of any one of the actuators using NODEMCU.... please
Thanks for this tutorial bro!,
Osm video🤘🤘.Excellent demonstration.plz explain how to make a drone using Arduino UNO or Raspberry Pi.....
Not a great idea using an uno because they're not really powerful enough for flight stabilisation, but Quadcoptors or drones are really difficult to design and your better off buying a DIY kit. Besides weight and center of mass can change the performance of the drone significantly, meaning if he made one and you copied it and it wasn't the exact same, you'd have to change the code a bit.
Anyway best of luck with what you want to build though 👍🏾
thank you very much i had a project to do with my school this video helped me at the right time, thank you
Glad to hear that
you also grade 11?
Nice work! I wanted to ask can we use about 3v
Awesome bhai.. 🤗🤗 Toy for my son will sorted.. 😂😂
😂😂😂 thanks bhai
@@DIYBuilder please send the code in the comment box as I can not get the code from your given link
Hi brother,
First of all vedio was awesome. I have a doubt. Can we use HM10 Bluetooth module instead of HC05. If yes, is there any connection changes or code changes. It will be good if know that.
God bless u
if u connect HM10 It will not pair to android
good idea....how about coupled with two servo for clamping lift waiting for the tutorial
Wow your videos are correct and amazing I made it and it worked
Works like a charm ..
Code 100% working.
A slight problem is that bluetooth app is disconnecting frequently.Can you help in this regard??I am using all the specs you have used and 18650 batteries also.
Thanks for the good work...
Same problem
@Ujjal Padhan Normal Jumper wires.Purchased from amazon.Then Cut a pair of female jumper wire.Add the female end to the bluetooth module and solder the other parts to shield board Rx Tx point.
@@mohithkumar933 Hello..
I have identified and solved the problem.The bluetooth module is not getting enough current from the shield board. While experimenting, I just connected the 5V pin,Gnd pins direct to arduino output pins just direct below the shield,did not solder it. Add a powerbank to the main arduino board.Pull the jumper from the l293d shield.And the bluetooth stays connected for ever.
Send the code bro plz in the comment
@@Parthaspartan1985 i have a question,The app shows that hc 05 is connected and the blinking of the led in hc 05 also slows down(Red colour) .But when I try to control it doesn't move,what is the cause?
i need this for a school project
same
One question, is this also consider an IOT project too?? i plan to make a bluetooth rc car for my college
you indian nice
mujhe 1st price mila yaar thanks
nice man! can you give me the measurements of your wooden plate? both from the battery holder and the wooden plate itself?
How did you get that 5v and gnd pin in motor driver
bro , which one soldering iron u r using ?
😅😕
Thank you very much for the tutorial... I loved it
I have one problem. After making it, I have to give it a push before it can move and when it hits an obstacle, it stops. Can you please help me
I realized the battery wasn't supplying enough power so I added up more battery and it worked perfectly 😊
A question after loading the programming to the arduino disconnects the usb from the pc and presses the switch, or does one more procedure?
You don't need to do anything after uploading the code.
Why code is not viewing in the link given
Thank you! You help me much!
Did you put the correct link for the arduino uno?Is uno 3r or is arduino uno?
Hello
Would x4 AA batteries run the motors?
finally made it with HC-05 module.
To the viewers don't use HM-10 module , u can't pair it with ur android.
can i use hc-06??
I have just finished building this project and it works very well, thank you for all your work.
Is it possible to have proportional motor control using the motor shield. If anyone could suggest any links on how to do this I would be grateful, thank you.
bro what is that plug used in the bluetooth ?
Sir, I also car materials I have just finished buliding this project.But the problem is not moving. You would help to me
@@gfsjkdkl I have built my project but bluetooth dosent work
please give me solution.
Can you help us..
You are professional, thanks for you videos 😊✌️
Thank you too!
@@DIYBuilder في مجال الكود
thanks for the cool project!
where is the circuit schematic? i couldn't find it in the description.
Given
Nice car brother
Please help me with the lights, what pins do I have to use to connect them?
Really cool. You really should have more subscribers than you have.
yeah bro
Bro even i am into programming arduino.But can you just make a multiFunctional car with rf transmitter and reciever
Wow nice
Awesome 🤩🤩
what tool did you use to weld wires to gear motors?
soldering wire and soldering iron
We can use single jumper wires for connecting Bluetooth module
what wire did you use to connect the bluetooth module and the motor driver?
Jumper
How do you make the diagrams? Make a video on how. Please
Do you used audrino compitable or development board?
Sir what procedure should we do to install library??
Because it saying that the "specified file is not in the file"while choosing af motor library that I installed by your given link.Please guide me.
And where are you from ??
Yo! Respect
Nice vudeo (first viewer)
Thanks man :)
Superb Project! But did anyone notice the car falling from the table 😂😂at last and even he said something, if not then check it.
Sir can we use regular batteries like 9V cell??
Can I use the iOS app "BitBlue" with this project? Or I have to use a different Bluetooth module or something else? Thank you
actually i didn't use it before. but you can try
iOS can’t connect with hc05
@@adisuyash yes
Hi DIY Builder, thank you for sharing this wonderful video. Nice work.
I just built it today, but now I have encounter issue: No action and no movement after connecting with BT module (HC-05) with my cell-phone. Would you please share us more information base on BT module settings? for instance, BT roles, UART rate, and other setting as well. Thanks.
Did you install AF_Motor library at first? If you are using the same motor driver shield then you have to install it's library otherwise the car won't work
Yes, I already installed AF motor library before building this project. Also, I am using the same motor shield. Did you setup your BT baud? or other related setting? Thanks.
Which app r u using to control the car?
I used the APP that you provided.
Then it should work bro
Aye bro thanks for the tut. Just have one question. Are diodes necessary for the motors?
Those are capacitors
Hii bro
Where did u get the android app .
Is it available on play store.?
Hi DYI Builder, thanks for the project! I am having a few issues.... 1) HC05 continues to disconnect after a few seconds. Using 2x 3.7V 18650 batteries to power the car. 2) Only M1 and M2 motor shield ports work. I have tested the motors and they are all fine. Also have managed to get all 4 motors running connected 2x to M1 port and 2x to M2 port, so the problem seems to lie with the ports themselves. Any suggestions on how to identify the actual issue and resolve it?
Hello bro. I have the same issue before but after that my car is working. You can follow my steps-
1)first attach the shield then upload the code.
2)attach your bluetooth module to the 5v and gnd (not the 9v).and tx to rx and rx to tx.
3)use a minimum of 5volts 1 ampere power supply(I used a powerbank).
I hope it will work
@@ankitnandy986 Bro i have A question see if i mount motor shield on arduino then how much volt will it supply to arduino
means i give 9v to motor shield then how much volt it will give to arduino
As much as i know. If you give 9v to ur sheild then arduino will also receive 9v. But you can measure through multimeter (vin and gnd pins)
Hello bro please help me
I have the same problem I have attached all the things as per the circuit diagram but the problem is that when I connect the hc-05 within one or two seconds it get disconnected and in that 1 or 2 seconds also the car is not working, please help me, this is my final year university project
Cool project bro. The acrylic battery case was a good hack too..
Thanks bhai 😁
@@DIYBuilder where did you connect Battery wire
Can we use doc motor instead of TT gear motor
yeah i made it anbd it work well but I cant make it move with 1.5V battery*4 and 9V so ijust powerback and connect with usb and it work well thank
i have this error
exit status 1
'motor1' was not declared in this scope
what do I do pls help
nice finishing bro
Thanks bhai 😊
Hi sir ur project was good..actually iam planning to make electric ride on jeep for my son can i use same bluetooth remote control can as shown in this project for 775 electric motors.
Yes you can
@@DIYBuilder sir one more doubt, can i use DC motor speed controller along with above bluetooth remote control kit, also forgot to ask you can i use above kit for only two 775 motors instead of 4 that you have used.
Do you know how to measure distance travelled by using sensor and display in other software?
I have completed this project and this cost me around 3.5k(ofline stores).before beginning you should upload the code to arduino and then put the motor driver shield and etc .
You should have purchased it from Amazon I got everything in 2k
@Prathmesh Gumal //Arduino Bluetooth Controlled Car//
//// Before uploading the code you have to install the necessary library//
//AFMotor Library learn.adafruit.com/adafruit-motor-shield/library-install //
#include
//initial motors pin
AF_DCMotor motor1(1);
AF_DCMotor motor2(2);
AF_DCMotor motor3(3);
AF_DCMotor motor4(4);
char command;
void setup()
{
Serial.begin(9600); //Set the baud rate to your Bluetooth module.
}
void loop(){
if(Serial.available() > 0){
command = Serial.read();
Stop(); //initialize with motors stoped
//Change pin mode only if new command is different from previous.
//Serial.println(command);
switch(command){
case 'F':
forward();
break;
case 'B':
back();
break;
case 'L':
left();
break;
case 'R':
right();
break;
}
}
}
void forward()
{
motor1.setSpeed(255); //Define maximum velocity
motor1.run(FORWARD); //rotate the motor clockwise
motor2.setSpeed(255); //Define maximum velocity
motor2.run(FORWARD); //rotate the motor clockwise
motor3.setSpeed(255);//Define maximum velocity
motor3.run(FORWARD); //rotate the motor clockwise
motor4.setSpeed(255);//Define maximum velocity
motor4.run(FORWARD); //rotate the motor clockwise
}
void back()
{
motor1.setSpeed(255); //Define maximum velocity
motor1.run(BACKWARD); //rotate the motor anti-clockwise
motor2.setSpeed(255); //Define maximum velocity
motor2.run(BACKWARD); //rotate the motor anti-clockwise
motor3.setSpeed(255); //Define maximum velocity
motor3.run(BACKWARD); //rotate the motor anti-clockwise
motor4.setSpeed(255); //Define maximum velocity
motor4.run(BACKWARD); //rotate the motor anti-clockwise
}
void left()
{
motor1.setSpeed(255); //Define maximum velocity
motor1.run(BACKWARD); //rotate the motor anti-clockwise
motor2.setSpeed(255); //Define maximum velocity
motor2.run(BACKWARD); //rotate the motor anti-clockwise
motor3.setSpeed(255); //Define maximum velocity
motor3.run(FORWARD); //rotate the motor clockwise
motor4.setSpeed(255); //Define maximum velocity
motor4.run(FORWARD); //rotate the motor clockwise
}
void right()
{
motor1.setSpeed(255); //Define maximum velocity
motor1.run(FORWARD); //rotate the motor clockwise
motor2.setSpeed(255); //Define maximum velocity
motor2.run(FORWARD); //rotate the motor clockwise
motor3.setSpeed(255); //Define maximum velocity
motor3.run(BACKWARD); //rotate the motor anti-clockwise
motor4.setSpeed(255); //Define maximum velocity
motor4.run(BACKWARD); //rotate the motor anti-clockwise
}
void Stop()
{
motor1.setSpeed(0); //Define minimum velocity
motor1.run(RELEASE); //stop the motor when release the button
motor2.setSpeed(0); //Define minimum velocity
motor2.run(RELEASE); //rotate the motor clockwise
motor3.setSpeed(0); //Define minimum velocity
motor3.run(RELEASE); //stop the motor when release the button
motor4.setSpeed(0); //Define minimum velocity
motor4.run(RELEASE); //stop the motor when release the button
}
@Prathmesh Gumal nobody can help you by send you are motor library you need to download it yourself
Send the code bro plz
@@BabluKumar-dw2qx given. Chk it
Can I use these motors and use same code?
Single Shaft TT Motor
size: refer to the picture above
Operating voltage: 3V~12V DC (recommended operating voltage of about 6 to 8V)
Maximum torque: 800gf cm min (when it is 3V)
No-load speed: 1:48
RPM:200(when it is 4.5V)
Load current: 170mA (when it is 4.5V)
This Mini Electric Motor is a general purpose motor, work with batteries or solar cells perfectly Great replacement for the rusty or damaged DC gear motor on the machine.
Used for electronic fans, electronic machine, toys, cars, robots, arduino projects, etc
With EMC, it has strong anti-interference ability and causes no interference to micro-controller
you can use any dc motor.
I cannot download the audio calling please send me the order no coding link
Yes of course if you put any motor it will work.Maybe it might not move due to the weakness of the motor
It works. I love it
i have also tried very nice(:
It works.❤️. Small issue when i press forward sometimes it keeps going even if I release the button. Same happens to other sides. How do i stop continuous running issue. Thanks. Appreciate it
Your Bluetooth module is not good
Hello bro. I have the same issue before but after that my car is working. You can follow my steps-
1)first attach the shield then upload the code.
2)attach your bluetooth module to the 5v and gnd (not the 9v).and tx to rx and rx to tx.
3)use a minimum of 5volts 1 ampere power supply(I used a powerbank)
I hope it will work
Check the code again
@@ankitnandy986
Hi I also interested to make it can you please help me
Amazing! Very nice
Do u need the tt gear motor for this project to work
I would use them if you could try it with different ones
great video, thank you very much!
Glad you liked it!
Which software are you using to make the circuit diagrams?
Ardino ide
Hey bro! Nice video.
Can you please tell what changes in the code should I make to run Arduino mega?
please help bhai.
You don't need to change anything in code. just select correct board and port while uploading the code. In my opinion arduino uno is better option instead of mega.
@@DIYBuilder yes you are right
can i ask if i rest my arduino & motor driver board on an acrylic block will the uno or motor driver board burn ? cause i know if i rest them on my metal chassis its said that they would burn.... REQUIRE A REPLY ASAP THANKS IN ADVANCE
Hi DIY Builder, thank you for sharing this project with us :)
The link to the controller app just takes me to a page that says "we're sorry, the requested URL was not found on this server" even though i use a samasung phone. Would you mind to please share the name of the app or an updated link with me please?
Do we have speed control in this?
Hi
Yes
Can I use IOS apps to control the car as well? If yes, which ones do you recommend???
Blynk app is also on iOS
Yep you can download sprw
Thank you for the tutorial. I have connected as you have indicated however when I connect up the LEDs are the only thing that works. Can I please check with you on whether the code varies for iOS and Android phones? Thanks
How did u corrected it
Here is another video with more information on all the components and detailed explanation on how to start from scratch.
th-cam.com/video/dOH-zVs3g0U/w-d-xo.html
bro, I have an APPLE device what module should i prefer to use for my project.plz suggest
Does after uploading and running Arduino code....then we will get apk app for mobile ??🤔
here is a step-by-step instruction. How to add the AFMotor library. What applications to install and how to configure it. www.instructables.com/id/Simple-CAR-Arduino-Bluetooth-Controlled/
Plz cord link send
Can you please do a video on a car 🚗 that follows you thru GPS
I would also be interested in that....
do you have any idea how much time and electricity to move that far
Thx i build And its working
Would it matter what shield i use and would it change the code?
Will the setup work with 9v rectangle battery????
No it will be over heating
How to install code please make one video
please, make a video about connection of lights in this OA car. I mean it will work like a indicator.When the car go forward,the forward light will on.When the car go back,the backward light will on.When the car go right, the lights of right side will on.Can you make some thing like this?
Can we use
other types of battery
Hey ! I'm a newbie to Arduino and I just want to ask you some silly question ! What is that heating device you use to heat up small metal electronic part .. I really don't know how it's called ? Thank u .. 1 like from me ..
i knew it now... :)
tell me what it's called....😜
It's a soldering iron for those who do not know
It is soldering machine
Hi i have an problem on making arduino car like this, i already create a model with motor shield,motor gear and clone arduino , the problem is all of the motors run slowly(even my code is correct) thus the problem is the motor shield?, the clone arduino? or im just lacking of power supply (im using 6000mAh, 5v and 2A power bank)
I really need your help since my Science IP is robotics.
Same problem here
Bro upload the code
Good job sirr ❤️🤜🤛🥇🏆🏆🏆🥇🥇🥇
can I use the L298N instead of the Motor Driver Shield
How to enter the code in the last of video please make video on this.
Yes
Sir please make clear videoof installing code to arduino....
I am also so suffering this problem
Bro shall i connect the female jumper to gnd at any given point because i made a little mistake while soldering.
Can u suggest a cheaper alternative to the motors
The app shows that hc 05 is connected and the blinking of the led in hc 05 also slows down(Red colour) .But when I try to control it doesn't move
same problem man please tell solution
same of me
do you know how to fix it?
hi friend thanks for project i do every thing but when i disconnect USP cable the Bluetooth module lost power and make disconnect with my phone pleas help me
contact me on instagram
@@DIYBuilder meee too, it said that device connection was lost. Please help
@@DIYBuilder I dont have Instragram
Could you answer it here
Hey man your awesome I love your channel you make wonderful projects and give the information in link description .
Thank You A lot bro. In every of our school project I take projects from you. My group always gets good remarks for the project. We are now selected by IIT - Mumbai in India. Thanks aa lot. 😃
Wow, congratulations man 👏
Is the controller app on Iphone
@@whyzekid may be 🤔
My fav part at 6:04 🤗🤗🤗
Who asked?
FADAYEH 9B who asked for you to reply?
Can you help with my app , it's frequently disconnecting with bluetooth module
Which battery r u using?
Same problem
@@DIYBuilder 9V can type battery
Same problem. Using 9v battery
I have the same problem. I'm using 5X AA rechargable batteries.
is it neccessary to put the resistors
Bro motor driver shield ki jgah simple motor driver use kre to bhi iss app me chl jaega kya car?