How to Pair HC-05 Bluetooth Modules

  Переглядів 237,435

PatchBOTS

PatchBOTS

7 років тому

A fast explanation on how to pair two HC-05 bluetooth modules!
!!!!!!!PLEASE READ IF YOU ARE HAVING TROUBLE PAIRING YOUR BOARDS !!!!!!!
COMMON ISSUES:
Issue 1: This method works ONLY with an Arduino UNO. (edit: One user claims it works with an Arduino Mega as well but I have not tested myself. Could be an option if you have a Mega). Once the boards are paired you can use whatever you want, but for programming in AT Command mode you MUST use an UNO.
Issue 2: Some boards require the button to only be held during power up (as seen in video). Some boards require the button to pressed at power up AND when hitting "enter" on AT commands. Some boards require the button to be held at ALL TIMES in AT mode.
Issue 3: ERROR: (7) when trying to use the AT+BIND command. Your address be entered in this exact format XXXX,XX,XXXXXX 4 characters (comma) 2 characters (comma) 6 characters. If the address given by the slave module is not in this format, you must add zeros at the beginning of the section to make up for it. i.e. If the address given by your slave is 13:EF:C76A you would enter that as 0013,EF,00C76A. If the number of characters is correct an you're still getting the error; check that you do not accidentally have a space at the end of your string (very common).
Issue 4: The Baud Rate for AT Command Mode is 38400. The default Baud Rate for communication between modules is 9600. This can be changed with the command AT + BAUD
If you are still having trouble, post in the comments. I also offer pre-paired boards from my store: www.patrickstefanski.com/store
NO-INTRO TUTORIALS - Don't you hate when the first 10 minutes of video is the creator talking about what he's going to be doing and why he is going to do it? GET TO THE POINT! No-Intro Tutorials are designed to cut to the chase and dive right in.

КОМЕНТАРІ: 407
@PatchBOTS
@PatchBOTS 4 роки тому
If this process isn't working for you, please read the video description. I've updated it with a few of the most common problems. If that doesn't help, search through the comments, i try to respond to every question. If that doesn't work, post your new issue in the comments and I will get to it. If that doesn't work, I sell pre-paired boards in my store. Link in the description!
@maulanafahman9332
@maulanafahman9332 4 роки тому
bray ngubah ke 38400 baud ratenya gimana
@JonahStubbs
@JonahStubbs 4 роки тому
Did you do this for your clone comm pad?
@JonahStubbs
@JonahStubbs 4 роки тому
And could you make a video all about your clone comm pad because I want to do what you did but I’m not sure how you did it and would like an explanation and how-to.
@ArcaneStellaris
@ArcaneStellaris 2 роки тому
It worked for me with an arduino mega for AT Command mode stuff
@PatchBOTS
@PatchBOTS 2 роки тому
@@ArcaneStellaris that's great to know, I'll add it to the description
@reinerhildebrand5915
@reinerhildebrand5915 3 роки тому
Excellent tutorial! Clear explanations, no intro, no background music, no bla-bla, just pure information. Greetings from Berlin!
@Usq7213
@Usq7213 4 роки тому
TOOK ME 1 YEARS TO PAIR THIS HC-06 AND U MY FRIEND MADE MY DREAM COME TRUE AFTER 100 VIDS WITH POORLY EXPLATION BUT U SAVED ME FROM GIVING UP MY DREAM AND FOR THAT I WANT TO SAY THANK U FROM THE BOTTOM OF MY HEART
@adkeco
@adkeco 3 роки тому
You gave me all I needed to know... in 5 minutes. Outstandingly clear and concise. Cheers!
@andrewmagdaleno5417
@andrewmagdaleno5417 4 роки тому
This video really helped out a lot thank you for the clarity and speed!
@mewintle
@mewintle 6 років тому
Super clear and concise. I wish all instructional videos were this good! Thank you!
@PatchBOTS
@PatchBOTS 6 років тому
Really nice feedback thanks!
@Leo-mo4vj
@Leo-mo4vj 2 роки тому
Thank you so much I have been trying to pair the the modules together the whole day, NOBODY mentioned that you have to remove the high signal on the EN pin and swap the TX|RX BUT YOU. you are amazing .
@PatchBOTS
@PatchBOTS 2 роки тому
Glad it was helpful!
@BHANUPRAKASH-nc8hz
@BHANUPRAKASH-nc8hz 6 років тому
It worked , with easy with your clear cut explanation , thank you very much sir.
@Hurtcules
@Hurtcules 7 років тому
The best tutorial I've seen so far on this subject. Gonna give it a try in a day or so.
@PatchBOTS
@PatchBOTS 7 років тому
Hurtcules thanks! that means a lot! good luck and message me if you run into any trouble
@mikex691
@mikex691 6 років тому
Excellent, excellent!!! You inspire me. Please do more like this !!
@46449771
@46449771 3 роки тому
Very good video. Straight to the point and perfect instructions. Thanks.
@glindquist5635
@glindquist5635 5 років тому
Thank you so much, saved me a lot of frustration!
@nomaanishfaq8917
@nomaanishfaq8917 3 роки тому
THE BEST EXPLAINED VIDEO I'VE EVER WATCHED.......... THANK YOU VERY MUCH :)
@MakerProjectLab
@MakerProjectLab 7 років тому
Great explanation. Clear and concise. Well done. Subscribed.
@PatchBOTS
@PatchBOTS 7 років тому
Maker Project Lab perfect!
@PatchBOTS
@PatchBOTS 7 років тому
After checking out your channel I sub'd right away. Really looking forward to going through your video roll. Great stuff!
@vedansh29
@vedansh29 5 років тому
tHE MOST EASY VIDEO FOR THE THING I SEARCHED FOR
@PatchBOTS
@PatchBOTS 5 років тому
Thanks!
@venkatmourya5117
@venkatmourya5117 6 років тому
SUPERB EXPLANATION
@antoniosantos6104
@antoniosantos6104 10 місяців тому
Thank you so much for this video, I was looking for a video that explained it easily and thoroughly!
@hasanadmani6388
@hasanadmani6388 4 роки тому
amazing tutorial finally got everything to work great job!!!!!!!!!!!!!!!!!!!!
@yuchoy1
@yuchoy1 6 років тому
Very nice and clear! Thanks for the info!
@ELECTRICALTOOLBOXPH
@ELECTRICALTOOLBOXPH 2 роки тому
Thank you so much! Brief and concise..
@ljay0778
@ljay0778 4 роки тому
Great video, and i have no idea how it ever worked with TX going to TX and RX going RX in the first place. Most the world knows they need to be reversed as the module TRANSMITS into the RECEIVE pin . but it general it worked for me doing it the right way . thank you.
@doctorteeth
@doctorteeth 3 роки тому
Puzzled me at first - but I think the cross is unnecessary because the data is just passing through the serial interface from the USB port, rather than originating within the Arduino.
@nancyrobles8481
@nancyrobles8481 3 роки тому
THE SHORTEST VIDEO I FIND, AND THE GREATEST, YOU EXPLAIN VERY WELL, YOU SOLVED MY PROBLEM, THANK YOU VERY MUCH FRIEND, NEW SUBSCRIBER
@PatchBOTS
@PatchBOTS 3 роки тому
Great! Glad to help!
@Alex-nl4ib
@Alex-nl4ib 5 років тому
You literally saved my life, THANK YOU A LOT
@PatchBOTS
@PatchBOTS 5 років тому
Glad I could help
@ouchanihida3327
@ouchanihida3327 3 роки тому
@@PatchBOTS You advise me what type of GBS modules that will be compatible with a Bluetooth module and at the same time an SD card . You can advise me because I'm a little lost thank you
@kbruin79
@kbruin79 4 роки тому
Great tutorial. This might be Ok for connecting couple pieces what if you have a 100 or 1000 Bluetooth pairs is there a way for two known Bluetooth hardware devices to auto connect?
@IanZ_Forge
@IanZ_Forge 4 роки тому
Thanks mate! This helped a ton! God bless
@ziyujin9106
@ziyujin9106 2 роки тому
Great video thank you!! I follow your instruction to write AT in serial monitor but there is a problem in writing AT+BIND. Can I know why?
@webslinger2011
@webslinger2011 5 років тому
Need to add zeros for binding the address if not complete. Also, I've used Invootech method to connect the modules.
@talitanogueira5833
@talitanogueira5833 4 роки тому
Thank you! You saved me!
@kingsleyjide4486
@kingsleyjide4486 3 роки тому
New subscriber here! this video was concise and full of value.. I have a question, is it possible to add more than one address for the master to connect to whenever any of the added addresses are in range?
@PatchBOTS
@PatchBOTS 3 роки тому
Not that I'm aware of, but check more recent firmware guides.
@arivnidunami3047
@arivnidunami3047 Рік тому
what i looking for, thanks. good video.
@MichaelPick
@MichaelPick 4 роки тому
Great video! Subscribed!
@PatchBOTS
@PatchBOTS 4 роки тому
Thanks man!
@hairiyaacob6289
@hairiyaacob6289 6 років тому
great explaination. just a quick question: do we really need to make a potential divider for the TX connection from arduino using 1k and 2k resistors. is it really necessary?
@PatchBOTS
@PatchBOTS 6 років тому
hairi yaacob you probably should yes. For just pairing them I haven't had any issues, but for long term use it's definitely on your best interest
@gpTeacher
@gpTeacher 5 років тому
Thanks very much for very clear instructions!
@PatchBOTS
@PatchBOTS 5 років тому
You're very welcome! Glad it worked for you!
@rubenamoretti1219
@rubenamoretti1219 3 роки тому
Can you explain about the AT+INIT and AT+INQ commands? I want to use the RSSI property, maybe that can help
@robGamings08
@robGamings08 Рік тому
Hey so I followed your video, (great job by the way!), and they are blinking twice every 2 seconds like they are paired, but it’s back and forth and not synchronized. Is it still paired? I couldn’t find anything wrong with what I did.
@amihemat5130
@amihemat5130 4 роки тому
thanks, now a question : how we can have directly connecting with HC-05 and headset bluetooth?
@andrecartagena3201
@andrecartagena3201 7 років тому
Nice, your also very smart
@luiscostoya7879
@luiscostoya7879 2 роки тому
I know others have probably asked but I cant seem to get a response at all from the AT command. I get the show blinking to happen but when I type AT on to command line I get nothing in return. Im on an Arduino Uno, made sure to set baud to 38400, and TX -> TX + RX -> RX. Not sure what could be wrong, any help would be appreciated.
@wiseThingz
@wiseThingz 4 роки тому
as I tested, to get into AT command mode, you only need to hold down the button while switching on HC-05. immaterial if u have made EN/KEY pin HIGH
@davidhead6549
@davidhead6549 4 роки тому
By the way, an excellent video.
@eleftheriostriantafyllidis3012
@eleftheriostriantafyllidis3012 4 роки тому
Hello! Great Video! Right to the point. One question, do we have to set the AT commands every time we disconnect and re-connect the arduinos ? Or do the HC-05 "remember" their master or slave state ? Thanks!
@PatchBOTS
@PatchBOTS 4 роки тому
They remember!
@eleftheriostriantafyllidis3012
@eleftheriostriantafyllidis3012 4 роки тому
@@PatchBOTS Insanely fast reply, thank you, really appreciate it :)
@PatchBOTS
@PatchBOTS 4 роки тому
@@eleftheriostriantafyllidis3012 No sweat, if you run into any issues post them here and I'm happy to help
@eleftheriostriantafyllidis3012
@eleftheriostriantafyllidis3012 4 роки тому
@@PatchBOTS Oh, you could add in the description that Error (7) may also come up in case the address is two characters less; For example an address FCA8:9A:22ED is two characters less than in your tutorial in the end. This is simply fixed by adding zeros in the end, i.e.: FCA8:9A:22ED00 :)
@hicks712
@hicks712 4 роки тому
Hi one of the lads in my care has a arduino bat robit with an dsd module do i need a second module to run from his tablet. As with the one module tge d s d hc05 rejects the pairing . Thanks
@ouchanihida3327
@ouchanihida3327 3 роки тому
You advise me what type of GBS modules that will be compatible with a Bluetooth module and at the same time an SD card . You can advise me because I'm a little lost thank you
@iggyboyTV
@iggyboyTV 8 місяців тому
it is possible that thus setup is control by mobile phone?
@machwasmakerspace362
@machwasmakerspace362 4 роки тому
WOW... that's a how to the way I like it!
@markgreco1962
@markgreco1962 6 років тому
Thank you very much So do they also send the command using the wire library on Arduino Is there anything we have to do in addition in the code?
@PatchBOTS
@PatchBOTS 6 років тому
The way I've used them is with UART communication. I'm not sure if you can use it as an I2C device with the wire library but it's something to look into.
@bufferingmp.018
@bufferingmp.018 2 роки тому
Hello pathbots, this was very helpful and I almost finished in less than 10 minutes but I ran into a problem. It says that my modules are binded and stay binded but they won't connect. I'm using an Arduino uno and have checked every step and everything is correct. Not sure why?
@lania4334
@lania4334 3 роки тому
Isn't it bad to take the pin directly to the Arduino without using resistor does it not damage the Bluetooth.
@Graham1904
@Graham1904 4 роки тому
Don't you need level changer on the tx/rx lines as these are 3V3?
@morrism6743
@morrism6743 3 роки тому
Sir, after all the steps is done, what if the blinking light is not synchronized? But both blinking lights actually get slower but not synchronized
@vkb1
@vkb1 6 років тому
Make sure you use this format for your AT+BIND=xxxx,xx,xxxxxx. Add zeros to pad the address. I was getting Error(7) (Bluetooth address: LAP is too long.). But this fixed it.
@PatchBOTS
@PatchBOTS 6 років тому
Good advice, this error can also be caused by accidentally leaving a space at the end of your numbers, which is very easy if you're using Notepad on Windows. This error is extremely common among those that message me.
@richard1001001
@richard1001001 5 років тому
Great video. Would you mind if I asked a question? I want to remotely control some 12v lights, but need to use a standard toggle switch. How would you connect a switch to one of these units. I am a new boy to these products so my knowledge is limited. Thank you.
@PatchBOTS
@PatchBOTS 5 років тому
Well it would be connected to a microcontroller on both ends so connect the switch to that and transmit the on/off data
@dgrek9459
@dgrek9459 5 років тому
Yeah its very similar to wireless controlling of an LED just you will need to wire your micro controller to your 12V power supply and lighting to give it the input from the switch which is also wired to a separate micro controller
@enestastan7147
@enestastan7147 5 років тому
I have a question. What about the passwords that we configured? I applied exactly the same procedure but master could not connect to slave just because I have changed 1234 default password to something else. When I reconfigured the slave's password to be 1234 master could connect to it? If pasword matters (which seems so) how can we let the master know or bypass the password of the slave?
@akramhassan7484
@akramhassan7484 6 років тому
Really great explained but I've got a question I want to send send and receive data in my sonar project( servo+ ultrasonic), Can it be done with the method you explained with these Bluetooth modules ?? Thanks
@PatchBOTS
@PatchBOTS 6 років тому
Hi Akram, This tutorial just shows how to set up communication between the two modules. So this tutorial would get you started. Yes, you can absolutely use these two bluetooth modules in your sonar project. You'd can send the data from your sensor to your servo over bluetooth or your remote to your servo, whatever you need. The bluetooth is just replacing i2c or other serial connections with a wireless solution. HOWEVER, you'd need to seek out another tutorial for that, this one is just about establishing the connection between the modules.
@amizu1006
@amizu1006 2 роки тому
I succeeded in making the HC-05 blink slowly, but there was no response when I opened the serial monitor and entered AT twice (I entered the command within a second). serial monitor set to 38400 baud, I used an Uno R3
@mahmoudsamir9537
@mahmoudsamir9537 6 років тому
Many thanks 😊
@rogerdeutsch5883
@rogerdeutsch5883 6 років тому
Great video. Subscribed.
@PatchBOTS
@PatchBOTS 6 років тому
Thanks Roger, that's the best kind of feedback there is!
@nenorse
@nenorse 3 роки тому
For the Arduino Nano - I needed to drop the voltage to 3.3v on the RX Pin by connecting a 1k and 2k resistor. (search google for connecting HC-05 to Arduino Nano)
@TheOnlyLama
@TheOnlyLama 3 роки тому
Thank you so much
@isabelpestana1081
@isabelpestana1081 4 роки тому
Great video!! One question tho, can I use a arduino nano after?
@PatchBOTS
@PatchBOTS 4 роки тому
Yes. UNO is only needed for programming. Then you can use anything you'd like.
@isabelpestana1081
@isabelpestana1081 4 роки тому
@@PatchBOTS thank you so much!!
@galacticxranger9863
@galacticxranger9863 Рік тому
i want my bluetooth hc 05 to connect to any device so if I use ur tutorial then I can connect my phone to the slave module and then I can use it . am I correct?
@byungshin8773
@byungshin8773 3 роки тому
Hi I do not know if you are still answering questions, but I am able to follow your steps to a tee except when I switch to the other bluetooth module. When I do, I am unable to get a response from the serial monitor. No matter how many times I type "AT", nothing seems to come out. Is this a problem with my own bluetooth module, or is there something I missed in the video?
@PatchBOTS
@PatchBOTS 3 роки тому
Troubleshooting: 1. Are you using an Arduino UNO? You must use an UNO to program. 2. Is the light doing the slow, long blinks representing AT COmmand Mode? 3. Is there a blank sketch uploaded to the arduino? 4. Is your serial monitor set to 38400 baud? If the answer to all these questions is yes then you may have a busted module, try another module with the same method to confirm.
@kumarjha1729
@kumarjha1729 5 років тому
Nice video. I made Master and Slave, but I didn't get last step when you used other arduino and exchanged RX-TX and TX-RX (bluetooth and Arduino uno)?
@PatchBOTS
@PatchBOTS 5 років тому
Oh okay let me explain a little better. Tx is your "transmitter" and Rx is your "receiver". When you're programming the modules through AT you want the transmitters connected to each other and the receivers connected to each other. After everything is programmed and you have your master and slave, you need to switch around one pair of those wires such that the Transmitter of your Arduino is connected to the Receiver of your Bluetooth Module and vice versa. This way one receives what the other transmits.
@kumarjha1729
@kumarjha1729 5 років тому
@@PatchBOTSthanks for 1st doubt. Also if I want to send 5 sensors data by bluetooth, in that case which of the following two methods will be better. 1. Using 2 arduino uno and 2 HC05 MODULE...One arduino uno connected to Laptop for monitoring in Serial monitor. 2. ONE ARDUINO uno and one HC05 MODULE directly interface with laptop bluetooth. Also can we interface the master module with MATLAB? Kindly share your experiences. Thanks
@markanthonyalveniz8011
@markanthonyalveniz8011 6 років тому
Hi patchbot i already connect the two HC05 and successfully sending and receiving data but i have a probem in sending negative integers. any suggestion? BTW im only using software serial in sending and receiving data
@Tokke_ALT
@Tokke_ALT 6 місяців тому
Its a very good and clear video. Can u make another video that you program a simple ting with it like a press on a button sends signal to the slave and lights up a light. Can u also make another video where u can send with both that u can use them like a chat, or is it not possible.
@devindavis1833
@devindavis1833 3 місяці тому
This would a fantastic addition
@ppionke
@ppionke Рік тому
SHOT AND SHOW ANY STEP NEEDED gj !!
@ranner3
@ranner3 4 роки тому
So i used arduino mega 2560. During plugin into PC i held button. Beep says i am in AT configuration mode. I set all commands you mentioned and i was getting response OK. After test my bluetooths are able to pair because they both blink synchronized but they are unable to communicate and i dont know why.Both have same baud rates. Also i would like to ask i see ur mac address is xxxx.xx.xxxxxx this is format. When i check my mac addres its xx.x.xxxxxx is it because there are 0 digits hidden in it or its weird that i have diff format of MAC than you? Thanks.
@JDesignSwe
@JDesignSwe 3 роки тому
is it possible to pair a master to multiple slaves thru a secure pairing. eg. not use the 'any' command? if yes, how do I setup the AT command for this?
@DanGahagan
@DanGahagan 5 років тому
I was trying to do this with a Arduino Nano and was not successful. Bought a Arduino Uno and it took 2 minutes =) Thanks!
@PatchBOTS
@PatchBOTS 5 років тому
Great glad you found the solution!
@lozza1950
@lozza1950 4 роки тому
Could I use a Arduino mega ADK , board. If possible where is the wiring diagram. Thanks
@emyalfaro
@emyalfaro 6 років тому
Thanks a lot for this! New subscriber =)
@PatchBOTS
@PatchBOTS 6 років тому
Much appreciated! Thanks for watching, glad it worked out for you
@emyalfaro
@emyalfaro 6 років тому
I got everything working just in 5 minutes! Thanks again!
@andreact88
@andreact88 4 роки тому
thank you for your video! but why you put rx to rx and tx to tx?
@PatchBOTS
@PatchBOTS 4 роки тому
Only for programming. For Communication it's RX to TX / TX to Rx.
@arduinobasics5556
@arduinobasics5556 Рік тому
Can I use it like one uno and one nano
@scitechnotuber548
@scitechnotuber548 4 роки тому
Is there any way in which we can define the address of master in the code of slave circuit ?? To connect it directly
@jeffl7124
@jeffl7124 7 років тому
Best video on this subject I've seen so far! Great job! I'm assuming you're using a 3.3V arduino (since you're not running the arduino's TX pin through a logic level converter or resistor voltage divider)? You might want to specify this in the video. I'm pretty sure that the HC-05 can only handle 3.3V on its TX and RX pins and that 5V would fry it. Or maybe I've heard wrong and the HC-05 can handle 5V just fine?
@PatchBOTS
@PatchBOTS 7 років тому
Nah I think they can handle it. Haven't had any problems yet.
@jeffl7124
@jeffl7124 6 років тому
Just fried my HC-05 board by connecting my arduino's TX pin to the HC-05's RX pin (without first going through a logic level converter). So it's definitely possible to fry it (as I feared). Not sure how you're getting away with 5V.
@PatchBOTS
@PatchBOTS 6 років тому
Yeah man, doing some research it says you should use a voltage divider on the RX pin to get it down to 3.3v. But I have 2 sets of HC-05's in my BB-8 driod, and I use one set for testing things all the time and have never had a issue with frying them. Really strange.
@jeffl7124
@jeffl7124 6 років тому
No worries. It was cheap. The back or your modules look a bit different than mine. It seems that not all HC-05s are created equal. There's probably varying base boards and manufacturers out there. Anyway, it would be awesome if you added a quick note about this in your video so no one else has to go through this.
@PatchBOTS
@PatchBOTS 6 років тому
Yeah, maybe a brand issue. I'll put a notation in there later today and make a section in the description of the video.
@Seifsstudying-wq2nv
@Seifsstudying-wq2nv 2 місяці тому
What a legend
@dimitrisbal4505
@dimitrisbal4505 6 років тому
YOU ARE THE BEST! ;)
@PatchBOTS
@PatchBOTS 6 років тому
That's the goal! Thanks for the comment!
@korasukaro7794
@korasukaro7794 6 років тому
thanks for the video .. subscribed
@PatchBOTS
@PatchBOTS 6 років тому
Glad it worked for you! Thanks for the sub, good luck with your project!
@rohitchaturvedi2271
@rohitchaturvedi2271 5 років тому
Hc 05 logic pins are 3.3 v, UNO is 5 v, can it tolerate ?. I saw in a Great Scott video to use a voltage divider between tx of uno and rx of hc 05.
@PatchBOTS
@PatchBOTS 5 років тому
Yes, should be fine without for programming but you should probably use one for regular use
@nicknavarrete2838
@nicknavarrete2838 2 роки тому
Hey, Ive been working with them using a different micro, UART is working, Role and CMODE are working. For whatever reason, the address I try to bind is not remembered by the HC-05. Any ideas?
@marsanishadraa
@marsanishadraa 2 роки тому
Great video thank you!! I follow your instruction to write AT in serial monitor and the reply is OK so when I write AT+ROLE=1 there's no response in the serial monitor, what should I do?
@almeespinosawild2196
@almeespinosawild2196 7 місяців тому
you found any solution?
@marsanishadraa
@marsanishadraa 6 місяців тому
@@almeespinosawild2196 actually I already finish that 2 years ago😅
@salvo5631
@salvo5631 3 роки тому
My problem is at AT Command mode. I bring up my Serial monitor up on 38400 baud . I type in AT in the bar and get nothing not even a error what happened what have I done wrong. Also does it make any difference if i am using a Iphone as i can not see it in my Bluetooth.
@hsiehpanggi
@hsiehpanggi 3 роки тому
Hello, teacher, can you directly write code in arduino ide to import AT commands into HC05? In addition, one master can be paired with multiple slaves, and the master will control all slaves synchronously?
@Rotellini-9809
@Rotellini-9809 Рік тому
hey hope you see this comment, i followed the procedure with an arduino uno everything is ok the module respond ok to every command i send but when i try to change the role to 1 it just stays 0, even if i get an ok after the command AT+ROLE=1
@craftypineapple144
@craftypineapple144 5 років тому
Can you make a video on how to control a servo motor with this configuration? I'm trying to do that however I keep running into issues.
@PatchBOTS
@PatchBOTS 5 років тому
Yeah, you're not the first person to ask. Maybe I will do that. Email me in the meantime and I'll send you some code to run.
@ronee505
@ronee505 4 роки тому
How do I send a code to the Arduino via Bluetooth on my laptop (without using the Arduino cable and the alternative is Bluetooth)
@davidhead6549
@davidhead6549 4 роки тому
Cannot get HC-05 to accept AT commands. Have followed instructions to the letter on two different modules, with two different Unos, and two different sets of jumper wires. Have tried all of the fixes in the description. Odd thing is the modules appear to be in programming mode with or without pushing the button at power up.
@PatchBOTS
@PatchBOTS 4 роки тому
I know you said you did everything to the letter, just double check these two things: 1. Your baudrate is set to 38400 in the Serial Monitor. 2. TX-->TX RX-->RX
@EVERYTHING-tw5vm
@EVERYTHING-tw5vm 4 роки тому
thanks alot
@munch15a
@munch15a 6 років тому
So ive gotten it too AT command mode as indicated by the flashing light but thats as far as it goes the serial monitor will not give me any feed back ?
@dashl5069
@dashl5069 6 років тому
I have this problem too with my nano, what board are you using?
@josephnavinkumar3089
@josephnavinkumar3089 5 років тому
im using a uno board but it still dosnt work
@dgrek9459
@dgrek9459 5 років тому
@@josephnavinkumar3089 some hc-05 boards have issues in the 38400 baud rate. There are codes I have found online to allow you to try this same tutorial in the 9600 baud rate. Try looking for these
@abanoubghobrial6372
@abanoubghobrial6372 6 років тому
Hi, I'm using an Arduino nano instead of an UNO. I've managed to get the bluetooth module to get in to the AT mode, which I can tell from the blinking of the LED. However when I go to the serial monitor and I type AT nothing happens. I've got the baud rate and everything set according to your tutorial. Do you think it is because I'm using an Arduino nano instead of and UNO??
@PatchBOTS
@PatchBOTS 6 років тому
I've had issues with the Nano trying to use the RX/TX ports and the USB port at the same time. I'm not sure if you can set them up on a Nano. Once they are set up you can reattach them to a Nano, but you may have to start with the UNO.
@abanoubghobrial6372
@abanoubghobrial6372 6 років тому
Yeah mate, it's working now with an UNO. Thanks for the help and great tutorial btw. Cheers
@williammuff5485
@williammuff5485 2 роки тому
Is it possible to pair a peripheral to the bluetooth module. (Ex. a bluetooth joystick to arduino via HC-05/etc)?
@PatchBOTS
@PatchBOTS 2 роки тому
maybe, you'd need the MAC address of the joystick to pair it. I've never tried this though.
@pinumallaapoorva6738
@pinumallaapoorva6738 4 роки тому
Can we use 1 master & and 3 or 4 slaves sir.....i want to my 3 or 4 bluetooth modules using my mobile Google assistant, is it possible sir? If so could u plzzz give a brief note sir.
@govorilegko
@govorilegko 6 років тому
The best explanation ever on how configure and pair 2 HC-05 modules. Very clear. But I cannot even turn on the light (pin 13) on Slave from Master. I don't understand what I do wrong way. Can you make some simple code and really pair 2 modules?
@PatchBOTS
@PatchBOTS 6 років тому
What exactly are you trying to do? What input are you trying to use on the master side to turn the light on on the slave side?
@govorilegko
@govorilegko 6 років тому
everything is okay, thank you
@ashinthaCARBON
@ashinthaCARBON 5 місяців тому
huy, I did the same thing as "AT+ROLE=1" it says ok, but when I try to verify it's still in the slave mode. Can you tell me how to fix it
@alexchabanenko6347
@alexchabanenko6347 4 місяці тому
thank you
@planker
@planker Рік тому
I say, let's give it a go. Thanks
@ZHazarERULUSOY
@ZHazarERULUSOY 3 роки тому
How many devices pairing this method
@frmathesqq
@frmathesqq 3 роки тому
i have one but what can i do with it?
@shrijanmaram7939
@shrijanmaram7939 3 роки тому
Can I do the same if I want to connect to smartphones rather than another HC-05?
@ranidusoysa8789
@ranidusoysa8789 2 роки тому
In my case it is not bind. when I bind serial monitor shows 'OK' but still not bind. can you tell me why is that? --Very urgent--
Arduino HC-05: Bluetooth Module Configurator w/UNO R3 & Basic AT Commands [Tutorial]
13:04
Paul Marriott - CHANNEL of STUFF
Переглядів 44 тис.
HC-05 Bluetooth Module | Change Name and Password | AT Commands
7:01
Viral Science - The home of Creativity
Переглядів 104 тис.
Godzilla Attacks Brawl Stars!!!
00:39
Brawl Stars
Переглядів 7 млн
Bluetooth HC-05 Modules - How to PAIR & Transmit/Receive  DATA
18:32
Saravanan AL
Переглядів 113 тис.
44 Bluetooth Master Slave Demonstration with Arduino with HC-05
6:49
void loop Robotech & Automation
Переглядів 12 тис.
HC-05 Bluetooth Module with Arduino-MIT App Inventor
27:57
BINARYUPDATES
Переглядів 940 тис.
Something Strange Happens When You Follow Einstein's Math
37:03
Veritasium
Переглядів 6 млн
inventor aw - This Device is very helpful ,, you can make at home
6:47
How to PAIR Bluetooth HC-05 Modules
8:52
Saravanan AL
Переглядів 183 тис.
Самый маленький игровой ПК
0:46
ITMania - Сборка ПК
Переглядів 579 тис.
План хакера 🤯 #shorts #фильмы
0:59
BruuHub
Переглядів 999 тис.