same as the communication time, such as 9600 etc.
Way 2: Step 1: Connect PIN34 to the power supply PIN. Step 2: Supply power to
module (the PIN34 is also supplied with high level since the PIN34 is connected with
power supply PIN). Then the module will enter to AT module. But at this time, the baud
rate is 38400. In this way, user should change the baud rate at the AT mode, if they
forget the communication baud rate.
How to get to the communication mode: Step 1: Input low level to PIN34. Step 2:
Supply power to the module. Then the module will enter to communication mode. It can
be used for pairing.
2. How to set this module be the master role.
Step 1: Input high level to PIO11.
Step 2: Supply power to the module. And the module will enter to the order-response
work mode.
Step 3: Set the parameters of the super terminal or the other serial tools (baud rate:
38400, data bit:8, stop bit:1, no parity bit, no Flow Control)
Step 4: Sent the characters “AT+ROLE=1\r\n” through serial, then receive the
characters “OK\r\n”. Here, “\r\n” is the CRLF.
Step 5: Input low level to PIO, and supply power to the module again. Then this module
will become master role and search the other module (slave role) automatically to build
the connection.
3. Notes.
(1) HC-03 and HC-05’s command should end up with “\r\n”. It means when you finish
programming, you should add terminator (“ENTER” or “0x0d 0x0a”) to the program.
It’s different from HC-04 and HC-06 (They don’t need terminator).
(2) The most common commands for HC-03 and HC-05 are: AT+ROLE (set master
–slave), AT+CMODE( set address pairing) , AT+PSWD (set password).
If you want the master module has the function of remembering slave module, the most
Commenti su questo manuale