How To Make Bluetooth RC Car with L298N H-Bridge Motor Driver - Smartphone Control Car(Sinhala)
Вставка
- Опубліковано 26 січ 2025
- ⚙Hello Friends,😀😀
💿Arduino Code and Diagram :robotlk.com/ho...
📚My Website - robotlk.com/
📱Mobile App Link : drive.google.c...
In this video I will show you how to make a Bluetooth RC car.It uses an Arduino Program to build it. This is controlled by the mobile app. It can control the car's horn,front light and rear light. This Bluetooth car can be controlled with both Accelerometer and gesture.
⭕Below are the links to purchase the required accessories
🔰AliExpress Links,
1) Arduino Uno- s.click.aliexp...
2) L298N Motor Drive - s.click.aliexp...
3) 4 Wheel Robot Smart Car Chassis Kit - s.click.aliexp...
4) HC-05 Bluetooth Module - s.click.aliexp...
5) 3x18650 Batteries - s.click.aliexp...
6)3 cell 18650 Batteries holder - s.click.aliexp...
7) Male and Female Jumper wire/TT Wire - s.click.aliexp...
8) 1W Two LED (Front and Back Light) - s.click.aliexp...
9) DC Power Switch - s.click.aliexp...
10)5V Buzzer (car horn) - s.click.aliexp...
🔰Amozon Links,
1) Arduino Uno- amzn.to/4baGxp7
2) L298N Motor Drive - amzn.to/3Ohl5Vu
3) 4 Wheel Robot Smart Car Chassis Kit - amzn.to/42ikGbu
4) HC-05 Bluetooth Module - amzn.to/42hbYdj
5) 3x18650 Batteries - amzn.to/3OiC8Xo
6)3 cell 18650 Batteries holder - amzn.to/3vRYZ5X
7) Male and Female Jumper wire/TT Wire - amzn.to/42fjEwI
8) 1W Two LED (Front and Back Light) - amzn.to/499w6QP
9) DC Power Switch - amzn.to/4ba77Ph
10)5V Buzzer (car horn) - amzn.to/3SwAMeb
---
💢My facebook page :- / robot-lk-101113971569889
🔰If you feel creation of mine are valuable, interesting, knowledgeable please don't forget to SUBSCRIBE my channel, LIKE and COMMENT to my videos, SHARE them with your friends.
🔰Thank You Very Much Guys, Good Luck!
🔸 How to assemble the YP 100 Smart robot tank - • YP100 Robot Smart Tank...
🔸 Building The 6 DOF Robotic Arm - • Building The 6 DOF Ro...
🔸 How to control by Bluetooth the YP 100 Smart robot tank - • YP100 Robot Smart Tank...
🔸How To Make Bluetooth RC Car(Two Motor drives) - • How To Make Bluetooth ...
🔸How To Make Bluetooth RC Car(One Motor drive) - • How To Make Bluetooth ...
🔸How to make a Gesture Control Car - • How to make a Gesture ...
🔸Arduino Mecanum Wheels Robot Car - • Arduino Mecanum Wheels...
🔸Arduino FPV RC Car | FPV System - • Arduino FPV RC Car | F...
DISCLAIMER: Some of the above links may be affiliate links, meaning if you purchase a product via these links I may receive a small commission/reward, at no additional charge to you.
--------
#BluetoothCar
#ArduinoCar
#Sinhala
Nice video and well detailed
Thanks!
@@RobotLk can i used hc-06 Bluetooth module with the same code u've used?
@@RobotLk dear suresh we know your Bluetooth car it is very good to be able to use your idea
@@RobotLk can i use Arduino nano in this project
Yes.code is same
මම ගොඩක් video බැලුවා ඒත් ඔයාගේ video එකේ විදිහට හදපු එක විතරයි හරි ගියේ. Thank you
Thanks
Literally same. I watched over 30 videos but i made by the help of him only
ys
thank u bhai aapka video jo hai same mai bna rha tha codes 200 se be zada try kiye par jo aapne diya wo kaam krgaya thanks alot bro love u thank uuuuuuuuuuuuuuuuuuu☺☺☺☺☺☺
bhaiya i need a help how can i contact u
+94771489786 whatssapp ,message only
@@RobotLk is number correct its of 9 digits
+94=0 srilanka
0771489786
Thank you sir mera project aap ke coding ke vajha se completed ho gaya
Thank you sir ,for using your code to make a sucessfully bluetooth control robot .
Hey, please help. My whole thing is done, Bluetooth connected, lights working but only problem is none of motor working any suggestion
How much voltage is provided?
@@RobotLk i have provided 15v
+94771489786 Whatsapp ,Send a message
I don't know if it's a problem with the motor drive
@@RobotLk hi
0:59 @@RobotLk
Not working 11:14 used a switch. And I used a arduino uno R3 board. Does it work. Plz reply 😢
Does the bluetooth module connect?
i connected zinc 6v battery to motor driver and 9v to arduino but its not still moving help
Awesome project successfully done thank you very much roblt lk
You are welcome 🙏
Thanks you bro it's very helpfull for my final project 😊
Your video is very very use ful thnks
Thanks
Hello bro!!!
In Online market Arduino uno's 2 varients available
1st is SMD & 2nd is Ic
So, which is best which one buy
Plzz help 👍🏻
Both are not a problem. The same thing can be done. Buy a cheaper arduino board
Hi sir can we use piezo buzzer (big) in this project and can i use the original arduino uno board but it doesn't have soo much GND plug in it
Hi sir
Connect to GND of motor drive.
Connect several wires to the same GND. It is not a problem. Do the same if the 5v pin is not the same
@@RobotLk thank you sir
Sir can i use arduino uno original board?
Hi sir can i use 9v hi-watt battery
Depois de pesquisar vários videos sobre robô controlado por Bluetooth e com faróis, finalmente encontrei este que ajudou a resolver meu problema, obrigado amigão!!
🙂Muito obrigado por assistir meus vídeos
Would it be okay to use non rechargeable battery in place of lithium ion battery?
Non-rechargeable battery can be used. But the battery drains quickly. Traveling speed may decrease
I wanted to add a few more features, so that requires the app to be reconfigured can i get the app link where I can reconfigure it?
play.google.com/store/apps/details?id=braulio.calle.bluetoothRCcontroller&hl=en
Hlo my whole thing working properly but driver module getting so heat up so tell me , what is the problem happening in the module?
Check if the wires to the motor are shorted
Sir, may I replace the 180 Ohm resistor with a 330 Ohm resistor?
No resistor required
The good project is very nice we have seen your robots I like it
Thank you very much
Hello brother. I just wanted to ask what can be the possible reason for motor not rotating when i try to give command to the motor driver using hco5 bluetooth module... your reply will be helpful. Thank you🙏
What is the voltage applied to it?
@@RobotLk 2 Li ion battery of 3.7 volts each.
Did the code upload correctly?
@@RobotLk yes
Is the motor drive connected by ENA, 5V and ENB, 5V micro jumper.It is shown in the circuit diagram.
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 bluetooth module 5V tolerance? Thanks for answer.
5v works correctly, I am using hc-05 blutooth module.
It is not necessary to lower the power supply to the RTD pin
bro, I already like & subscribe your channel ... what changes should I do if I use the 293D driver?
These days there is a lot of work, I will make and send the code
@@RobotLk if you have time maybe you can make a video with the motor driver 293D. and of course the video that you make is very useful for many people .. thank you in advance for the kindness you give
Good day :) I just want to ask what is the possible cause of my problem. all components are working just fine but when I try to command the motor driver through the phone, the motors wont rotate at all. all components are working fine when i tested them and I also checked the connections and they are also ok. I suspect that problem is on the voltage flowing through the pins from the arduino to the L298n, but I am not really sure. pls if you can answer me that would be a great help :) Great video by the way :)
How much voltage was given?
@@RobotLk well, the h-bridge is providing almost five volts to power the Arduino. Then if I use the arduino to power the Bluetooth, the arduino only gives about 3.44v to the bluetooth which is clearly not enough. so i decided to directly plug the bluetooth module to the H-bridge's gnd and 5V output and the bluetooth works just fine. then as for the voltage from the arduino to the pins in1, in2.. it has 0.01V or no voltage at all to every pins regardless if i am connected to the bluetooth module or not. sorry for the long message, I was just making sure that I am explaining every detail :) thank you for responding :)
@@RobotLk and by the way I am using the green version of the H-bridge, I dont know it affects anything because I am fairly new to electronics.
Hello, I have the same problem, did you solve it? and if you did it, could you tell me how? thanksss
Only issue is code check ur code and find the pins configuration
my arduino bord is arduino mega do I have to choose the board as arduino mega
please reply
Yes, select arduino mega .You can use any arduino board for this
Broo can i get a fast reply if i connect battery to 12v of motor driver there is no red light glowing
Id i connect to gnd and 5v it is glowing is the motor driver problem..????
What is the voltage supplied?
9v
we want to put two batters for arduino and to L289N plz give reply
It is enough to put two batteries
Excellent project brother. I appreciate it.
I have 3 questions. Please help me.
1) Can I use arduino nano?
2) If I use arduino nano, what will be change in diagram?
3) If I use arduino nano, what will be the change in coding?
Arduino nano can be used. The circuit diagram is no different. The code doesn't change either. But while uploading the code, select arduino nano as the board
@@RobotLk Will everything work properly? Will the motors and lights work as same as here?
My brother, when I press a button, a long press, it walks and never stops. Please reply because, unfortunately, it is a graduation project
Same problem
I have the same problem did you find a solution ?
Yess bro for me also same
@@c.tcreations12 try to use other app which has stop button
Use another app and set commands as your code says and add an Stop option there
Hello sir is the DC jack male and female is mandatory to use in this model
Not necessarily. Apply a switch
L293 motor driver use kar sakte h
Best one , helped me 👍
Glad it helped
sir may I use two battery in stead of 3? will it work?
Two batteries are not a problem. Enough to operate properly
sir i dont need light and buzzer what should i do
with coding
No need to change the code . Do not connect light and buzzer.
Hi sir i did everything thing you did also same Coding but when i give commands my motor doesn't respond
Could be a problem with the bluetooth module or the power supply
Sir which app did you use to make the diagram can you pls tell
Fritzing,
fritzing.org/
Hi bro I made a car but it's connecting with the bt module but when I am taping the front button in the mobile then it is not working motors are not spinning
What can I do ?
Voltage or amperage is not sufficient
@@RobotLk I used flipcart power bank and its output is of 5V
Is it a natural thing when the cellphone is pressed (control) and the car's movement is slow? is this normal? Please respon
The signal given by the app is received late by the arduino car
Otherwise the power provided is not enough
@@RobotLk what the solution to this problem?
why my bluetooth isnt turning on, i follow you the exact thing you do, please help me
Hello bro!!!!
I made truck and I control that truck from my phone
I have already purchased all components.
So, that truck I have made has 2 motors
1st for rear wheels & 2nd for left right (steering)
So,the main problem is I don't have code
So can you please help me to get the code or sketch.
I hope you understand my problem
Plzz help me👍🏻
Same Problem
Plz help me also,👍🏻
Give a massage to my email. I will send you the code
Email - sureshhambawa1998@gmail.com
I have uploaded the arduino code as a text to google drive. Go to the link again
@@RobotLk but, both codes are same?
Izin bertanya ka kalau semisalnya pake baterai 7.2v ditambah komponen lcd, LED dan buzzer, apakah kuat tegangan ya?
Yes, 7.4v is enough
SUPERB TEACHING but i have a
small doubt can u send me the programming codes of this car which u made
Izin bertanya bro saya memakai arduino uno tetapi saya hanya menggunakan 2 baterai 18650 tapi arduino tidak menyala
i can't see the code on the website link that you provided in a description
Thanks for informing. I updated the link. Now the post will be shown
Thanks a lot sir 😊
i connected everything as shown in video, but bluetooth is not showing on my phone, i tried other phone but still its on showing..what should i do sir..?
Does the bluetooth module LED blink?
what is the library you use in L298N?
The l298n motor driver does not require a library. It's just a motor speed controller
Ethakota aiye meeke dn outputs ehema eka eka aya eka ekavidihata denawa ara HC-05 modul eke ehema oya koi widihata output dunnth cord ekamane output dena hatiyata wenas wennane
Mata prashne pahadili madi.mobile app eken dena signal eka blutooth module eken arduino ekata denawa.eka denne akuru vidiyata.mobile app eke setting wala thiyenawa eka.arduino code eka liyana kota e akuru dala data pin high karana eka karanne.e data pin walata ,light ,horn ,motor drive eka sambandayi.app eken obana button eka english akurak widiyata arduino ekata gihin e akurata sambanda data pin eka control karanna puluwan .
voice control L293d motor driver eka theyena arduino car ekata buzzer ekak set karanne kohomada?code eka denna puluvanda
Man code eka hadanna balannam
ok
Tôi bị lỗi : còi bật - tắt khi ấn các lệnh a0 a1 a2 a3 a4 a5. Why? TT
Arduino pro mini
subscribed 5k karamu na.
aiya hodatama vedio karanawa
Thanks .issarahata loku wadagodak karanna thiyenawa.
Bro my l298n motor driver getting heated after runing the car for more the. 2 to 3 minutes i am using 2 lithum battery of 18650 and 3 also but the problem is same
Check if the wires to the motor are shorted
Hey buddy may i use power band instead of batteries?
The voltage in the power bank is insufficient,Maybe it works because the amperage is higher
Hi, Many thanks for your tutorial. Unfortunately I have a problem. All wiring is correct, code uploads OK, HC-05 is paired with mobile phone and Bluetooth car control dashboard is on . I am using a Uno R3. When attempting to connect to car, the HC-05 appears as paired but the car control does not connect. The two LEDs, red and blue, on the HC-05 are continually flashing. Jim
Any suggestions? Jim.
Is the hc-05 Bluetooth module not properly connected to the mobile phone?
While uploading code in Arduino don't connect your hc 05 module in Rx and TX pin you need to unplug it... Connect it after you flash your code in arduino
Hola amigo muchas gracias me sirvió mucho.
Como conecto los Leds para la estacionaria y en en que pines van en el arduino.
Gracias
Can this code is run with l293d motor driver???
Pls reply me...
The code does not match for l293d
Can we use the same code without led bulbs
You can upload code without LEDs or buzzer.
Sir i need help. Only right pair of tyre is rotating .what to do?
Is the connection of the motor drive properly connected?
@@RobotLk the right pair is only rotating in one side.. when I give reverse command it doesnt works
@@RobotLk Sit my motors works only when given combined powet from li ion batteries + through usb to arduino
Thanks for video, I want to operate this car with nrf24l01 (transmitter/reciever) with same functions. can you please help me with code?
Can I use HC-06 instead?
Yes
@@RobotLk with the same code and connections
Yes, The code will not change
@@RobotLk Okay. Thank you.
let me try it
Input works but the car doesn't stop after that command and doesn't take any more inputs until i turn it off and back on again.
Pls help if anyone knows the solution.
What batteries are used. Does the bluetooth module restart?
Thank u sir
Welcome
Hi i am using the HC-06 RS232 Wireless Serial 4 Pin Bluetooth and the bluetooth wont turn on
The blutooth module may not have enough power
Connect the 5v pin of the bluetooth module to the 5v out of the l298n motor driver
nice project if i need change L298N Motor Drive to L293D Motor Driver i need edit the code
Link the code again please, i can't open the current link
Circuit diagram - drive.google.com/file/d/1n8bYR3dhQ4OPASCYBeCziGy69jcqm5sa/view?usp=drivesdk
Code - drive.google.com/drive/folders/18pZ40V8EtE5uGX7plM6synTkQJ1VbyaF
App - drive.google.com/file/d/19av_7nMOK3M8V3ip91Xtsa8PL9yyxsX0/view?usp=drivesdk
The website is now working properly. Apologies for the inconvenience.
Nice info, thank you for sharing it :)
You are welcome
Awesome brother 💘
👍🙏
Hello brother
A question, you are using (Battery 1200mah 3.7V 18650 Li-Ion Rechargeable) right?
three of those would give a total of (3600mAh - 11.1 V )
I just wanted to ask if that is how your circuit is working
Can you confirm if everything is correct? please
And one more question: doesn't yhe circuit overheat or something ?
"What battery do you recommend I use? voltage and amperage please"
*I am using arduino mega 2560*
Use 18650 li-ion battery or 3S li-po battery.Through the motor drive, 5v is given to the Arduino.Motors only get 12v when they reach maximum speed.It doesn't go through arduino so there is no problem.
Bro he connected it in series so the battery voltage gets increased to 3.7*3... The battery capacity increases only when it's connected in parallel
I can use normal motors us.?
Yes you can
Hi sir in the battery 18560 how much mah sir please say sir
Use batteries greater than 1000mAh. 1000mAh or so
Thank u sir😊
You are welcome
void setup problem any solution
When I turn on the car and connect to the phone it is not connected,and when I connect it to laptop it connected to phone but can't run the car, please help me
ua-cam.com/video/9UJL9EgGdos/v-deo.html
Watch the video from this link from 23.53. You do it that way.
Okata hc12 module eka setkaranna barida?
Puluwan
Can i use hc-06 with the same code you used?
hc -06 can be used .Code is not a change
It doesn’t work .The wheels rotate non stop so I need to switch it off to stop it.Even after that they start rotating
Did the code upload correctly?
Can u plese remove from that coding LED coding And Horn Coding and iam using A 12v rechargeable battery in my project
Do not connect front light, back light and horn. No need to change the code. There is no need to remove the related things in the code.
No need to change the code. 12V battery can be connected
Can we use the HC 06 module
hc-06 can be used, code, circuit diagram does not change anything
@@RobotLk hi I made this project I have a 12 v battery. I uploaded ur code. But only the lights and horn works when its connected to the pc not moving.when I connect to the battery the only motor driver light lights up dimly.l Please can u send me ur whatsapp number to this email @thevinu780@gmail.com
+94771489786 whatsapp
My arduino port is open but com2 is not avaliable. Com 1 com 3 com 4 is available. Why? pleaes help
select Com 4 port
I again try but why com 4 is not avaliable. Why?
Only com 1 com 3
I try not 2 times i try 5-6 times
Try this way....ua-cam.com/video/D271p2E2_o4/v-deo.html
aiye oya car eka 4.5v kin wada karanawada
plz reply
Na.7v 2A wage one
Posso sapere dove poter copiare il codice del progetto? Grazie mille
Big fan bro
Aiye L293D/L298N me deken hoda mokakda. Dekenma me wade karanna puluwanda.
L293d walin hadanawanam code eka wenas wenawa,loku ඇම්පියර් ganak gannath බැහැ.l298n එකෙන් ඒ ප්රශ්න නැහැ.
මන් කලින් l293d දාල හදල තියෙනෝ .ඒව ටික කාලෙකින් අවුල් ගියා.ඒකෙන් සමහරක් වෙලවට valtage ලීක් වෙනව.
L298N motor drive එක ටිකක් ගනන් මන් හිතන්නෙ.ඒකෙන් නොර්මල් motor විතරක් නෙමෙයි,steppermotor වැඩ කරන්නත් පුලුවන්
@@RobotLk thanks 👍
HC-06/Hc-05 me deken hoda mokakda aiyee
Meekata L293D module eka gaththoth code eke wenasak wenawada
Ow
Bro in the code (command and b0 problem pls solution
Can we increase the speed?
yes.you can. Use 18650 three li-ion battery .
@@RobotLk I am already using 12V 5000mah Li-ion
Bhai tumara what's app no mil skta hai kya
Main bhi same battery use kr raha hu mgr work hi nhi kr raha hai
can we use 2 batteries for this
Two 18650 batteries are quite adequate
Hola he probado el proyecto con 2 baterías, pero la velocidad no me agradó
Puedo usar 4 baterías? O dañaría el arduino
O simplemente uso 3 y de cuánto de voltaje sería en total
Agradecería su respuesta temprana
My priject does not work it is only heard tttttttttt like that if i conect led diode just blink
Sir how to charge the battery please tell me
ua-cam.com/users/shorts3IQcoyL0szQ?feature=share
Hi sir can i use 9v hi-watt battery
Do not use 9v battery.
@@RobotLk which battery shall I use
Two 18650 Li-ion battery or 2s lipo battery
How much mah battery
Up to 1000mAh
bro my bluetooth module is not turning on. what is the problem
Supply voltage is insufficient.use two or three 18650 li ion batteries
Showing error 'error: process returned not zero result code: 139'
Disconnect the rx and tx pins of the bluetooth module and upload the code
Can I use Arduino Uno in this project
But now it's showing 'Board error'
Please how can I upload the code with my Android phone 📱 into the Arduino uno
I will post a video about it in the future
@@RobotLk Bluetooth module keeps disconnecting why
Hello , how are we able to control speed without pwm signal ????
The speed can be changed by changing the supply voltage
Give a value between 7.4v to 16.8V
Hello sir my arduino uno board is not lighting up what shall i do
The battery power supply may not be sufficient
HC 06 Bluetooth module ekak use karanna barida
puluwan
Your code helped me building the project though I am able to drive the car but speed is very slow compared to yours shown in the video, can you please share the detail about the speed input you gave in the code to gain good speed. Also I had to make the changes in the F\forward/backward/righ/left codes as it was not align with the direction of the car movement. Finally it is running. But please share your input to increase the speed. I am using 4x1000 mah 1.5 v battery for L298N driver module and 12v Lipo for Arduino UNO R3.
Use the 12V lipo for the l298n motor drive. If it is made according to my circuit diagram, there is no need to supply power to the arduino. Depending on the voltage applied to the motor driver, the speed of the vehicle will increase.
@@RobotLk thanks for the help. I'll try with 12 v lipo. But I am using breadboard instead of direct connection of L298N and Arduino. I'll also try the direct connection.
Broo can u send me ur code broo IAM doing mini project broo please help me broo
@@maroofchannel5796 ok. I'll share here
@@sqlacademy when will u share code broo
Bhai ek baar sari link update kar digiye kyunki sari link mein image show nahin ho rahi hai
😊😊😊thank you
Welcome
Where we can take this codes
drive.google.com/drive/folders/18pZ40V8EtE5uGX7plM6synTkQJ1VbyaF
Thanks
Bro I also make the same with the help of your video
But in mine car the Bluetooth module hc05 is automatically turning off and the car is going out of control
Please help bro🥺🥺
Please help me bro
The vin pin of the arduino is connected to the 5v out of the motor drive.Make some changes.
Motor driver Arduino uno
12v in VIN
Previously, the vin of the arduino was connected to the 5v out of the motor drive. Connect that wire to the 12v in of the motor drive
+94771489786 whatsapp
I guess that doesn't harm giving 12 volt to arduino
@@RobotLk I think that doesn't harm arduino
thank you robot lk
you are welcome