Make a communication between HC-05 and HC-06 Bluetooth modules with Arduino
Вставка
- Опубліковано 9 сер 2018
- Hi everyone,
In some situations, we want to control devices wirelessly like make a robot that we can control it using Bluetooth connection whether from
an Android app or a device we've made.
So in this video, I will show how to make a fully successful Bluetooth
connection using two module HC-05 as a Master and HC-06 as a Slave.
We will Configure and Pair Two Bluetooth Modules as Master and Slave
Connect the HC-05 to Arduino.
Connect the HC-06 to Arduino.
The HC-05 Will connect to the HC-06 then send and receive the data from both.
............................................................................................................................................................
Arduino code:
bit.ly/TwoBluetooth
............................................................................................................................................................
The circuit diagram:
bit.ly/HC05WiringHC06
............................................................................................................................................................
AT Command:
bit.ly/ATCommand
............................................................................................................................................................
If you want to buy the components:
Arduino UNO: www.gearbest.com/boards-shiel...
Bluetooth HC-05:
www.gearbest.com/other-access...
Bluetooth HC-06:
www.gearbest.com/transmitters...
Servo SG90:
www.gearbest.com/other-access...
............................................................................................................................................................
Music: x50 - Penguin (Vlog No Copyright Music)
............................................................................................................................................................
If you like this video don't forget to Like and Share.
Don't be a stranger, hit the Subscribe button, It will be awesome having you here.
Comment if you have any questions.
Thanks for watching. - Наука та технологія
Your videos are perfect, I've been trying to make the connection between HC05 and HC06 but I failed.
Because of you now, my project completed.
Thank you so much, my friend, please keep it up
You're Welcome my friend.
I'm glad it was helpful.
Man this is an incredible video, thank you so much for the help!!!!
Glad you liked it
They are both hc05 because some at commands like AT+ROLE don' exist in HC 06.
Did you use two HC-05? My HC-06 haven't a button. How can I get the ADDR of my HC-06 Module?
even my hc-o6 module does not have a button i think he might have used 2 hc-o5 modules
Good video👌.Nice job dude👏❤ ,keep going👍👍
Thanks, my friend for the support.
My pleasure.
Ottimo video e ancor più ottima spiegazione. 😁👍
Prego amico
Nice video keep going
If i want to control two servo motor with two potentiometer what should be changed in the code
Hi, I need to put a transmitter on the collar of my dog, so when he barks it would trigger a device in the house. I also need to keep track of the barks on an app on my phone that I will later make. What technology do you recommend? How? Thank you so much.
Sorry for the late reply, Do you have good WiFi around your house?
Is it possible to connect one hc-05 module to mega and the another to the uno board with different pins.
Of course, it's possible.
Hi dear friend , arduino codes link an AT command links are being blocke by Bit site. Could you please upload link again or recomment a sloution ?
Благодарю за инструкцию! Привет из России!!!)))
Thanks my friend.
you connected two hc05, not hc06 to hc05
That's not correct my friend, I had connected HC-05 to HC-06, and as you notice in the video HC-05 needs Key pin to be connected to the Arduino 3.3v, but HC-06 doesn't need that pin. What was the problem that you faced?
Electronics Tech hc06 have 4 pins, hc05 have 6 pins. and you pressed the buttons on both, only the hc05 has such buttons
yes you're right but not all the modules don't have a button, mine has one, also has 6 male header.
Electronics Tech got it
What is the difference between AT+PAIR and AT+CMODE. If the AT+CMODE connects to the other device then why do we need to pair it ?
Actually, they are quite the same thing. but sometimes AT+CMODE doesn't work so we use AT+PAIR
Hello sir , can i connect bluetooth module hc 06 with out resistor?
Hi, It's better to use a resistor.
it really saved me, thank you so much ❤
Is there another way to make the HC-06 enter AT mode? I have the HC-06 that doesn't have a button.
some HC-06 modules are permanently configured to be in slave mode, so it's always in AT mode when not paired to any other devices.
try to set the baud rate to 38400 then try the AT commands again.
@@ElectronicsTechHaIs thanks a lot for your reply. I managed to use someone's code to get some sort of response from it. But it doesn't respond to some of the AT commands you write. For example it respond to PIN instead of PSWD? I'm doing something wrong but not sure what
Good Day Electronics Tech, is it possible to upload sketch code to arduinoUNO using bluetooth module HC-05?
yes, you can, there's an Android application named Bluino Loader try it.
do you have any tutorials on how to do it?
you can find many projects about it on google.
Is it possible to connect two slaves and one master?
Yes, it's possible but not simultaneously, you can't connect two slaves to one master at the same time, you have to disconnect one of the salves to let the another one connect to the master, If you get what I mean.
Iscritto
Can I connect two hc-06?
Not possible
The commands "AT+PAIR" and "AT+LINK" give me error, so what can I do in that case?
Check your Bluetooth model then download its datasheet in order to test the right AT command of it.
@@ElectronicsTechHaIs It didn't work, so I check the hc05 and hc06 firmware and hc05 is 2.0 2010 and hc06 3.0 2017 so I take a decision to buy a new hc05 but this time 3.0 2017. And it works, looks like the pair is successful if the two modules got the same firmware.
Thanks for the information.
Your videos are nice, but seems like you did a connection between HC05 to HC05, not the HC05 to HC06.
Thank you,
You think the connection was between HC05 and HC05 but no it's between HC05 and HC06, in fact when I tried to establish the connection between 05 and 06 for the first time I faced many problems but in the end, it worked. Make sure to set the same password and I recommend reading both of the module commands so you will have a solid idea about them.
Can 2 hc - 06 modules be used to wirelessly connect 2 arduinos
Isn't the correct way rx to tx and tx to rx?
You're right, But when you need to configure the Bluetooth module you have to connect Rx to Rx and Tx to Tx,
@@ElectronicsTechHaIs Thanks for answering!
@@ElectronicsTechHaIs rx->rx & tx->tx ! I didn't know that. I was wondering why I couldn't get it to take the AT commands when lights were blinking slow. I'll try that!
This is 2 hc05. Hc06 doesn't even have 6 pins
Yes, it does, I've tested both modules.
Hello, I do the same steps that you do here but there is no connection between hc05 and hc06, can you help me please?
Hi, check each one weather if it's working or not.
the modules that you have are the same ones in the video? or different.
@@ElectronicsTechHaIs I use the same module for hc05 but the hc06 is different. And I check each one if its work or not and I found that there are connection (with sellphone).
Good, Could you send me a picture of the hc06 that you have?
@@ElectronicsTechHaIs I cant send here .. can you send me your email?
ammata hukapan ponnaya