Two working states of the module
HLK-B10 module has two working states: transmission mode and AT command mode.
In AT command mode, the command can be sent to the module through serial port to configure the parameters of the module and query the information of the module.
In transmission mode, the module will transmit the serial port data and Bluetooth connection data in two-way.
Starting module, the default is the transmission mode; there is no affect to the Bluetooth connection state when exit transmission mode into AT mode. The serial port-Bluetooth data transmission is paused, and the data received by the serial port is processed by the current AT instruction. After the transmission is restored, the data transmission will continue.
4.2. Function Keys and Status Indicators
4.2.1. State output pin
The 16th foot of the module P02 is output pin for state LED,When this pin is connected to the LED cathode, the current working status of the module can be displayed through the light and off status of the LED.
Function key input pin
Module 5 pin P 11 for function key input pin. that is ES/Del pin, a key can be connected between this pin and GND,The functions corresponding to different operation of the key are as follows:
Short press(50ms~1s)the module will exit transmission mode. ,switch to AT command mode;
Long press(More than 6s),release the button when the status LED starts flashing, the module will restore the default settings, and automatically restart.
Switching Between Transmission and AT Command Mode
4.3.1. From transmission mode to AT command mode
there are two ways to switch the transmission to AT command mode:
key mode:
Pull down the fifth pin 50ms~1s,The module immediately enters the AT command mode.
In transmission mode,the serial port receives special format data to automatically exit the
transmission:
When you are about to exit transmission mode, the serial port pauses the input 200ms to ensure that the data in the serial port is sent empty, and then enter "+++",After receiving the reply "a", enter "a" and pause 200ms to ensure that there is no subsequent data input to exit the transmission mode. Do not have any input before and after "+++"and "a", including"\ r\ n "to avoid fault operation.
Test board
Users can choose our special test board to quickly start testing and using the HLK-B10 module.
The test board is directly powered by USB, which is provided with a USB to serial port function. After the computer is connected
through a USB cable, the serial port of the module can be connected through a USB to serial port, and the serial port of the
module is not required to be additionally connected, so that the device is convenient to use.
Contact me please if you need the user manual of it .