Bluetooth controlled Arduino RC Car | Control using your Mobile Phone | Ut Go
ฝัง
- เผยแพร่เมื่อ 13 ก.ค. 2020
- Learn how to make Phone Bluetooth controlled Arduino RC Car. It contain full tutorial include all hardware and software parts.
Follow Us❤️/ Contact :
Instagram: / utgo_tech
Telegram: t.me/UtGoTech
------------------------------------------------------------------------
Components Link:
Amazon Links :
Arduino Uno Board : bit.ly/3u2dkvP
Arduino Motor Shield: bit.ly/4b1vsXr
Motor & Wheels : bit.ly/3HpUUYX
Bluetooth Module : amzn.to/3IEwU6s
Lithium Battery : amzn.to/3X1fYv0
Battery Holder : amzn.to/3QuNCGZ
Switch : amzn.to/3k2C7dS
Car Chassis/Body: amzn.to/3ipfQGP
------------------------------------------------------------------------------------------------
Library used: Adafruit Motor Shield V1 Library.
You have to install the above library before uploading the code to Arduino board
I found that the Android App is temporary disabled or removed form the play store.
You can use different Bluetooth RC Controller App from play store but you have to map the codes according to app. If you still want to use the same app then please Contact me through Instagram or Telegram, I will take backup of the app and share it or you can download the backup app directly from the google drive.
Android App: play.google.com/store/apps/de...
Google Drive Link for backup app :
drive.google.com/file/d/1Wrml...
I found that the Android App is temporary disabled or removed form the play store.
You can use different Bluetooth RC Controller App from play store but you have to map the codes according to app. If you still want to use the same app then please Contact me through Instagram or Telegram, I will take backup of the app and share it or you can download the backup app directly from the google drive.
Circuit Diagram : drive.google.com/file/d/1E-wc...
Code : drive.google.com/drive/folder...
If you are facing issues to download the content then ask in the comment section. We will help you out.
Other Videos and Tutorials Links :
How to make heartbeat monitoring device : • How to make Heartbeat ...
How to use MAX30102 Sensor : • What is MAX30102 and h...
How to use OLED Display. : • How to use OLED with A...
How to use Liquid Crystal Display | LCD : • How to use Liquid Cry...
HOW TO USE I2C LCD Display : • HOW TO USE I2C LCD DIS...
How to use RFID CARD READER : • How to use RFID CARD R...
DIGI SPARK tutorial : • DigiSpark Tutorial - I...
How to program esp8266 using Arduino IDE : • How to program ESP8266...
How to host web pages using ESP8266 : • How to host web pages ...
Thanks for watching this Video. If you liked this video then hit the LIKE button and share it.
Please share your questions, suggestions and thoughts regarding this project in the comment section below :)
Need any help, ask in the comment section
.
If you want to support me then please subscribe to my TH-cam Channel
-- bit.ly/34GtRnZ
Thanks, see you again in my next tutorial.
Here my Social Links:
Twitter: / utgo2
Facebook: / ut.go.524
Instagram : / utgo_tech
Like | Share | Subscribe | Comment
#Arduino #Motor #Shield #MotorShield #Robot #Controller #Driver #MotorDriver #DCMotor #RC #car
------------------------------
Track: Flying High - Declan DP [Audio Library Release]
Music provided by Audio Library Plus
Watch: • Flying High - Declan D...
Free Download / Stream: alplus.io/FlyingHigh
------------------------------
Spiral by KV www.soundcloud.com/kvmusicprod/
Creative Commons - Attribution 4.0 International - CC BY 4.0
www.creativecommons.org/licenses/by/4.0/
Track: Discovery - JayJen & ASHUTOSH [Audio Library Release]
Music provided by Audio Library Plus
Watch: • Discovery - JayJen & A...
Free Download / Stream: alplus.io/discovery - วิทยาศาสตร์และเทคโนโลยี
Sir you are a genius....of all tutorials only yours worked for me
Welcome
I heartily thank you , nor just because of your work but the main thing is your code , your code absolutely works great, I have watched lots of video but none of them submitted a crt library in the code file for bluetooth I don't know what reason they would have , but I heartily needs to congrats you , for my resume I am doing projects and learning several things while I have also spent my pocket money to it , at first wrong code makes me feel discomfort and I even thought waste of money why should I, your work motivated me to do so and learnt lot of things , thank you so much from bottom of the heart😊
Welcome
Was reading the comments. You have great patience and thanks a lot for such a great video🙌
Thanks
Hey Hi. In the video I see you connected the Blutooth module differently as compared to the circuit diagram which one is to refer ??
Both are the same. You can refer to any one of them.
it really works, thanks a lot for this video.
How do u recharge the battery
Welcome 👍
Using lithium battery charger
In video I saw, that bluetooth module you are using is powered by 3-6V and has 3V logical level. So I want to ask if there is no need to use logical level converter or power supply downgrade? Is blietooth module 5V tolerance? Thanks for answer.
It depends upon your bluetooth module breakout board.
I am a little bit worried about how you connect your terminals on the gearmotor, is there a way you know which one is positive & negative or you just connect them and sort for the terminal later cos that might make a novice 😅like us swap forward to backward rotations etc
Yes you can mark the terminals according to the direction of motors and use that data to connect motor terminals to the motor driver according to the position of the motor in the chassis.
But it is easier to just connect the terminals and swap the terminals if the motor does not rotate in desired direction.
From what I am seeing in your battery 🪫 pack seems you solder the end together while the front is lead out as positive and negative but my question is do you have to remove the soldering in other to recharge those battery or you have another technical means to charge your battery? Thanks 🙏 for your reply
Yes 2 batteries are soldered in series, you can charge this 2S battery using a 2S charger.
But you can use a battery holder as shown in this video:
th-cam.com/video/6WteNRth8xo/w-d-xo.htmlsi=JHlNM4PpEYODciLW
I was trying to follow your exact tutorial but at the end forward was left and back was right so I had to switch wires on one side to make it work correctly. Also added ForwardLeft, ForwardRight, BackLeft and BackRight to the code. Android soft support it but in the code it was missing. Other then this everything works as expected. Thank you!
Welcome
can you please share the code or explain what you added extra.
@@samiarahmanrima8833 the code is in the description
Thank you so much, I made it work. I want to add headlights, does this code support that?
No. You have to modify the code for that
Can i plug the rx and tx pins into the A0 - A5 slots instead? Because i plan on adding 2 servo motors
Yes you can.
Great job!
Please is there a difference between bluetooth module (hc 05) and (hc 06)?
Yes, HC06 can operate only in slave mode.
Hello, I love your videos but I have 2 questions. The first, can you please help me on how to install the library for the motor protector and the second, in addition to the lithium battery, can I install a battery holder and put 3 double AA batteries in them
"Motor Protector" Library?? Sorry I didn't understand.
No, you can't use 3 AA batteries because they are not able to provide enough power to drive 4 motors.
He means ''motor shield'' library@@UtGoTech
@@UtGoTechthere are AF motor library for v1 most motor shied, which we have to install with the code
Install Adafruit Motor Shield V1 Library
Please send me the name of app for control the car.
GREAT VID, WILL THIS BE THE SAME FOR v2 SHIELD ?
No.
Hello there
Can you help me please ,i want to add the blutooth on my project but im already using the SERVO1 & SERVO 2
So if i conacted the RXD. TXD of the blutooth to the TX, RX of the arduino/motor driver
will that work ?
Yes. Just remove connection when uploading program
Great work !!.....can you please make a video on automatic and manual modes of operating of any one of the actuators using NODEMCU.... please
Ok sure
@@UtGoTech thank you for responding ,I will be waiting for your video 🙂
Can u pls update the battery Amazon link which will workkk....pls?
Or
Can u provide the link here itself? 😔
India
What is the mah of your batteries and are they connected in series or parallel?
2 x 2500mAh lithium ion batteries connected in series
For the connection to the tires and the motor shield, are jumper wires sufficient as cable connections? Or do they conduct too little current?
Yes. You can use jumper wires for the connections between motors and motor driver shield.
Are you using a male-female jumper wire to connect to the dc motor?
No. I have soldered wires to the motor terminal and then connected it to the motor driver.
Hello sir Can i use two of these batteries LG INR21700-M50T insted of that one you got in video ?
Yes you can use these.
Do you have a 3-D print. I can put on top of the RC Using this as a final project
Currently I don't have.
When we finish coding do we need to connect to the car and take it out 😊
After uploading, disconnect the USB cable from Arduino Uno Board
Thank you very much for your code, circuit diagram
This is my 1st working Arduino project which I have done successfully
Great 👍
Did u use PID to make the car go straight? And does it turn exactly 45,90.. degree or not
Thank you^^
No, I didn't used PID.
No car does not turn exactly 45 or 90 degrees.
Please is it compulsory we must use adafruit cos i dont know whether we can also use l293d. I dont think there is difference there though
If you have L293D Motor Driver Shield then you can use the Adafruit Motor Shield V1 Library.
@@UtGoTech ok please can you kindly post a video on how to use adafruit library thank you so much i love your tutorials😊😆
You can find the video tutorial in this part of the video.
th-cam.com/video/6WteNRth8xo/w-d-xo.html
Bro use kar hai ki nai attach the 1K and 2K resistor to convert the Arduino's 5V logic output into 3.3v for the Bluetooth module. Because of some Bluetooth module doesn't have the inbuilt logic level converter.
I have used without voltage divider. If you want you can try.
@@UtGoTech I can join no arduino 3.3 v pin
I didn't understand
@@UtGoTech 25
?
What is the difference between soldering the points in 0 and 1 and fitting it directly in the pin?
No difference in the working of the RC Car. Only difference in connecting the pins directly is that it will make the connection process much easier.
how did you connect it to servo pins how did u define the pins in the code
Watch my previous video on how to use motor shield.
Bro till how much mah battery we can plug to motor driver shield bro can I use 4.2 v 6000 mah battery of 2psc is the motors works good bro plz give me a solution bro plzz
More than 2000mAh and battery voltage should be between 6v to 12v.
Sir, actually i very new to this field of robotics so can you suggest me the best Li ion battery to use.....i need it for the competition on Jan 21 (i will try to buy it by this month end and i want it to last till Jan end).... I am awaiting for the reply sir
LGABB41865 Lithium ion cells
@@UtGoTech thank you sir
Welcome
Bro is it okay to use 9v battery or lithium should be used.Can we buy cap for lithium ion battery
9volt will not work. You have to use lithium based battery.
@@UtGoTech thanks bro
Welcome Bro
Can i have the circuit diagram sir and by the way i have to say something in my school i had a exhibition today and i made a obstacle avouding robot with 2 of my friends we worked so hard but in the exhibition we went to see the other exhibits when i came to my one it was broken, someguy has broken it. I was so sad so when i went home i searvhed youtube to again mame it then i saw one of your videos this video was very helpful all the parts you used i had so now im making it thank you so much
Connections are simple and showed very clearly in video. Just follow the video and you will make it very easily.
i have a HC-06 Bluetooth module , I can pair up and connect but after an unspecified amount of time, 2 minutes
Or when you give the car a command to move when the Bluetooth connection is cut off
One of the reason for this is voltage drop. Properly and tightly connect cables and use lithium batteries
Great work! I have this error when i upload the code: "compilation error exit status 1" u know What i need to do? :(
Check if Arduino board is properly connected to your computer or not.
Have you installed the necessary drivers?
does it depend on the color of the cables that I use for the motorcycles as well as for the power supply? Because I bought a battery holder and there is red and black ....
Colour doesn't matter but polarity does.
great video! i can't seem to find the app for it though? looked up bluetooth rc controller and nothing popped up? thanks
App is removed from the play Store. You can download its backup app whose link is given in the video description
Hey nice vid I wanted to ask does the code matter for speed and the voltage needed
For Speed yes, for voltage no.
So, if the voltage is low then will it work as the speed is low actually I got 150rpm motors and it isn't working so I asked thank you voltage 9v
X2 9v battery together
This is my last request can you please copy and paste the code here actually I can't open the code somehow
I suggest you to use lithium based batteries.
Does a nine volt battery enough for this?
No, 9V battery will not work. Use lithium based battery.
Great Work.Thank you very much!
Welcome👍
also you used this SoftwareSerial bluetoothSerial(9, 10); in the code but you didn't use the pins as such.. can you pls explain
I have used those pins. Pin 9 and 10 is connected to servo pins of motor shield.
@@UtGoTech did that , but i don't know why it is not working for me :(
Hello, can I use hc-06 module instead of the hc-05?
Yes you can use it.
hi sir, i just want too ask if it is required to use lithium battery. Because I'm currently using an ordinary 9v battery but the motors does not run unless I connect my arduino to the pc. I hope u can reply asap, thank you
If you are going to use a single power supply for both Arduino Board and Motor Driver Shield then you have to use a lithium battery but if you are going to use a separate power supply for both Arduino Board and Motor Driver Shield then you can use 9 Volt battery.
@@UtGoTech ohh i see, thank you so much!
Welcome 👍
thank you! it worksss🎉🎉🎉 but how do you charge the power supply??
Using lithium ion battery charger.
thx for helping me conect the pins in the Bluetooth module
Welcome
Arduino ide se software dalte Hain uska kaun sa software sahi hai Ham bata do kaun sa software dalne ka usmein
Install Adafruit motor shield V1 library then download the code given in video description and upload it to Arduino Board.
Bro,could you suggest a lithium ion battery.Your link is not openable and why cant we use 9v battery
A 9volt battery cannot provide enough power to drive 4 motors that's why you have to use Lithium based battery.
@@UtGoTech thanks bro
Search for the LG 18650 lithium-ion battery.
You can search it on the Internet because links expire's very frequently.
If you are still facing issues in purchasing a Lithium ion battery then contact me I will purchase it on your behalf and send it to you.
Hi i had one query? Can I use 4 1.5v cells?? Please reply fasr
No, it will not work.
Hello. I want to know the exect details about the things you have used please reply me
Products links are given in the video description. You will get the full details from the product page.
Hello, when I connect the Arduino to the USB & motor drive to 12v the motors work but when I disconnect USB all motors stop working. I wonder you connected the power to driver only and it works. Please If you can help?
I connected the power to driver and connected the jumper so that power from driver goes to Arduino board. Check if jumper is connected or not in you condition. But make sure to only connect the jumper when you have one power source. If you give power to both Arduino board and motor shield then the jumper must be removed before giving power.
Very helpful video and thank you so much for your help brother. Please add camera module and ultrasonic sensor to this brother
Ok I will
awsome, good work sir🙌
Thanks a lot 😊
first thank you for this project
Can I connect a 11. 1volt to motor or not
I wouldn't suggest this because running for long hours will damage the motor. However you can run for short duration. I will suggest you to use 7.4V.
For each battery I mean if I use 2 then connect14. 8
Or you mean total 7.4??
Use 2 lithium ion batteries in series to make 7.4 V.
Thank you bro ❤
Welcome👍
Sir I did just like you in this video, I didn't solder the batteries instead I purchased a battery holder and the three pins switch but yet still didn't work. What do I do?
The battery holder works well.
Which battery are you using?
@@UtGoTech3.7 li ion rechargeable battery
THANK YOU FOR THE VIDEO...tried the exact same but the car is not taking instructions from the app. Could you help?
Is you hc05 module is properly communicating with the arduino board
hi there. have u fixed it? how to make it work? thank you
Which board should be selected......arduino uno or adafruit
Arduino Uno
Is there any problem or risk if I connect a 9V instead ?
No problem.
How did u connect the switch to the battery and then to the uno ????
Connect the switch between the battery and the motor shield.
Thank you very very much (A thousand thanks !!!) for this great Video :)
Welcome
Welcome
sir, motors are not working properly means ,its running jerkily also not turning left and right , what could be the reason .please provide us solution,
Check for loose connections and also check battery voltage
Where did you buy that case, Sir?
From Amazon
Can we use L293D motor shield instead of adafruit motor shield, Is there any difference between both of these or it can effect the car performance?
Both are almost the same. You can use L293D Motor Driver Shield
@@UtGoTech Is changing the shield effect the output or performance of a car?!
@anonymous_Blu No
sir bluetooth module is flashing red and when uploading code it gives error what should I do I made sure adafruit library is installed correctly
Please share the error and also tha library you have installed
Sir, Which application did you use for controller?
Bluetooth RC Car App from playstore
But there is no app like that sir
Can we use any controller app
App removed from playstore. You can download the backup app from the drive link given in the video description.
Yes, you can use different apps but you have to map the key and the signals in the code.
hi, nice video! can you help about the motors? which motor will be the M1, M2, M3, and M4 in order? thank you in advance!
Connect left side motor to m1 and m2 and right side motor to m3 and m4
@@UtGoTech then m2 and m3 is the back part of the car?
@renierguanzon8565 Yes.
@@UtGoTech one last question sir, in connecting the dc motors, how do you know it is the right wire to insert in the 2 M1 terminal blocks correspondingly?
What switch did you use? Did not understand the switch part
You can use any type of switch which can withstand 1A of current.
@@UtGoTech can you please send link of the switch?
Can we charge it by connecting charger at arduion input ??
No.
I have done everything but my bluethooth is not showing in available devices to connect i also tried changing bluethooth but the problem is same what can be the problem? I have used L293D motor sheild for my project. Light is coming in audino and motor sheild. But bluethooth light is not blinking for both the modules. Please guide
Directly connect your Bluetooth module to 5v and ground of Arduino board and if it is working or not
Sir I have a question, I have followed all your steps but when I turn on the DC Batt the BT Module wont on.
Check if your Bluetooth module is faulty or not.
Hello Sir. Is there any way the rpm of the motors can be increased?
Increase voltage
@@UtGoTech Sir but I have used the same gear motors which you have used. Isn't the RPM constant 60 for these motors?
Yes but it will vary with voltage. You can also increase speed using setSpeed function.
@@UtGoTech Ok. Thanks a lot for solving my query!!
Welcome
Bro where did you got the wheel and board
From Amazon
What are my options for power supply?
I suggest you use lithium based batteries. Alkaline battery is unable to provide initial current demand due to which microcontroller restart itself due to low voltage.
I have a question? Doesn't the Arduino need a 9 volt battery to work? I don't see her anywhere
The Arduino board is taking power through the motor driver shield and in the motor shield you can give voltage between 6 to 12 volts. 9 volt is the sweet spot.
The backup link for the app only works on the PC. Is there another way to get the app so that you can also use it on your
phone?
You can try opening the link in the mobile browser in desktop mode.
Can I use the library for L298n motor driver?
No. You can't use the same library for the L298N motor driver.
very nice video it was so helpful to me thank you
Welcome
Muchas gracias con este proyecto ya no repruebo el parcial
Great👍
What voltage is the battery because the battery link isn't opening......
We have used two 3.7V 18650 Lithium ion batteries in series. That makes 2S battery pack of 7.4V.
@@UtGoTech thanks 👍🏻
Welcome👍
Sir can I use a 9volt battery instead of 2li-on batteries?
A 9 volt battery will not work. You have to use a lithium based battery.
Thank you
Welcome👍
Can someone tell me what is the yellow thing in the board which he put on 10 44
Is it compulsory to use?
That is a jumper which is used to connect the power rails of Arduino Uno board and motor shield. So it is connected to transfer power from motor shield to Arduino Uno board.
@@UtGoTech so it is compulsory ?
Does it have alternative?
Can you give me the code as the code you gave doesn't open
Yes it is compulsory.
Login to your Google account then open the code link and download it
I have a geniue curious question
How does that car go left and right when all the components are set to be straight. Sorry, i dont know much about this. I am a newbie, haha
Rotating the left and right wheels in a different direction will rotate the car or rotating the wheels at a different speed will turn the car.
I liked your skilled technology
Thanks 👍👍
It is true that first I have to enter the Arduino application (page) and log in and then download the code or I was wrong about something.
First login to your Gmail account then open the code link and download it. After downloading open Arduino IDE then install the Adafruit Motor Shield V1 Library through Library Manager and then open the downloaded code and upload it.
Ok thanks
👍
I did everything according to the video but when I finish programming and disconnect the usb cable from the computer, the bluetooth sensor turns off, is there anything I can do ?
After disconnecting usb cable put the jumper in the motor shield.
Sir can I use simple dc motor in place of gear motor
You can use simple DC motors.
After uploading the arduino code, it says copy error messages, I don't know why
First try uploading code from example sketch. Look everything is ok or not
Remove tx and rx wire from bluthoot module then upload the code. After uploading connect it again. It will work
You don't need to because in this tutorial we have different connection.
The app is not available for in google play store for the latest android version
The app worked on Android 13.
Try reinstalling the app.
Why you don't have a voltage regulator in RX pin for Bluetooth module???
Actually some Bluetooth breakout board comes with voltage divider to convert 5v to 3.3v for the RX. That's why I have tried connecting it to Arduino tx pin directly and it work without any problem.
@@UtGoTech I have connected by this way, directly to Arduino tx pin as you showed it in video, but a few minutes later Bluetooth module lost the connection, I suspected that is rx pin voltage, because it works at 3.3v
does your car pulls right or left, while driving forward?
No. Only one direction at a time.
@@UtGoTech does your motors have encoders?
No
Can i use super glue instead of hot glue or we need to use hot glue or use the glue you use
I didn't use any glue but you can use hot glue if you want to.
Ok
¿Se puede utilizar un Arduino Mega2560,?, con la misma configuración (Conexión y el sketch de arduino). Saludos y excelente video.
Sorry I didn't understand your language
The code is correct I don't make any changes in code I directly upload to the board??
Yes
my software is giving an error during uploading the code and the blootooth module is giving a red light. i am using hc 05 blootooth module.
please help
Please share your error
i was trying to follow your exact tutorial code is also uploaded but car is not working at all . Please help me , also tell about BT APP which is you are using to connect arduino to mobile
App used: Bluetooth RC Car
You have to use this app only otherwise it will not work.
If you face further issues, feel free to ask.
i am using same app still i am facing some problem@@UtGoTech
bluetooth is also connected . i have checked manully all motor are working with code its not working , i have changed 3 arduino but still i am facing same problem😒😔
how may i connect with you@@UtGoTech
Make sure to connect motors and the Bluetooth module is connected as shown in the video.
Which type of battery are you using? You have to use 2 lithium-ion 18650 battery in series.
Hey everything is fine except when I do the Arduino code I get an error saying 'problem uploading to board' pls if you know the solution tell me
Try selecting correct board and port.
Which battery should i use ??.and how much supply!?.
I suggest you to use lithium based batteries. Voltage not greater then 9 volt.
When I pluged the cabel to the computer it give me noise (when you pluged USB to the pc it gives you noise) than bluethooth module starts flashing blue and red diode and also on arduino motherboard green diode is on. After 5 seconds pc dissconnect USB cable but in app port Com 1 is avalaibe. All drivers and Windows updates are fresh and computer is clean.
Are you removing the jumper before connecting it to your computer?
@@UtGoTech yes
Where is noise coming from
@@UtGoTech by that sound I thought if you plug some USB into your computer the computer will make you sound that it's connected. Well, at the beginning it makes the sound, but then after about 5 seconds it makes a sound when some device is disconnected from the computer.
If you able to successfully upload the code then there is no issue with that sound.
Can u pls update the battery Amazon link which will workkk....pls?
Or
Can u provide the link here itself? 😔
India
robu.in/product/lg-inr18650-b4-2600mah-lithium-ion-battery/
If we don’t use motherboard it will work and if we use hc06
Can you please elaborate?
Can we connect esp8266 nodemcu instead of Bluetooth module
Yes, it possible to use esp8266 to control RC car
@@UtGoTechCan u tell How the circuit diagram will look like with esp8266?
What was that small yellow thing you plugged in
Its a jumper pin which is plugged to transfer power from motor shield to Arduino board.