Arduino Bluetooth Car using HC05 Master-Slave Transmitter Receiver | DIY 🔥
ฝัง
- เผยแพร่เมื่อ 22 พ.ค. 2024
- In this video we are going to make Arduino Bluetooth Car using HC05 Master Slave Transmitter Receiver.
We will pair 2 HC05 modules in Master Slave configuration to transmit and receive data
we have created Remote Control with 2 joysticks to send car control commands.
Car has throttle and steering control.
I have explained in details each step along with code and diagram for transmitter and receiver.
👉 Please subscribe: th-cam.com/users/hashinclude...
👉 Components - Transmitter:
✅ Arduino Nano amzn.to/3i24wfZ
✅ HC05 Module amzn.to/3NUSjbM
✅ 2 Analog Joysticks
✅ 7-12 V DC battery (In our case lipo 2s battery) amzn.to/3q4SjLN
✅ Breadboard amzn.to/3KH7sL6
✅ Double sided tape
✅ Jumper wires amzn.to/3I8fZVG
👉 Components - Receiver:
✅ 4WD car kit amzn.to/3i1PdDW
✅ Arduino Nano amzn.to/3i24wfZ
✅ HC05 Module amzn.to/3NUSjbM
✅ L298N motor driver module amzn.to/3J98zTJ
✅ 7-12 V DC battery (we will use lipo 3s battery) amzn.to/37gJWpQ
✅ Breadboard amzn.to/3KH7sL6
✅ Jumper wires amzn.to/3I8fZVG
👉 Shorts Channel :
/ ujwalnandanwar
👉 Codes and diagrams:
github.com/un0038998/HC05_Mas...
👉 Elevating Car
• Elevating WiFi Car usi...
👉 Camera Car
• Surveillance Car using...
👉 Wi-Fi Car
• Smartphone controlled ...
👉 Hand Gesture controlled car
• Hand Gesture Controlle...
👉 Bluetooth car
• How to make Bluetooth ...
👉 Obstacle avoiding car
• Arduino Obstacle Avoid...
👉 Arduino RC car using nrf24l01+ module
• Arduino RC car using N...
👉 Obstacle avoiding car
• Arduino Obstacle Avoid...
👉 Arduino RC car using nrf24l01+ module
• Arduino RC car using N...
👉 Line Follower Robot:
• Line Follower Robot us...
👉 Watch more videos:
/ hashincludeelectronics
👉 Follow us on Instagram:
/ hashincludeelectronics
⏱Chapters
00:00 Intro
00:49 Configure HC05 as Slave
03:05 Configure HC05 as Master
04:16 Transmitter Components
04:40 Transmitter Connections
06:02 Transmitter Code Explanation
07:19 Receiver Components
07:58 Car Assembly
08:48 Receiver Connections
10:23 Receiver Code Explanation
11:41 Demo
12:56 Important Points
#hc05 #arduino #hashincludeelectronics - วิทยาศาสตร์และเทคโนโลยี
A good project for developing my skill in Arduino...
it also helps me to gain knowledge by solving problems.
Problems faced (and solutions)
1 - AT mode doesn't open - check the module is HC 05 or 06. the methods are different for both (There are many method to do this.. check it one by one)
2 - Program doesn't upload successfully - check the options in tools section of Arduino before upload (port, board, processor etc...)
3 - modules didn't turn on - check our connections properly (better if use multimeter)
4 - motors doesn't turn properly - change polarity of motors to motor driver by interchanging their wires
5 - motors doesn't work properly - check the voltage and current of battery - it only works in rechargeable battery since it has high current than normal battery
if facing problems - use our internet to solve it... we need to face problems for final victory...
I hope this helps
@hash pin this because it may be helpful for others
Well done and I am glad that after facing so many hurdles you made it successfully 👏🏻👏🏻👍🏻. And thank you very much for sharing your experience . These findings will definitely help others.
@@hashincludeelectronics 😀
True😊❤
Good ideas👍👍👍
Amazing invention...
Good luck friend..
Thank you very much 👍🏻
Excellent sir ☺️
Awesome 👍🏻
Some, because of the problem, I will not be online for 2 months, I will not use phone, laptop, I will miss your videos, a lot, but when I come back, I will watch all your videos, eat well, friend.
Take care 👍🏻
nice job man
Thank you! Cheers!
Love the Arduino Bluetooth Car using the HC05 Master-Slave Transmitter Receiver robot. You should attach the 6-dof robotic arm on the Arduino Bluetooth Car using the HC05 Master-Slave Transmitter Receiver robot to look even more advanced.
Thank you 👍🏻. I agree. I personally liked this car and it’s easy to handle it with joystick remote control. There is video on my channel of robotic arm car but with esp32 and PS3 controller . Will try to add that arm on this car as well . Stay tuned .
@@hashincludeelectronics Sir, what courses do you do to get into the robotics field, tell me?
@@fouzanjaved5441 You can check the tutorials and videos available online about different microcontroller modules like Arduino , esp32, raspberry pi etc. And check how different sensors work. Get some knowledge about different motors working. As far as programming is concerned you need to learn c++ for Arduino. May be check w3schools website. There may be some other courses on robotics available online which I am not aware about right now . But will let you know if I find something more. Learn slowly and regularly, you will be successful 👍🏻
Nice project 👍
Thanks for checking out the video 👍🏻👏🏻
Thank you so much
No problem 👏🏻
Nice 👍🏻
👍🏻👍🏻
Awesome!
Thank you very much 👍🏻👏🏻
For getting the address of hc05 use "AT+ADDR?" in the video they have given "AT+ADDR" which give error
It’s good to always correct the commands 👍🏻👏🏻. Thanks to sharing .
Hi, I've followed this step by step and the car is functioning properly. I'm wondering on how I can make it go any faster? Yours seems a lot faster than mine, I imagine it's because of the battery that I'm using, what specific battery are you using sir?
Yes I have used LiPo 3S battery in it which provides around 12V . That’s it why it is faster . 👍🏻👏🏻
Nice
Thank you very much 👌🏻👍🏻
Hello sir nice video i have one question i dont want to use 7 12 v dc battery can i use li ion battery
Yes you can 👍🏻👏🏻
Hi, did you face any delay in receiving signals to the slave hc05 on robot. I am getting delayed signals and at time it jams. What can be the issue?
Did you change the baud rate by any chance ? Low baud rate will cause this problem . Or you can add some delay of say 50 milliseconds in transmitter code after every transmission.
@@hashincludeelectronics actually i bought a robot with an andriod app as a controller already provided to control via Bluetooth. I can't seem to make changes on the transmitter side. But I can make changes in Arduino code on the receiver side. Can you tell me what I can do, or I can share the code if you can look at it. Pls, send me your email?
nice
Thank you 🙏
Would it be able to combine the arduino code from the NRF24L01 with the arduino code of the HC-05? I want to control my RC car with a controller (via the NRF24L01 module). And also be able to control it via an app (with the HC-05 module)
You can refer my videos for combination.
Can i use Arduino uno instead of nano in rc car fir hc 05 and motor sheild and joystick with nano...?
Yes you can use 👍🏻
Can we use the hc06 like a slave ? How can i proceed for to pairing hc06 and hc05
Please try that 👍🏻👏🏻
Can you help me add a potentiometer on the controller that controls 2 servo motor on the car please
You can check my videos on controlling servo motor and add it in this project . Give it a try 👍🏻👏🏻
sir it is possible in this setup master and slave control,is control by mobile phone simultaenously?
I am not exactly sure on this 👍🏻👏🏻
Hello I have a idea can u make a self Balancing bike which drive there are lot of video but none of them explain... So if u could try this out will be a great also it's will be something new thx
That’s a nice idea . Thanks and Noted 👍🏻
hi sir
what version of Arduino IDE did u use in the video??
Probably it’s shown in the video . Else I will check and confirm 👍🏻👏🏻
can I do this project with two Arduino Uno? using HC05(master) and HC06(slave)?
You can use Arduino Uno in this project . However not sure about HC06 . I would suggest use only HC05 to avoid any issues . 👍🏻👏🏻
The Serial monitor is not responding when I uploaded the AT configuration code. I tried typing commands like AT, AT+ADDR but no response like Ok from serial monitor. what should I do?
Please check the baud rate selected . Also take a look at video for any missing step 👏🏻👍🏻
Sir for both tarnsiver master slave code are same ?
Please check the video for this step 👍🏻👏🏻
Can you please tell the code of same project by using shield motor driver L293D
This project uses L298N module which is also cheap . I would recommend to use the same module to avoid any issue. However I have not used L293D module ever . So unfortunately I am not sure about it . 👏🏻👍🏻
help im sending at but no response
I don't have an arduino nano can I juse an arduino uno or is it only possible with arduino nano
You can use Arduino Uno 👍🏻👏🏻
Anyone know how I can add the code to use 2 analog switches? I know the wiring just dont know how to add the code so it will send signal like the joysticks...
We are already using 2 joysticks here 👍🏻👏🏻
hi sir
i have connected everything correctly
the modules seem to connect
but then only the master module is blinking and the slave stops blink
hence the car does not work
can you please help with that??
I would suggest to take a closer look into video again . This project is very involved and needs lot of attention . Please check video slowly and carefully again. Also make sure you use only rechargeable battery in your project 👍🏻👏🏻
I am facing a problem. The car moves on its own even when the Joystick is not used. It starts moving after the master and slave are connected. I am using lithium battery of 3.7 volt for the receiver and a power plug of supply 12 volt for the transmitter. Please suggest what is the problem.
You need to use total 7-12v power supply at receiver . 👏🏻👍🏻
What I meant was I am using a pair of 3.7 volt lithium battery. Sorry for the mistake
I have a similar problem, when the master is connected and the slave starts moving without using the joysticks and I can only control the direction of the car. Does anyone know how this can be fixed?
My problem is solve thanks for reply 🥰
Awesome . Nice work 👍🏻👏🏻
Hi I have a problem, i did all th steps but my bleutooth slave show only numbers between 245 and 255 i don’t know why
Please follow the exact step as shown in video 👍🏻👏🏻
For all who got error while getting address of Bluetooth module...
use this at command "AT+ADDR?" instead of "AT+ADDR"
i wish it could help
Thank you clarification and letting others know . Appreciated 👏🏻👍🏻
@@hashincludeelectronics U are welcome
OMG THANK YOU VERY MUCH MINE WAS NOT WORKING THEN IT WORK THX UR THE BEST 😁😁😁
@@justadude5160 glad to hear that! keep building new things!
Can we connect transmitter to laptop for power instead of batteries?
Yes you can 👍🏻👏🏻
Thank You@@hashincludeelectronics
@@mikooelixir4241 welcome 🙏
❤
Bro when i connect my battery with my l298n motor module my Bluetooth stops working and when i connect the usb my Bluetooth starts working and connects to the master but it's motor is not working
Which battery do you use ? Use only rechargeable battery because it supplies good current 👍🏻👏🏻
@@hashincludeelectronics I used rechargeable battery and it starts working but controller is not functioning and when I connect my battery to vin it Bluetooth stops working
when i put in the serial monitor the comand AT or AT+RMAAD or AT+ROLE=0 or AT+UART=38400,0,0 or AT+ADDR
doesn´t show anything in the serial monitor ("the message: OK")
Please follow the video 👍🏻👏🏻
@@hashincludeelectronics when i type AT+ADDR it's reply me with error,,, what is the problem
@@shahnewajbd4623 put AT+ADDR?
tHE QUESTION MARK is missing, same error
Hi how many arduino nano u used in this arduino bluetooth car
2 Arduino nano . One at transmitter and another at receiver 👏🏻👍🏻
can u help me to configure master with HC-05 ZS-040 ?
Unfortunately I have not used that ZS-040 module 👍🏻👏🏻
What should I do if I type AT in my serial monitor and nothing happens, I also get no „atSerial stardet at 38400“
also my hc05 is blinking red and blue, but if i enable AT mode just like you, both lights blink in a sequence of 2 seconds
I would suggest to check video slowly and carefully to not miss any step 👍🏻👏🏻
@@hashincludeelectronics already got it and everything works, great video👍🏽
@@neuhold.m nice job 👍🏻👏🏻
Maybe this could be a self driving car too.
👏🏻👏🏻
Sir it's showing error 7 when I put mac address master hc05
Please check the video slowly and carefully to avoid any issue 👍🏻👏🏻
can u help me to use double L298N instead of one
Actually you can check my videos on mecanum wheels car where I have used 2 L298N modules . That will give you idea 👍🏻👏🏻
@@hashincludeelectronics ok guys, i have found the solution with that video, thanks for helping me
@@letantru5106 awesome 👏🏻
I try to make this project everything is fine but I face problem for steering control this car moving only forward and backward steering not working I try everything wire changing
Steering is on other joystick.
Can bluetooth module be used again
This project uses Bluetooth module only .
Can i give power supply of 2200 mah lipo battery ?
Yes you can 👍🏻
I am getting the error"reverse was not declared in this scope can you help me pls
Please check video and code properly for any missing step 👍🏻
How about the transmit range
It’s a classic Bluetooth communication which has range around 100 ft or so . 👍🏻👏🏻
After try for it ,i can't use the hc05 module for other projects
You need to set the addresses and modes properly 👍🏻👏🏻
@@hashincludeelectronics please help me to make my hc05 useable with mobile phone
4:39
i used 2 motors for speed and 2 motors for steering can u provide code for that please
It’s not just providing code but it needs testing as well. I would suggest to take help of the existing code and make changes accordingly 👍🏻👏🏻
U could use a ps3 or ps4 pad for your car aswell btw
Yup . I have used those as well . Check my other videos related to ps3 and ps4 controller cars .
@@hashincludeelectronics i was just looking lol nice videos bro
@@zofmod awesome
@@hashincludeelectronics im doing home assistant with my stuff here's a old video th-cam.com/video/_RJhnRtnS-8/w-d-xo.html
do this code work on UNO3
?
Yes it works with Uno as well 👍🏻
What is its range to control?
I tested for 60-80 ft
when i put AT+ADDR its coming error(0) can you help with this
Can you please help with this error
"AT+ADDR?" try this one
why must be rechargeable battery ?
Rechargeable batteries provide good current and these have good capacity . Also these last longer . It solves many power related issues 👏🏻👍🏻
Make temp and humidity sensor with bluetooth and android app
Sure. Will try.
@@hashincludeelectronics thanks
Bro how to anti bind the bluetooth
I want to unpair the both slave and master
Please check for this step on internet 👍🏻👏🏻.
is the code is plug in play?
Yes. However you need to do some setup like master slave configuration for Bluetooth modules . For that you will have to perform some additional steps shown in video . 👍🏻👏🏻. You can check my other Bluetooth car video where we don’t need such master slave additional set up 👍🏻
how can i made this car with bts7960 module
Unfortunately I am not familiar with this module so not able to comment . Please check some references.
Ok... i will
Sir software upload nahi ho taha hai 😢😢
What issue are you facing ?
Can you send the coding arduino?
Code and diagram link is provided in the description of the video 👍🏻
ভাই আমারে এটা বানাইয়া দিবেন
Diagram is not open please provide diagram
I just checked and it’s opening fine . Please check 👏🏻👍🏻
Please believe me diagram download is not done
Hello brother mera yho nahi chal raha
What issue are you facing ? Please check the video slowly and carefully again for any missing step 👍🏻👏🏻
Error showing on AT+ADDR on serial monitor
Thanks for checking the video 👍🏻 could you please share more details on this error ? Or send me screenshots of error on Instagram hashincludeelectronics
@@hashincludeelectronics solved
@@TECHAB254 awesome 👏🏻
@@hashincludeelectronics but car was not working
@@TECHAB254 keep trying. Use only rechargeable battery .
You can connect multiple HC-05s with
th-cam.com/video/iMEm3QrP37Q/w-d-xo.html