How to make a Bluetooth controlled car using Arduino with lights & horn || 100% working
HTML-код
- Опубликовано: 23 ноя 2022
- Hi friends,
In today's video, I am going to show you step by step, how to make a Bluetooth controlled car using Arduino. To make the project more interesting, I have added front and rear lights & horn. The project is done using Arduino Uno. The car is powered by 4 numbers of geared motors. The motors are driven by L298N driver module. The project used HC05 Bluetooth module for communication with our smartphone. The car can be controlled to go front, backward, left & right from mobile phone using Bluetooth. the Bluetooth controlled car has a tested range of more than 10 metres.
The links for purchasing the items are given below.
1. Arduino Uno board : amzn.to/3RPzXw8
2. L298N motor driver : amzn.to/3RO0F8k
3. Motors with wheels : amzn.to/3W5EYTW
4. HC05 Bluetooth Module: amzn.to/3xwFTU6
5. Buzzer : amzn.to/4eHC2nH
6. LED light : amzn.to/3RPv7iA
7. Battery pack , 4 x AA : amzn.to/3ztGk28
8. Jumper wires : amzn.to/3xG4FB0
Code Link:
drive.google.com/file/d/1yocI...
For those who are not able to download code from the above link, the alternate link to download code is given below:
www.mediafire.com/file/g0s89i...
Link to remote control software : play.google.com/store/apps/de...
If the above link is not working for downloading the app, you can download the .apk installation file for the software from the following link and install the app directly in mobile phone.
drive.google.com/file/d/1Mzc5...
Please do watch the video .Thank you...
Please share the video if you like it.
❤❤❤~~PLEASE SUBSCRIBE TO THE CHANNEL TO SEE MORE SUCH INTERESTING VIDEOS & MAKE LEARING SCIENCE FUN~~❤❤❤
#bluetoothcar #scienceproject #arduino #arduinoproject #projectforkids #remotecontrolcar Наука
Thank you bro
You are most welcome friend..🙂
The best creator
Thank you so much🥰💓
@@Science_4U_ I need your help. My Bluetooth can receive response from my phone during communication through Bluetooth Terminal HC-05 app. My phone is Android. But my Bluetooth HC-05 module (connected to Arduino Nano) cannot send messages back to my phone through the same app unless I replace TX and Rx pins of Arduino Nano controller.
Hi, is it ok to use a 12v gear motor while using the same code? Thanks for answering it would really help me
You are most welcome friend..🥰❤️🙂It is possible to use 12V gear motor using the same code.
Thanks experimental success👍🏻✨
Okay friend. Nice to know that it was a success.
Can u tell me which jumper wire u used like male to male,female to female or male to female pls
Hi friend. In this project, I have used only 4 nos. of male to female jumper wires to connect arduino to l298n motor driver board and 4 nos. of male to female jumper wires to connect bluetooth module to arduino.
Can you give circuit/wiring diagram?
6:33 can u tell me whick jumper wire u used here like male to female or whatM
Hi friend. In this project, I have used only 2 Nos. Of male to male jumper wires for extending power from motor driver board to Arduino Uno, 4 nos. of male to female jumper wires to connect arduino to l298n motor driver board and 4 nos. of male to female jumper wires to connect bluetooth module to arduino.
Can i use dxbt24 module instead of hc05
I am not very sure friend. But I think it can be used without changing the code. Infact the pin out of both hc 05 and DXBT24 are the same..
Bro can i use relay to connect mini pump ?
Yes sure..a relay can be added and the mini pump can be driven directly from the battery through this relay. Then the command for the swithing the relay ON & OFF can be given from the arduino..
Hey where is the code
Can I use L293D motor drive instead of L298N?
Yes..Sure friend. You can use an L293D motor drive also. But, the same code will not work. A separate code has to be written for using the L293D motor driver board.
@@Science_4U_ oh? Can you please share that code with me?
Good not bad❤😊
Thank you dear friend.🥰
thanks
Can you make this one with switch? I can’t find someone doing rc arduino with L298N motor drive and switch on/off
Hi friend. Do you mean you want to add a switch to turn power on and off?. Actually in the battery pack that we are using, there will be an inbuilt on off switch. That is why we are not giving any external switch. If you want you can connect a rocker switch in the positive or negative wire from the battery. It will wotk..👍
@@Science_4U_ can you make circuit diagram for that?
@@_seity okay friend. I haven't made the circuit diagram yet. But surely I will make and share with you..🙂
One side of my motors is not working but it works when I connect the 5+ with the input
Hi friend..do you mean that the other motors work when the 5+V USB is connected?.
Most likely it should be because the batteries are discharged. This is because when connected to the batteries, since it is discharged , it is able to drive one motor only. But when it is connected to 5V , it is getting power from the 5v and also from the batteries and hence both motors gets enough power for rotating..
With the batteries alone connected, you can help the non rotating motot by slightly starting to rotate with your hand. Sometimes it will then start rotating..
Make sure you have pins in the correct pin sockets
The robot moves in a circular path way and sometimes it connecting to my HC05 Bluetooth module, but it’s not operating when I go forward backward the robot not going what can I do I am studying in sixth standard day. After tomorrow is my science Expo. Please give some other ideas about this project that will be helpful to me to do this robot very easier and I did it voice control robot Please give me any ideas about Bluetooth controlled robots please
Hi friend..if the robot is going in circles, you can interchange the wires connected to the motor which is rotating backwards. Now both motors will start rotating clockwise. If the bluetooth is sometimes not working, it could mean that the batteries are bad..when the car moves, the voltage drops amd bluetooth gets disconnected.
Can i make this project without buzzer and led lights..would the cide still work without these 2 things?
Yes friend. Definitely the code will still work. Just no need to connect the buzzer and LED ligths. The other connections should be given to the same pins as shown in the video.
@Science_4U_ thanks alot i haven't maken this project yet I'll make it in 2-3 days i hope it works
@Science_4U_ and can u tell me which software have u ran to run the code
@Hacio-qe9nh okay.. Sure friend. If you have any trouble making this project, please leave a comment. I will try to help you..🙂🥰
@Hacio-qe9nh I am using Arduino IDE software installed in laptop for running and uploading the code to Arduino Uno...
Bro connection for parking light which pin ?
The positive terminals of back LED lights are connected to pin no. 6 and the positive terminals of front LED lights are connected to pin no. 7.
thanks so much but when i tried downloading the app it said i cant because i have a new phone so what other app can I install,
Thanks.
Okay friend. Another app is arduino bluecontrol by broxcode..
Infact there are so many apps. You can search for bluetooth control car in google playstore, install it and try..
thanks
@@bedo-_-yt9002 you are most welcome friend..,🙂
@@Science_4U_hi there, been a while, i have been working on the project lately and things have been turning out great but there is one problem, i can't seem to get the program working either that or i can't understand why it is not moving from the app, can you please help me like last time thank you soo much😅 i downloaded the app then i dont know the next few steps is it ok if you provide some detail about how to get the program to work.
i did everything correct but in the APK. APP it couldnt find the hc 05 module which i allowed for location and bluetooth please help me
First did you pair the bluetooth module. Ypu need not go to app first. Open normal bluetooth and search for devices and pair it using pin no. 1234. After thst it will be visible inside app.
@@Science_4U_ i searched it in both i but i found out its faulty asked the shop from which we bought thanks btw
@@ZMGAMERS-YTSHORTS okay friend. Sometimes these sensors are faulty and it is very difficult to detect the fault. All the lights will be on and it will appear to be working correctly, but will be faulty. Anyway, nice that you could find out thst the bluetooth module was faulty.
Can I use 2 motors?
Yes sure..2 motors also can be used..It will behave the same was as 4 motors.
It's taking to ibis paint fir code plz help me
Yes, I will surely help you. The code is available in the google drive link, given in the description. Did you download the code from that link?.
I will give the link below, to download the code..
drive.google.com/file/d/1yocI11JcjoCkEvKP9L6SrzVBCZ8eQmK7/view?usp=sharing
can i get a diagramatic version of the connections
Yes..sure friend. I have not made the circuit diagram yet. I will make one and give soon..🙂
Hello friend.I have connected the car to the app.The lights of the motor driver,arduino and bluetooth module are on.But when I click on the buttons of the app the car is not moving at all.What should I do?
I would suggest you can first do the following project for an obstacle avoiding robot, which doesnt require bluetooth module. If that works, atleast we can ensure that the motor driver and all other components except bluetooth module is working.
ruclips.net/video/kPSBpfUpHt0/видео.htmlsi=CppqCXF1GnZeXZWR
Well,as I said the lights of motor driver are on.Doesn't that mean it ain't faulty?
No friend. Not at all!!! Even if the lights are on, it can be faulty. I have seen many cases like that.
I will tell one way to check the motor driver board is faulty or not. Connect +5V from arduino to IN1 pin of motor driver board and gnd pin of arduino to IN2 of motordriver board. If motor driver board is working, one motor should rotate. Can you check that and tell, friend?
Can I use any other controller app?
Yes sure friend...There are many other applications available in playstore..You have to search for bluetooth control car and install any one of them. The most important thing is inside the application you have to configure such that the app sends F alphabet for forward, B for back, L for left , R for right and S for stop..
can you name the app used by you. i did not get the APP
Hi friend. The app was earlier available for download from Google play store. Now they have removed it.
You can now download the .apk installation file for the software from the following link and install the app directly in mobile phone.
drive.google.com/file/d/1Mzc5KGRzhqFgvPnWan8b5mDisAgMnkMK/view?usp=sharing
Hi can i use 9v hi-watt battery
Yes sure friend. You can use 9V battery..
Does the led lights and buzzer is Mandatory if not what will be the code please it is very urgent
@sharanv3561 Hi friend, the LED light and buzzer are not mandatory. You can connect the remaining components as per the instruction given in the video. And you can use the same code also. The same code will work even if you are not connecting lights and buzzer.
Hi do i need to remove the RXD and TXD pins during the upload of coding
@sharanv3561 I have never done that and I have never faced any problem while uploading the code. But I have also seen many videos telling to disconnect the pins before uploading code.Try uploading the code with Rx and Tx pins connected l. If you find some problem during uploading the code, you can disconnect Rx and Tx pins.
Hello my friend, why the 3 other motor is not working only 1 motor is working using 2 batteries of 18650 3.7v? can you help me? :>
Hi friend, surely I will help..Since 1 motor atleast is working, I think connections are given correctly. Have you connected the motors directly to the battery and checked whether all motors are working?
Sometimes it could be due to faulty motors. Also please check if the batteries are fully charged. If the batteries are discharged, then also the motors may not work..
@@Science_4U_ yes i already check every motor it's work fine, maybe the batteries is faulty but the battery that i'm using is okay right? i dont change anything
@@user-oo7qc6yy6n 2 x 18650 batteries work very well for this project. But if the batteries are drained, then it will not work properly. If you want me to further help, you can come to my instagram account and we can chat. I will try to solve the problem..If you send photos of the connections given, I can check..
@@user-oo7qc6yy6n my instagram id : instagram.com/_science4u_?igshid=MzNlNGNkZWQ4Mg==
How many hours can I use it?
Hi friend. That depends mainly on the battery capacity..if you use 4x1.4V AA batteries, it will last around 1 hour..if you use 2x3.7V 18650 batteries ..it will last for 5-6 hours..
After uploading code when my project is connected to the computer then if I press the controller then the light of motor driver blink as I press the button but when I put battery then it's not working.
Now it is the problem with battery or something else?
Hi friend. Can you please explain your problem more clearly?. Which is the controller that you are pressing that causes motor driver light to blink?.
@@Science_4U_ bt car controller app
@@JAPGaming okay friend. If the light in the motor driver is not getting ON, it should be a battery problem.
I have added lithium batteries. Is it OK?
Perfectly fine ..Dear friend..Make sure the battery output voltage is in the range 6V to 12 volts.
At so cool wow but i can do it to
Yes friend. You can also do it.🙂❤️
Can you give circuit diagram please
Can I use other Bluetooth control app for this robot?
yes. I use arduino car
@@melodybrown7087 does it work properly?
Sure friend. It works nicely. I have made it and it is tested and working very well!!!
@@Science_4U_ oh thank you brotha
Bro i did for Bluetooth nodule Arduino but i am not getting Bluetooth signal on
Are the lights in the bluetooth module changing the blinking pattern when it is getting connected to phone?
Sometimes bluetooth module could be faulty also..
I have problem all functions are work but my motor are not working rotating very slow
Okay friend. That is definitely due to a battery problem. It may be a discharged battery. Which battery are you using friend?
@@Science_4U_ lithium battery 2 cell I join in alternat mean they power out put 12v
@@tusharshende9129 okay friend .But even if you connect 2 batteries in series if they are discharged, it cannot drive the motors at a good speed.
@@Science_4U_ oh ok
Make sure your ground in your driver shield is connected to VIN in your arduino
How can we increase the motor speed or rpm of wheels? What changes should be done in code?
Hi friend. We cannot increase the speed in code. The code is written for getting maxiumum rotational speed of wheels. The easiest way to increase rpm of wheels is to increase the voltage of the battery.
@@Science_4U_ ok thanks alot sir
My code is not working its saying "programmer is not responding" pls help
Please make sure the correct port is selected in tools>port before uplpading the code. If atill problem is there Please try uplpading the code by connecting to different usb port. If that doesnt work, you can try in a different PC/laptop..
Can you please make a video of Bluetooth controlled drone ?
And also line follower without microcontroller?
Okay friend. I will do when I get time..
Can i use motorshield for this code?
No friend. Motor shield will not work with this code. You have to use L298N driver only to work with this code..
My phone conected to Hc 06 but when i click the arrows on the app the car didn't go.Lights and the buzzer didn't work eather.
It should have worked. Since nothing is working, I suspect it could be something to do with uploading the code. Was the code uploaded succesfully?
Also please ensure that Tx pin of bluetooth module is connected to pin no. 2 of arduino and Rx pin of bluetooth module is connected to pin no. 3 of arduino.
Also, if you are not sure, please try interchangin the Tx and Rx pins and see if it works.
Code please
@@seglah_1122 Hi friend, the code can be downloaded from the google drive link given in the description box..
Code is not opening sir pls help your ideas are to futuristic lov u
Thank you so much dear friend for your nice words💓
Code is not opening means you are not able to download code or after downloading you are not able the open the code?
@@Science_4U_ ya it's not getting downloaded
@@vedant8788 okay friend. Can you try downloading from the following link?
www.mediafire.com/file/g0s89isgvsdilhv/Bluetooth_controlled_car_with_lights_and_horn.ino/file
Ya it worked
Thank u alot
After uploading the code the car doesn't even move it's connected but doesn't move please rply what should I do😢
Hi friend, There could be many reasons why the car is not moving. Sometimes the bluetooth module may be faulty, motor driver may be faulty though the lights turn on..
We have to check one by one and identify what is the problem. Have you used this bluetooth module and motor driver board before?
Have you connected the lights and horn and whether that is also not working?. Or is it the motor alone that is not working.?
Also can you just interchange between the Tx and Rx connections of the bluetooth module and see if it is working?
Does the motor driver have jumpers connected on both sides of the 4 control pins?. That jumpers are for enabling the motor rotation.
Hi bro
Hello..👋
What is the name of the app
Hi friend. The name of the app is bluetooth RC car by andi.co
now i get this how t ofix it
not in sync: resp=0x8f
Hi friend, most probably your arduino board is the problem. It may be a faulty one. I also used to get the same error and couldn't do anything about it. The error went away only when I changed the board.
You can also try to burn the boot loader in the arduino one again. That may solve the problem. The bootloader has to be burned by connecting this board to a good board. You can find instructions in the internet about how to do this.
Have you used this board before without any problem?. Or is it the first time that you are using and got this error?
You can also try the following and see whether it solves the error.
Here are some easy things that can often fix this error:
Disconnect and reconnect the USB cable.
Press the reset button on the board.
Restart the Arduino IDE.
Make sure you select the right board in Tools ► Board ►, e.g. If you are using the Duemilanove 328, select that instead of Duemilanove 128. The board should say what version it is on the microchip.
Make sure you selected the right port in Tools ► Serial Port ►. One way to figure out which port it is on is by following these steps:
Disconnect the USB cable.
Go to Tools ► Serial Port ► and see which ports are listed (e.g. COM4 COM5 COM14).
Reconnect the USB cable.
Go back to Tools ► Serial Port ►, and see which port appeared that wasn't there before.
Please give me a code,🙏🙏🙏
Dear friend, code can be downloaded from the google drive link given in description..
Sir I need different Idea for my exhibition please If u have give me 🙏🙏
Hi friend. You need ideas about arduino projects or general science projects?
@@Science_4U_ yes sir I need if have please give I've to submit tomorrow 🙏
@@Science_4U_ It were better if I have your number but unfortunately I scared that when I talk to any foreigners my English will imperfect btw i glad to see your video I watched almost all the series but I forgot to subscribe now I'm going to subscribe 🙂.
@@manishkarsh6836 Hey friend..Dont worry. I am not a foreigner. I am from India only. And dont worry about your english. Love you brother..💓
@@manishkarsh6836 Dear friend..Iam sorry I cant give my phone number. But you can chat or call me also in my instagram ID..Below js my instagram ID..
instagram.com/_science4u_?igshid=OGQ5ZDc2ODk2ZA==
Hi bro the file is not opening please help
Hi friend, I have uploaded the code in another site also. You can download code from the alternate link below.
www.mediafire.com/file/g0s89isgvsdilhv/Bluetooth_controlled_car_with_lights_and_horn.ino/file
Codes
Hi friend. The code can be downloaded from the link given in the description box below the video.
Plz Give a HCO5 Bluetooth module
You can buy it from many online sites friend..like amazon, robu.in, robocraze..etc..
I have a mistake I buy CA-6928
@@SuminaSadique hmm. Okay friend..CA-6928 is used as bluetooth for audio systems..it cannot be used with arduino.For arduino projects, you need to buy HC-05 or HC-06 bluetooth module..
Ok friend
It is not going fast
Hi friend. You can increase the speed by using battery with a higher voltage..
Can I use a HC-06 Bluetooth module for this project
Yes ofcourse!!!. You can use both HC05 and HC06 modules for this project🙂
'LEDF' was not declared in this scope
what should i do? plz help bro
@@Dinooffical Hi. I didnt properly understand the question friend. LEDF is declared in the code in the beginning. LEDF is assigned to pin no. 7 in the code.
@@Dinooffical Or did you mean that when uploading the code are you getting an error thst LEDF is not declared in this scope?. Then please check the code once again. Some lines would habe been accidentally deleted. You can redownload the code and try uploading again to arduino.
nice video! can you help me? what is the problem here, the arduino uno r3 is not receiving a power using the bettery which i use the power jack instead the pins. what is the possible problem?
Hi friend. Thanks a lot!!! Surely I am there to help!! But I didn't understand the question exactly!!!. Why did you connect battery to powerjack?. Normally we can connect the battery to Vin & Ground pins of arduino for powering it.
Normally an AC to DC adaptor is connected to the powerjack with a voltage range of 9V to 12V. Did the battery that you connected to power jack have voltage in this range?. Otherwise it will not work..
@@Science_4U_ oh sorry im really new about this arduino so i dont know that i can do that XD my bad. okay ill check it again thank youu for your comment its really help me!
@sufferwr1595 okay friend. There will be 2 pins in arduino board in the POWER section named as Vin and Gnd. You can connect battery to these pins. Positive to Vin and negative to ground. That way you can power the arduino..🙂
@@Science_4U_okay thanks lot!
Code is available
The link to download the code is given in the description box. If the google drive link is not working, you can download the code from the following link also.
www.mediafire.com/file/g0s89isgvsdilhv/Bluetooth_controlled_car_with_lights_and_horn.ino/file
İ tried to do it but it didn't work. 😢
Ooh..it should have worked friend..what was the problem?. I will try to solve it...
Hello friend, the code file does not open. What can I do??
Hi friend..The code file is given in .ino format, which can be downloaded and directly opened by IDE software used for uploading the code to Arduino Uno. You can even open the code in Wordpad or Notepad in windows and copy it and then paste it in IDE software and then upload to Arduino..
@@Science_4U_But I don't have a PC. I want to upload from mobile. So what to do?
Okay friend. Then you can use mobile to upload the code the arduino ..You can donwload the following app from playstore..
play.google.com/store/apps/details?id=name.antonsmirnov.android.arduinodroid2
Then connect arduino to mobile and upload the code..
@@Science_4U_ But when I upload the code via this app it shows error...
@@vipulthakor513 What is the error that it is showing?
The Code not uploaded Probably show to me wrong
Sketch uses 5562 bytes (19%) of program storage space. Maximum is 28672 bytes.
Global variables use 269 bytes of dynamic memory.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xa0
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xa0
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xa0
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xa0
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xa0
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xa0
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xa0
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xa0
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xa0
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xa0
Failed uploading: uploading error: exit status 1
What is the issue plz help 🥲
Hi friend..This can happen if arduino board is not detected correctly while plugging to PC. Before uploading the code goto tools >port> and select the correct port. If no port is seen unplug and plug the arduino once again. Also , in tools>board> arduino uno ahould be selected.
@@Science_4U_ same error bro
@YazanKhasawneh-ix7uh ooh..Then, it could be a problem with the uno also. Have you used this uno before?. Also, if possible try in another PC or laptop and see if this error is still there.
@@Science_4U_ it's probably the port error , it it's not properly connected to arduino uno,then this can happen. If the issues still isn't fixed then trying chaging the usb cables,If it still isn't fixed then there are good chances that you have burned the arduino board by giving them the wrong polarity like i did 😂
@@TRAZExYT Yes..that is correct friend..👍
My car is not working after uploading the code
Ooh. Sorry to hear that friend. We will try to solve the problem. Can you explain the problem clearly?
Code is not open
Code will definitely open friend. You can open the code in Arduino IDE software, which is used for uploading code to Arduino board. For just opening the code, you can even open it in Windows Notepad or Wordpad.
The code wont open 😢
It will definitely open friend. Have you tried opening in IDE software?
@@Science_4U_ everytime I download your code on Google drive the file is error
Where is code ?
Code can be downloaded from the link given in the description box..
very bad vedio
Hi dear friend. Can you please tell why the video is bad?. Then I can correct and improve the video next time..👍
bro tienes tu esquema la puedes compartir
Hola amigo. No lo tengo ahora mismo. Lo haré y compartiré pronto.
Is it AA or AAA battery? Not lithium battery right?
I have used normal AA batteries, 4 nos. in the battery pack. These are normal batteries that we use in clocks etc.
Not AAA batteries. AAA batteries are smaller than AA battery.
Is it 3v per cell or what is the voltage of 1 battery?
One problem in using AA battery is that the charge will get over soon and it is not rechargable. A better option will be to use 18650 , 3.7V battery. These will look similar but larger than AA battery. 18650 batteries are Li - ion batteries and rechargable also. There are similar battery holders also available for 18650 batteries. These last much much longer than AA batteries.
@@anirudhparasaran2890 The AA batteries that I used has 1.5V per cell. Total 4 batteries are there in the battery pack. So total voltage = 1.5x 4 = 6V. Arduino required 5V to 12V as input voltage. So 6V from the AA battery pack that I have used is sufficient.