Does HC-06 support master mode
The answer is: Yes ,if you buy from DSD TECH or ModuleForces
When a master HC-06 module is to be paired with a slave hc-06 module, note the following:
1, PIN is the same.For example, if the master module pin is 1234, then the pin of slave module must also be 1234
2, The master module will remember the paired slave module. If you want to pair the second slave module, make sure that the master module clears paired slave module.(give a hign level to PIN26 , master module will clear paired module)
It is important to note that when hc-06 is in the master mode, it can not specify which slave module to connect to. Only connect to the first slave HC-06 module it finds.
Yes, if you think this module is too simple, please select hc-05 module. You can also buy this HC-05 from amazon.( buy link from amazon.com)Data Sheet
Please click here to down full data sheet: hc-06 datasheet
About AT Command Soft
If you have a problem with AT commands, download the "DSD TECH Bluetooth Tools"Download URL as follows:
http://www.dsdtech-global.com/2017/11/dsd-tech-bluetooth-config-tool.html
Dear sir/madam,
回复删除I had just bought a DSD TECH HC-06 Bluetooth module from Amazon and have been trying to use it to program my Arduino Uno board.
I had successfully connected my Bluetooth module to my Windows 10 laptop, changed the baud rate in control panel from 9600 to 115200, and ran a successful BTconfig test.
Here is the wiring description (there is no resistor between any connection):
• Positive terminal from battery pack -> Arduino 3.3 V.
• Negative terminal from battery pack -> Arduino Power GND.
• Arduino 5V -> Bluetooth module Vcc.
• Arduino Power GND -> Bluetooth module GND.
• Bluetooth module RX - > Arduino digital PIN 1/TX.
• Bluetooth module TX - > Arduino digital PIN 0/RX.
• Arduino digital PIN 9 -> to LED positive terminal.
• Arduino digital GND -> to LED negative terminal.
Here is my Arduino program:
#include
#include //import necessary libraries: SoftwareSerial, Wire
SoftwareSerial I2CBT(0,1);//define PIN0 and PIN1 as RX and TX
// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin LED_BUILTIN as an output.
Serial.begin(9600); //set USB baudrate: 9600
I2CBT.begin(115200);
pinMode(9, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(9, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(9, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
I can't do seem to use the Bluetooth module to upload my Arduino program. I am using Arduino IDE software, I had selected COM7 (outgoing port).
When I upload my program the red light on the Bluetooth module stays on constantly which I think means that the Bluetooth module is able to read the signal. When uploading however I get this message:
avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "D:\Lab\arduino-1.8.11-windows\arduino-1.8.11\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM7
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x56
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x56
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x56
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x56
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x56
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x56
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x56
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x56
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x56
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x56
avrdude done. Thank you.
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
Can you please help me out and tell me what the problem is.
Kind regards
V2.
you say it can be a master. But how??
回复删除I can't seem to get your Bluetooth Tools to work with my B30 module. I'm using the HC-06 screen but I get no OK response back using AT and pressing enter. Thanks, Dave
回复删除