Рет қаралды 246,863
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.