How to PAIR Bluetooth HC-05 Modules

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 พ.ย. 2014
  • This video explains how to pair tw HC-05 modules so that they can replace Serial wired communication to a Wireless one.
    Arduino UNO is used to configure SLAVE module.
    USB-TTL board is used to configure the Master.
    alselectro.wordpress.com/2014/...
    TERATERM serial terminal download
    en.sourceforge.jp/frs/redir.ph...
    It's not RealTerm as mentioned in video.I've used TERATERM.
  • แนวปฏิบัติและการใช้ชีวิต

ความคิดเห็น • 98

  • @ravi270783
    @ravi270783 9 ปีที่แล้ว +4

    Thanks for the detailed tutorial Saravanan, have been scratching head for a while to make this work...

  • @nikithsaidheekonda7976
    @nikithsaidheekonda7976 8 ปีที่แล้ว

    thank u sir. now all my concepts regarding 'how to use bluetooth module' are clear.

  • @lohitmadiwal9608
    @lohitmadiwal9608 8 ปีที่แล้ว

    Thank you Mr.Saravanan for uploading this video. It helped me a lot.

  • @Reburned32
    @Reburned32 8 ปีที่แล้ว

    Thank you, Saravanan, finally I found video I've been looking for. And I believe out there are many people who bought BT modules at banggood and struggling to get them work or to manage to configure.Thank you for sharing your knowledge and helping us.

  • @PIXscotland
    @PIXscotland 8 ปีที่แล้ว

    Thanks for that command sequence.
    I used this to get my test link up and running.
    I'm currently testing my link by remote-echoing blocks of pseudo-random data and monitoring the STATE logic.
    Once the test link proves stable I'm implement my data link.

  • @candicardo6647
    @candicardo6647 6 ปีที่แล้ว

    Took the mystery out of communication with two bluetooths. Thanks.

  • @Gaber820
    @Gaber820 4 ปีที่แล้ว

    Great music and great instructions... i had no issues. Thank you.

  • @bhaaratsingh9088
    @bhaaratsingh9088 8 ปีที่แล้ว +1

    Nice video, Thank you Mr. Saravanan.

  • @michaelhead8668
    @michaelhead8668 8 ปีที่แล้ว +7

    Daaaammmnnn thats some groovy background music. Thanks for the help

    • @zekioofficial
      @zekioofficial 7 ปีที่แล้ว +1

      Michael Head ,Who plays music in the back.

  • @infopackrat
    @infopackrat 7 ปีที่แล้ว

    That was a very clear explanation! Keep it up. I just subscribed.

  • @steveclauter6802
    @steveclauter6802 9 ปีที่แล้ว

    Thank you. This makes sense to me now!

  • @carlog.cecchetti1212
    @carlog.cecchetti1212 9 ปีที่แล้ว +2

    Hi, is it possible to have more than one slave BT with the same master?
    Thanks!!!

  • @Pranav2811991
    @Pranav2811991 7 ปีที่แล้ว

    Great work!
    Can you tell me how many devices can it detect at once ?

  • @ketankeskar3045
    @ketankeskar3045 7 ปีที่แล้ว

    Thank you so much! Very helpful

  • @dennisdegraaf7353
    @dennisdegraaf7353 7 ปีที่แล้ว

    This is what you call: A good explaination!

  • @user-lj8ii3to4q
    @user-lj8ii3to4q 6 ปีที่แล้ว

    can bluetooth earphone paired with bluetooth HC05 or 06 thanks for answering. i need to know if it is possible

  • @lalitkaushik1991
    @lalitkaushik1991 9 ปีที่แล้ว

    thanks a lot Sir.....
    i working hard to get into the configuration mode for some days.....you made it simple for me......
    i have a question also: How many slaves can be added to a master bluetooth?

  • @Qriotek
    @Qriotek 8 ปีที่แล้ว

    Hi Saravanan, Could you please guide me on how to connect HC 05 with an iPhone? is there any specific mode that I need to set for detecting this from an iPhone?

  • @engineerslab1440
    @engineerslab1440 5 ปีที่แล้ว

    Thank you so much sir for suppor

  • @smartavatar95
    @smartavatar95 7 ปีที่แล้ว

    hi MR SARAVANAN thanks for the video .I followed all your instructions and my bluetooth went into config mode (slow blinking) but after opening the ide I am getting no response (JUST BLANK)from the serial monitor when i type the AT commands and i am using the same module which you are using in this video

  • @sanubhattacharya7695
    @sanubhattacharya7695 7 ปีที่แล้ว

    could i use another uno to connect the master rather than the usb module?

  • @dalmatino04
    @dalmatino04 8 ปีที่แล้ว

    Hi! Do you know why I don't have Standard Serial over Bluetooth Link COM port when I want connect to my bluetooth module? My PC pair with module, but can't see COM port? Maybe I need initialize the module with some AT commands?

  • @hamzehhoussein495
    @hamzehhoussein495 8 ปีที่แล้ว

    I am using Xbee pro and Xbee pro sheild to send informations from the first card uno to the seconde card uno so i can print the information on a LCD but i having a lot of problems with the configurations so do you think that is possible if i use Hc 05 ??? by a master and a slave modules ?

  • @JohnDoe-km9cx
    @JohnDoe-km9cx 7 ปีที่แล้ว

    +Saravanan AL Have you tested HC-05 with batteries or 9v battery only (which is without using power from PC) ?

  • @Footballtricks100
    @Footballtricks100 4 ปีที่แล้ว

    i like where this video is going so far. i will update you if it works. love to my Indian people.

  • @xploreonwheel
    @xploreonwheel 6 ปีที่แล้ว

    Hi i am working on bluetooth intercom is it possible to pair both device without audrino

  • @shittlekabir9717
    @shittlekabir9717 9 ปีที่แล้ว

    thank you for posting this video, it was very insightful for a project i am working on. can you please tell me how many slaves can be connected to a master hc05?

  • @lykenth08
    @lykenth08 8 ปีที่แล้ว

    Hi, my HC05 can not be seen by any other devices - when i enter some of the AT commands useing Arduino programm and FTDI basic UART, some commands give me an OK but thats about it, i can not change them like slave to master, its Cmode ect.. the LED just flashes every one second and thats it. can you give me any advice?

  • @marsanishadraa
    @marsanishadraa 2 ปีที่แล้ว

    Can i use arduino nano for this project? or it just can work if i use arduino uno?

  • @arduinolover5915
    @arduinolover5915 6 ปีที่แล้ว

    Very good man

  • @carlocecchetti3837
    @carlocecchetti3837 9 ปีที่แล้ว

    Hi Is it possible to have more than one BT slave with the same BT master? Thanks

  • @akilaby8290
    @akilaby8290 7 ปีที่แล้ว

    Hello I need help with my project, my question is can we connect bluetooth module with BASYS2 and send data via bluetooth module?

  • @dalewhitmore143
    @dalewhitmore143 8 ปีที่แล้ว

    hi.
    can this now be used to do what?
    upload sketch wireless??
    we all need that one.

  • @onurolce
    @onurolce 9 ปีที่แล้ว +1

    Nice video, thanks !
    I've a question. I'm trying to make a call via mobile to another number when I've got some sensor value is high in Arduino's analog port. So my mobile has bluetooth chip, and I can make call with that HC05 too, but I'm confused that which registers on HC05 MUST be setup ? ROLE, CMOD? and should I make INIT after than those settings ? Can you make a video about that project too ? or can you make a list which registers MUST I setup on HC05 ?
    Thanks!...

    • @SaravananAL
      @SaravananAL  9 ปีที่แล้ว +2

      When BT is set as Master (ROLE=1) it can initiate pairing with others.Slave cannot pair by itself.In case you initiate pairing from Android phone,it doesn't matter BT is ROLE 1 or 0.
      CMODE=1 enables BT to pair with any address.CMODD=0 allows pairing with bound address only.You've to issue AT+BIND command for this mode.
      INIT is to initiate SPP profile library for Bluetooth.
      But problem with pairing a phone & BT is , after power off the BT is not able to pair again automatically as done with 2 BTs. .

  • @ZulfiqarAadil
    @ZulfiqarAadil 8 ปีที่แล้ว

    After all settings please dont forget to set baudrate at 9600 by help of this command AT+UART=9600,0,0,
    otherwise the baud rate was set as default on 38400

  • @MrCenat-oq7jj
    @MrCenat-oq7jj 7 ปีที่แล้ว

    where can i get the 7pin bluetooth module?

  • @RaviJha01
    @RaviJha01 9 ปีที่แล้ว

    what is the At command to change the name HC05 with user specified name???

  • @jaxim1
    @jaxim1 7 ปีที่แล้ว

    sir thanks it works really,,, please tell me that how i can send files from master to slave

  • @Sp3ctroMusic
    @Sp3ctroMusic 7 ปีที่แล้ว

    sir where did i can by the bluetooth module HC-05 USB-TT? can u send me any link,please?

  • @piyushcharpe625
    @piyushcharpe625 7 ปีที่แล้ว

    sir ,
    i paired the bt modules succesfully but the garbage is comming on slave side when i sent the data from master side i checked the baud rate of both the modules.........i m not getting what exactly the problem is.
    can you please suggest something.

  • @dalewhitmore143
    @dalewhitmore143 8 ปีที่แล้ว

    Can these be bought pre paired? master and slave?

  • @col000r
    @col000r 8 ปีที่แล้ว

    Can I pair more than 2? Can I have 1 master with multiple slaves? (I'm looking for a way to have one arduino nano control -or at least talk to- 5 other arduino nanos wirelessly.)

  • @prateekgoyal701
    @prateekgoyal701 8 ปีที่แล้ว

    Why are we doing not doing cross connections for slave module ?

  • @johndavid8349
    @johndavid8349 7 ปีที่แล้ว

    I need to know how to connect more than one slave device to master device forming a piconet

  • @pravinpadale8787
    @pravinpadale8787 9 ปีที่แล้ว

    Saravanan Ji, Can I directly pair with laptop and push my sketches? Please guide and let me know how to do that. a small tutorial will help a lot..

  • @chenamee9584
    @chenamee9584 8 ปีที่แล้ว

    in my hc-05 i found those 6 pins: STATE ,RX, TX,GND,+5V ,EN.so i want to know how to connect to arduino uno?

  • @hamzajasnak4221
    @hamzajasnak4221 9 ปีที่แล้ว

    nic video
    i am trying to pair my andorid phone with BT module can please give information how can i do it

  • @satvindersingh3544
    @satvindersingh3544 4 ปีที่แล้ว

    Very nice details ji. Dear sir I'm using all same details in HC-05 BT but BT not reply please help dear sir

  • @fairuzhashim5604
    @fairuzhashim5604 7 ปีที่แล้ว

    sir, can I connect a bluetooth headset with an arduino bluetooth module. is it possible?

  • @maheshpadmanabh6564
    @maheshpadmanabh6564 8 ปีที่แล้ว

    Hello Sir, how to send serial data from one HC-05 to another? Does it automatically send data after being paired? Or do we have to use any other AT command? I am stuck with my final year project and I really need help.
    Thanks in advance

    • @luckyx360
      @luckyx360 8 ปีที่แล้ว

      +Mahesh Padmanabh just serailly send data it will receive it if doesn't work try disconnecting either one of hc-05 modules and connect them again

  • @FrankLopezx
    @FrankLopezx 8 ปีที่แล้ว

    hi there, i paired up 2 hc05 master "1" and slave "0" doing this
    AT commands
    //SLAVE = 98d3:31:2093cb AT+ROLE=0
    //MASTER= 98d3:32:204d2a AT+ROLE=1
    //AT+BIND=98d3,31,2093cb
    //AT+BIND=98d3,32,204d2a
    The end im left with paired modules that can talk to one another now i set this in AT+UART=9600.0.0 or 38400,0,0 im not sure now but it worked out fine now in the sketch i was doing all this in terminal obvsly using the terminal baud rate which was
    as follow
    include SoftwareSerial.h
    SoftwareSerial mySerial(10, 11); RX, TX
    void setup
    { Serial.begin(38400);
    pinMode(9, OUTPUT);
    digitalWrite(9, HIGH);
    Serial.println("Enter AT commands:");
    mySerial.begin(38400);
    }
    so my problem is that when i try to take the 2 talking modules to use in another project im not sure but they dont communicate no more "after uploading new sketch" am i suppose to use the same baud rate as in the sketch (38400); or should i be using the baud that i set this 2 up to begin with when i did the whole AT+UART=9600.0.0 or 38400,0,0 ???
    i was assuming what i have now when they were talking was a wireless RS232/terminal right? if so then all i have to do is make sure in the loop of what ever other program i go to use this modules on that they talk to that SoftwareSerial mySerial or something like this
    void loop()
    {
    if (mySerial.available())
    mySerial.write("Variable or Array here");

  • @anant9833
    @anant9833 6 ปีที่แล้ว

    Sir help me please while i am pair my device with bluetooth a message is displaying that can't communicate with My module...what to do?... Help please

  • @alexandr_84
    @alexandr_84 6 ปีที่แล้ว

    Подскажите, пожалуйста.
    Можно както запаралелить два модуля блютуз?

  • @Delorean29
    @Delorean29 4 ปีที่แล้ว

    Can Arduio bluetooth find bluetooth speaker?

  • @mounicarani2519
    @mounicarani2519 6 ปีที่แล้ว

    What is the meaning of HC in the Bluetooth module HC-05?

  • @GiangNguyen-uc3gz
    @GiangNguyen-uc3gz 9 ปีที่แล้ว

    I am trying to set up Bluetooth communication between android device with STM 32 to control LEDs that I do not know what to do in the android device. I know the current exchange files between android phone which also controls the LEDs in STM32 I do not know. Who can help me or anything or share documents for me? Thanks!

  • @arminjoyevangelista1835
    @arminjoyevangelista1835 7 ปีที่แล้ว

    can two bluetooth auto pair ?

  • @MsSimmy19
    @MsSimmy19 8 ปีที่แล้ว

    how come when i enter AT+INIT it will go out to its AT command

  • @anmolsingh4935
    @anmolsingh4935 8 ปีที่แล้ว +1

    Can the master communicate with more then one slave simultaneously?
    Can the master communicate with two or more slaves in the piconet at the same time?

  • @SimplifyTrader
    @SimplifyTrader 8 ปีที่แล้ว

    hello sir i want to connect 8051 to bluetooth how to do it sir

  • @cyklop1977
    @cyklop1977 8 ปีที่แล้ว

    thx

  • @shubhamdhiman7516
    @shubhamdhiman7516 7 ปีที่แล้ว

    sir can u help me how to pair hc-06 bluetooth modules.sir please please help mee...

  • @Useryskk9079
    @Useryskk9079 8 ปีที่แล้ว

    cant we pair two hc-06 modules

  • @praveentvm8346
    @praveentvm8346 5 ปีที่แล้ว

    Can I command connect with android phone??

  • @dope_07
    @dope_07 5 ปีที่แล้ว

    I am getting error in every command likr error,error,etc.so how to remove these errors.

  • @monishmathew5578
    @monishmathew5578 5 ปีที่แล้ว

    sir im not able to connect my mobile with module.....in my mobile its not visible....pls fix this prblm???

  • @praveenputhantharayil2819
    @praveenputhantharayil2819 4 ปีที่แล้ว

    I cant get ok AT+INIT... why??

  • @andrewmancini46
    @andrewmancini46 6 ปีที่แล้ว

    Why is it TX->TX and RX->RX. Every other tutorial mentions the opposite.

  • @NaifAlqahtani
    @NaifAlqahtani 9 ปีที่แล้ว +3

    Hello saravana
    on my HC-05
    I have :
    STATE
    RXD
    TXD
    GND
    VCC
    EN
    i dont have "KEY"
    please reply
    thank you

    • @dayanamarythomas8804
      @dayanamarythomas8804 8 ปีที่แล้ว

      mwnllt
      Press and hold the switch found on the bottom right of the module while connecting VCC to 5V DC and it should enter the AT command mode indicated by the 2 second interval blink of the LED.

    • @NaifAlqahtani
      @NaifAlqahtani 8 ปีที่แล้ว

      Thanks it worked for me by directly soldering a wire that goes through pin 33.
      Thanks any way

    • @2211AKMA
      @2211AKMA 8 ปีที่แล้ว

      +TheThoughtfulGuy what wire? EN or STATE?

    • @NaifAlqahtani
      @NaifAlqahtani 8 ปีที่แล้ว

      EN i think it was a long time ago! but i check the datasheet for my hc04 and found were it is, i am almost sure its EN but check just in case

    • @2211AKMA
      @2211AKMA 8 ปีที่แล้ว

      sorry sir , im stuck now , when i connect my bluetooth to arduino after upload the empty code , then i open serial monitor, i write AT ,but nothing display , can you suggest me something what i should do?

  • @pyrecis
    @pyrecis 9 ปีที่แล้ว

    THE LED ON MY MODULE blinks really fast.i dont know what to do

  • @reeseyme9613
    @reeseyme9613 8 ปีที่แล้ว

    if the idea is to use the UNO's onboard USB to Serial chip as a USB to Serial UART TTL to communicate between the PC and HC-06, you can also simply pull the RESET pin to GND which will temporary disable the ATMEGA chip OR removing the ATMEGA328 chip (this will be more troublesome) without uploading a dummy sketch.

  • @mr.electronichubb9948
    @mr.electronichubb9948 8 ปีที่แล้ว

    PLEASE TELL ME HOW TO WRITE CODE

  • @hamod59
    @hamod59 9 ปีที่แล้ว

    Hi Saravana,
    I have connected my hc-05 to pins GND >> GND, VCC >> 3v, Key >> 3v, TXD >> RXD, and RXD >> TXD. Then I powered it up but I still see the LED blinking fast, which mean it is still not in the configuration mode. I am not sure how I can fix this issue, I'D appreciate your help

    • @SaravananAL
      @SaravananAL  9 ปีที่แล้ว

      Connect Vcc to 5v .The HC05 (if you're using a module as shown in video) has got onboard 3v3 regulator.If Vcc is provided only 3v , it may not function properly.Also note that the wakeup key pin to be connected to 3v3 first & then finally provide Vcc.Now the module will enter AT mode at baud 38400.

    • @hamod59
      @hamod59 9 ปีที่แล้ว

      Saravanan AL
      Thank you for your response!
      My bluetooth module is identical to yours, but the only difference is that mine has (EN) pin instead of the (wakeup) pin. I did connect the vcc to 5v, but still having no luck to switch it to the AT command mode. The LED still blinking fast! I do not know what the problem is so please if you know what could be possible the issue, let me know.
      Thanks,

    • @SaravananAL
      @SaravananAL  9 ปีที่แล้ว +3

      medo al I doubt the EN connection of your breakout board.The only way to confirm is to cut open the plastic sleeve of the module & solder a wire at PIN34 (Key or EN pin) .Connect this wire to 3.3v .Now the module should enter AT mode.
      To check out the location of pin34 on HC05 VISIT :
      wiki.pinguino.cc/index.php/SPP_Bluetooth_Modules

    • @hamod59
      @hamod59 9 ปีที่แล้ว

      Thank you Mr Saravanan This help me manage the HC-05 to be in the AT MODE however now when I enter AT to the serial terimnal I receive ϧ†… this message?? any Idea why it is acting like that?

    • @danielpspersonal
      @danielpspersonal 9 ปีที่แล้ว

      Saravanan AL Thta solved for me. My board has printed EN instead of KEY, so I soldered directly to pin 34 and I could enter in AT mode. thank you.

  • @praveenputhantharayil2819
    @praveenputhantharayil2819 4 ปีที่แล้ว

    ANY CHANGE NEW EDITION ARDUINO UNO

  • @vishnuu9360
    @vishnuu9360 5 ปีที่แล้ว

    Master module don't respond...if AT is entered it goes to next line

  • @MechInvent
    @MechInvent 9 ปีที่แล้ว +1

    Did you record this video in a tattoo shop...?

  • @praveenputhantharayil2819
    @praveenputhantharayil2819 4 ปีที่แล้ว

    Sir I cant get AT +PSWD=1234

  • @GPaCrewify
    @GPaCrewify 6 ปีที่แล้ว

    Jesus, just flipped to the next video by accident and you damn near blew my speakers. NOT COOOOL.

  • @battinasarathcharan2708
    @battinasarathcharan2708 5 ปีที่แล้ว

    help sir plzzz

  • @TateDK
    @TateDK 5 ปีที่แล้ว

    Crap music but good video tips

  • @dalmatino04
    @dalmatino04 8 ปีที่แล้ว

    Hi! I communicate with my HM11 module over USB to UART module, but when I connect it to my microcontroller I can't read data from it (I try to send just stream of '1'). What settings/commands should I do for bluetooth communication with my PC? Currently my PC recognized my HM11 module, but I do not see any COM port (bluetooth com port) for serial communication.