How to Pair HC-05 Bluetooth Modules

Поделиться
HTML-код
  • Опубликовано: 23 апр 2017
  • 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.
  • НаукаНаука

Комментарии • 410

  • @PatchBOTS
    @PatchBOTS  4 года назад +8

    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 года назад +4

    Excellent tutorial! Clear explanations, no intro, no background music, no bla-bla, just pure information. Greetings from Berlin!

  • @Osmanity
    @Osmanity 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 года назад +6

    You gave me all I needed to know... in 5 minutes. Outstandingly clear and concise. Cheers!

  • @MakerProjectLab
    @MakerProjectLab 7 лет назад +26

    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!

  • @1e0_oki
    @1e0_oki 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!

  • @mewintle
    @mewintle 6 лет назад +1

    Super clear and concise. I wish all instructional videos were this good! Thank you!

    • @PatchBOTS
      @PatchBOTS  6 лет назад

      Really nice feedback thanks!

  • @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

  • @vedansh29
    @vedansh29 5 лет назад +12

    tHE MOST EASY VIDEO FOR THE THING I SEARCHED FOR

  • @andrewmagdaleno5417
    @andrewmagdaleno5417 5 лет назад +1

    This video really helped out a lot thank you for the clarity and speed!

  • @mikex691
    @mikex691 7 лет назад

    Excellent, excellent!!! You inspire me. Please do more like this !!

  • @BHANUPRAKASH-nc8hz
    @BHANUPRAKASH-nc8hz 6 лет назад

    It worked , with easy with your clear cut explanation , thank you very much sir.

  • @nomaanishfaq8917
    @nomaanishfaq8917 3 года назад

    THE BEST EXPLAINED VIDEO I'VE EVER WATCHED.......... THANK YOU VERY MUCH :)

  • @46449771
    @46449771 3 года назад

    Very good video. Straight to the point and perfect instructions. Thanks.

  • @webslinger2011
    @webslinger2011 5 лет назад +2

    Need to add zeros for binding the address if not complete. Also, I've used Invootech method to connect the modules.

  • @antoniosantos6104
    @antoniosantos6104 Год назад

    Thank you so much for this video, I was looking for a video that explained it easily and thoroughly!

  • @LewisO.
    @LewisO. Месяц назад

    OMG OMG OMG OMG OMG
    YOUR EXPLANATION IS THE MOST SIMPLEST ONE TO FOLLOW
    AND YOU TALK FAST AND IS WELL SPOKEN
    MAKES IT EASY TO FOLLOW AND I WANNA BE LIKE YOU WHEN YOU GROW UP
    SUBSCRIBEDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD

  • @nancyrobles8481
    @nancyrobles8481 4 года назад

    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  4 года назад

      Great! Glad to help!

  • @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.

  • @glindquist5635
    @glindquist5635 5 лет назад +1

    Thank you so much, saved me a lot of frustration!

  • @yuchoy1
    @yuchoy1 7 лет назад

    Very nice and clear! Thanks for the info!

  • @kingsleyjide4486
    @kingsleyjide4486 4 года назад +1

    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  4 года назад

      Not that I'm aware of, but check more recent firmware guides.

  • @hasanadmani6388
    @hasanadmani6388 4 года назад

    amazing tutorial finally got everything to work great job!!!!!!!!!!!!!!!!!!!!

  • @ziyujin9106
    @ziyujin9106 3 года назад

    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?

  • @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?

  • @amihemat5130
    @amihemat5130 4 года назад

    thanks, now a question : how we can have directly connecting with HC-05 and headset bluetooth?

  • @MichaelPick
    @MichaelPick 4 года назад

    Great video! Subscribed!

  • @enestastan7147
    @enestastan7147 5 лет назад +1

    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?

  • @Alex-nl4ib
    @Alex-nl4ib 5 лет назад +1

    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

  • @rubenamoretti1219
    @rubenamoretti1219 4 года назад

    Can you explain about the AT+INIT and AT+INQ commands? I want to use the RSSI property, maybe that can help

  • @IanZ_Forge
    @IanZ_Forge 4 года назад

    Thanks mate! This helped a ton! God bless

  • @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

  • @venkatmourya5117
    @venkatmourya5117 7 лет назад +2

    SUPERB EXPLANATION

  • @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?

  • @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

  • @markgreco1962
    @markgreco1962 7 лет назад

    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  7 лет назад

      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.

  • @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

  • @Graham1904
    @Graham1904 4 года назад

    Don't you need level changer on the tx/rx lines as these are 3V3?

  • @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.

  • @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

  • @gpTeacher
    @gpTeacher 5 лет назад

    Thanks very much for very clear instructions!

    • @PatchBOTS
      @PatchBOTS  5 лет назад

      You're very welcome! Glad it worked for you!

  • @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

  • @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.

  • @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

  • @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

  • @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

  • @arivnidunami3047
    @arivnidunami3047 Год назад

    what i looking for, thanks. good video.

  • @lania4334
    @lania4334 3 года назад

    Isn't it bad to take the pin directly to the Arduino without using resistor does it not damage the Bluetooth.

  • @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)

  • @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?

  • @lozza1950
    @lozza1950 4 года назад

    Could I use a Arduino mega ADK , board. If possible where is the wiring diagram. Thanks

  • @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?

  • @eleftheriostriantafyllidis3012
    @eleftheriostriantafyllidis3012 5 лет назад +1

    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  5 лет назад +1

      They remember!

    • @eleftheriostriantafyllidis3012
      @eleftheriostriantafyllidis3012 5 лет назад

      @@PatchBOTS Insanely fast reply, thank you, really appreciate it :)

    • @PatchBOTS
      @PatchBOTS  5 лет назад

      @@eleftheriostriantafyllidis3012 No sweat, if you run into any issues post them here and I'm happy to help

    • @eleftheriostriantafyllidis3012
      @eleftheriostriantafyllidis3012 5 лет назад +1

      @@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 :)

  • @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?

  • @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?

  • @richard1001001
    @richard1001001 5 лет назад +1

    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

  • @rohitchaturvedi2271
    @rohitchaturvedi2271 5 лет назад +2

    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 лет назад +2

      Yes, should be fine without for programming but you should probably use one for regular use

  • @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.

  • @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.

  • @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

  • @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.

  • @dashl5069
    @dashl5069 6 лет назад +2

    it is not working with my nano, it has had other problems like not using the normal USB drivers (SDTI are the most common I believe) however I cannot see why this would not work, any ideas?
    Thanks

    • @PatchBOTS
      @PatchBOTS  6 лет назад +1

      @swishy _ fishy In the end you can use a Nano for your project, but it appears you need to use an Uno to do the AT mode commands. Others have had the same issue using a nano which was resolved by switching to the Uno.

  • @craftypineapple144
    @craftypineapple144 6 лет назад

    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  6 лет назад

      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.

  • @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

  • @octaviustiscareno1464
    @octaviustiscareno1464 4 года назад

    for me everything else works , but when i try to change the role it doesnt let me, what can it be ?

  • @zohaibsiddique6214
    @zohaibsiddique6214 7 лет назад

    My bluetooth module is not entering in AT mode by pressing the button and powering on arduino.. it keeps blinking fastly.. Can you help me to solve this problem?

  • @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.

  • @Tokke_ALT
    @Tokke_ALT 8 месяцев назад +2

    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 6 месяцев назад

      This would a fantastic addition

  • @shrijanmaram7939
    @shrijanmaram7939 4 года назад

    Can I do the same if I want to connect to smartphones rather than another HC-05?

  • @marsanishadraa
    @marsanishadraa 3 года назад +1

    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 10 месяцев назад

      you found any solution?

    • @marsanishadraa
      @marsanishadraa 9 месяцев назад

      @@almeespinosawild2196 actually I already finish that 2 years ago😅

  • @luiscostoya7879
    @luiscostoya7879 2 года назад +1

    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.

  • @talitanogueira5833
    @talitanogueira5833 5 лет назад

    Thank you! You saved me!

  • @rogerdeutsch5883
    @rogerdeutsch5883 6 лет назад +1

    Great video. Subscribed.

    • @PatchBOTS
      @PatchBOTS  6 лет назад

      Thanks Roger, that's the best kind of feedback there is!

  • @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 лет назад +1

      I got everything working just in 5 minutes! Thanks again!

  • @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 лет назад +1

      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

  • @davidhead6549
    @davidhead6549 4 года назад +1

    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

    • @PatchBOTS
      @PatchBOTS  4 года назад

      Sorry not sure what could be wrong there.

  • @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.

  • @munch15a
    @munch15a 7 лет назад +2

    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

  • @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--

  • @davidhead6549
    @davidhead6549 4 года назад +1

    By the way, an excellent video.

  • @yogeshbrar
    @yogeshbrar 5 лет назад

    Hi I have Normal USB speakers and I have HC05 module with me.. How can I make the connections in order to turn the speakers to Bluetooth? Any way?

    • @PatchBOTS
      @PatchBOTS  5 лет назад

      Sorry, I have no idea. Would depend a lot on what each HC is connected to.

  • @Dr-Shlomo-Cohen
    @Dr-Shlomo-Cohen 4 года назад

    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.

    • @PatchBOTS
      @PatchBOTS  4 года назад

      Hm. I think all this is possible the only real tricky part is to figure out how you're going to power it on the dog side. Maybe attach a battery to his collar? If it was me, I would use all 3.3v components and use a single 18650 to power it.
      For the collar I would use a small microcroller like a ATtiny16 (check out TinyCore16). Some kind of sound module that can detect large bursts in sound and one of these HC-05 modules. Then on the other side just have some kind of app running that can collect each instance of a "1" coming in from the collar

  • @gowthamdevaraj4211
    @gowthamdevaraj4211 4 года назад

    Sir,
    I want to know when the HC-05 bt module is paired ..the external LED what's to glow ....is there any possible ???

    • @PatchBOTS
      @PatchBOTS  4 года назад +1

      You can attach an led to the "state" pin. That will glow when it is paired

  • @GCKteamKrispy
    @GCKteamKrispy 6 лет назад

    can i pair three or more bluetooth modules?

  • @ashinthaCARBON
    @ashinthaCARBON 7 месяцев назад

    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

  • @frmathesqq
    @frmathesqq 3 года назад

    i have one but what can i do with it?

  • @solanki-mayur7625
    @solanki-mayur7625 4 года назад

    Hello, smartphone connect HC 05 how to HC choice module master/sleve module?

  • @arduinobasics5556
    @arduinobasics5556 2 года назад

    Can I use it like one uno and one nano

  • @iggyboyTV
    @iggyboyTV 10 месяцев назад

    it is possible that thus setup is control by mobile phone?

  • @sneharankhambe151
    @sneharankhambe151 5 лет назад

    Is it possible to connect number of HC-05 Modules at a same time? i connect to modules at same time but on bluetooth terminal app the names of these modules overlapp each other. What should i do?/Please suggest.

    • @PatchBOTS
      @PatchBOTS  5 лет назад

      Not sure if you can connect more than one.

  • @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 лет назад +1

      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 лет назад +1

      Yeah mate, it's working now with an UNO. Thanks for the help and great tutorial btw.
      Cheers

  • @andrecartagena3201
    @andrecartagena3201 7 лет назад +2

    Nice, your also very smart

  • @emjacob684
    @emjacob684 4 года назад

    How do I control 2 HC05 modules using 1 phone(ardudroid app)?

  • @ppionke
    @ppionke Год назад

    SHOT AND SHOW ANY STEP NEEDED gj !!

  • @andreact88
    @andreact88 5 лет назад

    thank you for your video! but why you put rx to rx and tx to tx?

    • @PatchBOTS
      @PatchBOTS  5 лет назад

      Only for programming. For Communication it's RX to TX / TX to Rx.

  • @sufferwr1595
    @sufferwr1595 8 месяцев назад

    In the part of entering the "AT" In serial monitor with 38400 buad rate both NL& CR No result or anything response

    • @sufferwr1595
      @sufferwr1595 8 месяцев назад

      nvm thank youuuuu for this, it will help my thesis!

  • @isabelpestana1081
    @isabelpestana1081 4 года назад

    Great video!! One question tho, can I use a arduino nano after?

    • @PatchBOTS
      @PatchBOTS  4 года назад +1

      Yes. UNO is only needed for programming. Then you can use anything you'd like.

    • @isabelpestana1081
      @isabelpestana1081 4 года назад

      @@PatchBOTS thank you so much!!

  • @achoursekiou
    @achoursekiou 4 года назад

    HELLO EVERYBODY
    I THINK ONLY ME HAVE THIS PROBLEME WHEN I MAKE
    AT+ROLE? I GET ERROR
    WERE IS PROBLME
    AND THANKS

  • @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 лет назад +1

      Great glad you found the solution!