How to PAIR Bluetooth HC-05 Modules

  Переглядів 183,563

Saravanan AL

Saravanan AL

9 років тому

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 років тому
Thanks for the detailed tutorial Saravanan, have been scratching head for a while to make this work...
@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.
@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.
@lohitmadiwal9608
@lohitmadiwal9608 8 років тому
Thank you Mr.Saravanan for uploading this video. It helped me a lot.
@nikithsaidheekonda7976
@nikithsaidheekonda7976 8 років тому
thank u sir. now all my concepts regarding 'how to use bluetooth module' are clear.
@carlog.cecchetti1212
@carlog.cecchetti1212 8 років тому
Hi, is it possible to have more than one slave BT with the same master? Thanks!!!
@michaelhead8668
@michaelhead8668 7 років тому
Daaaammmnnn thats some groovy background music. Thanks for the help
@zekioofficial
@zekioofficial 7 років тому
Michael Head ,Who plays music in the back.
@bhaaratsingh9088
@bhaaratsingh9088 8 років тому
Nice video, Thank you Mr. Saravanan.
@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
@Pranav2811991
@Pranav2811991 7 років тому
Great work! Can you tell me how many devices can it detect at once ?
@candicardo6647
@candicardo6647 6 років тому
Took the mystery out of communication with two bluetooths. Thanks.
@sanubhattacharya7695
@sanubhattacharya7695 6 років тому
could i use another uno to connect the master rather than the usb module?
@xploreonwheel
@xploreonwheel 6 років тому
Hi i am working on bluetooth intercom is it possible to pair both device without audrino
@dalewhitmore143
@dalewhitmore143 8 років тому
hi. can this now be used to do what? upload sketch wireless?? we all need that one.
@infopackrat
@infopackrat 7 років тому
That was a very clear explanation! Keep it up. I just subscribed.
@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?
@marsanishadraa
@marsanishadraa 2 роки тому
Can i use arduino nano for this project? or it just can work if i use arduino uno?
@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
@Gaber820
@Gaber820 4 роки тому
Great music and great instructions... i had no issues. Thank you.
@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?
@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 ?
@carlocecchetti3837
@carlocecchetti3837 8 років тому
Hi Is it possible to have more than one BT slave with the same BT master? Thanks
@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?
@steveclauter6802
@steveclauter6802 9 років тому
Thank you. This makes sense to me now!
@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?
@dalewhitmore143
@dalewhitmore143 8 років тому
Can these be bought pre paired? master and slave?
@ketankeskar3045
@ketankeskar3045 7 років тому
Thank you so much! Very helpful
@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.
@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) ?
@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.)
@MrCenat-oq7jj
@MrCenat-oq7jj 7 років тому
where can i get the 7pin bluetooth module?
@prateekgoyal701
@prateekgoyal701 8 років тому
Why are we doing not doing cross connections for slave module ?
@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?
@fairuzhashim5604
@fairuzhashim5604 7 років тому
sir, can I connect a bluetooth headset with an arduino bluetooth module. is it possible?
@johndavid8349
@johndavid8349 7 років тому
I need to know how to connect more than one slave device to master device forming a piconet
@Sp3ctroMusic
@Sp3ctroMusic 7 років тому
sir where did i can by the bluetooth module HC-05 USB-TT? can u send me any link,please?
@onurolce
@onurolce 9 років тому
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 років тому
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. .
@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?
@alexandr_84
@alexandr_84 6 років тому
Подскажите, пожалуйста. Можно както запаралелить два модуля блютуз?
@RaviJha01
@RaviJha01 9 років тому
what is the At command to change the name HC05 with user specified name???
@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
@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?
@josephdelaporte3579
@josephdelaporte3579 8 років тому
Connect only 3.3v(+) ground(-) rx and tx ;)
@mounicarani2519
@mounicarani2519 6 років тому
What is the meaning of HC in the Bluetooth module HC-05?
@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");
@dennisdegraaf7353
@dennisdegraaf7353 7 років тому
This is what you call: A good explaination!
@anmolsingh4935
@anmolsingh4935 8 років тому
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?
@MsSimmy19
@MsSimmy19 8 років тому
how come when i enter AT+INIT it will go out to its AT command
@engineerslab1440
@engineerslab1440 5 років тому
Thank you so much sir for suppor
@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!
@Delorean29
@Delorean29 4 роки тому
Can Arduio bluetooth find bluetooth speaker?
@SimplifyTrader
@SimplifyTrader 8 років тому
hello sir i want to connect 8051 to bluetooth how to do it sir
@monishmathew5578
@monishmathew5578 5 років тому
sir im not able to connect my mobile with module.....in my mobile its not visible....pls fix this prblm???
@arminjoyevangelista1835
@arminjoyevangelista1835 7 років тому
can two bluetooth auto pair ?
@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
@shubhamdhiman7516
@shubhamdhiman7516 7 років тому
sir can u help me how to pair hc-06 bluetooth modules.sir please please help mee...
@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 років тому
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.
@praveentvm8346
@praveentvm8346 4 роки тому
Can I command connect with android phone??
@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
@saikalakrishnan9079
@saikalakrishnan9079 8 років тому
cant we pair two hc-06 modules
@dope_07
@dope_07 5 років тому
I am getting error in every command likr error,error,etc.so how to remove these errors.
@jaxim1
@jaxim1 7 років тому
sir thanks it works really,,, please tell me that how i can send files from master to slave
@arduinolover5915
@arduinolover5915 6 років тому
Very good man
@NaifAlqahtani
@NaifAlqahtani 9 років тому
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?
@Footballtricks100
@Footballtricks100 4 роки тому
i like where this video is going so far. i will update you if it works. love to my Indian people.
@praveenputhantharayil2819
@praveenputhantharayil2819 4 роки тому
I cant get ok AT+INIT... why??
@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
@mr.electronichubb9948
@mr.electronichubb9948 8 років тому
PLEASE TELL ME HOW TO WRITE CODE
@pyrecis
@pyrecis 9 років тому
THE LED ON MY MODULE blinks really fast.i dont know what to do
@andrewmancini46
@andrewmancini46 6 років тому
Why is it TX->TX and RX->RX. Every other tutorial mentions the opposite.
@vishnuu9360
@vishnuu9360 5 років тому
Master module don't respond...if AT is entered it goes to next line
@praveenputhantharayil2819
@praveenputhantharayil2819 4 роки тому
ANY CHANGE NEW EDITION ARDUINO UNO
@cyklop1977
@cyklop1977 8 років тому
thx
@praveenputhantharayil2819
@praveenputhantharayil2819 4 роки тому
Sir I cant get AT +PSWD=1234
@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.
@battinasarathcharan2708
@battinasarathcharan2708 5 років тому
help sir plzzz
@MechInvent
@MechInvent 9 років тому
Did you record this video in a tattoo shop...?
@GPaCrewify
@GPaCrewify 6 років тому
Jesus, just flipped to the next video by accident and you damn near blew my speakers. NOT COOOOL.
@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.
Bluetooth HC-05 Modules - How to PAIR & Transmit/Receive  DATA
18:32
Saravanan AL
Переглядів 114 тис.
skibidi toilet 73 (part 2)
04:15
DaFuq!?Boom!
Переглядів 31 млн
Уроки Arduino #7 - подключение светодиода
3:39
Заметки Ардуинщика
Переглядів 433 тис.
Arduino Bluetooth AT commands HC 05 HC 06
7:20
DIY GUY Chris
Переглядів 57 тис.
Bluetooth 2.0 VS Bluetooth 4.0 (BLE) || Is an Upgrade worth it?
7:54
GreatScott!
Переглядів 595 тис.
Is Adam Savage Still an Atheist?
8:16
Adam Savage’s Tested
Переглядів 259 тис.
How To configure HC-05 Blutooth Serial Device With TTL Device For Android board 🙏Repair
11:57
Configure HC05 in Master Slave mode in 6 min
5:51
techiesms
Переглядів 25 тис.
Where People Go When They Want to Hack You
34:40
CyberNews
Переглядів 68 тис.
HC 05 to HC 06  Automatically connect
3:28
Martyn Currey
Переглядів 38 тис.
💖Maryana💖
0:17
TikTok Compilation
Переглядів 2 млн
ОБУЧЕНИЕ ВОДИТЕЛЕЙ
0:18
В ТРЕНДЕ
Переглядів 12 млн
Выстрел солью! Миф или нет?
1:00
Оружейный Барон - Top Hunter -
Переглядів 1,7 млн
Арт. на #вайлдберриз  212548852 #бюджетныенаходки #обзор #распаковка #идеяподарка
0:26
РАСПАКОВКИ | ИДЕИ | БЮДЖЕТНЫЙ ШОППИНГ
Переглядів 4,2 млн
Купить куртку незнакомому мужчине!
0:43
Юлия Крылова - Тантра. Денежное мышление.
Переглядів 1,4 млн