User's Manual

Table Of Contents
User Manual of HC-02 V1.1 Bluetooth Serial Port Communication Module Gathering information and Carrying Dreams
Website: http://www.hc01.com
Guangzhou Huicheng Information Technology Co., Ltd.
14
Sales hot line: 020-8408-3341
Address: Room 608, No.19, Jiangong Road, Tianhe Software Park, Tianhe District, Guangzhou City, Guangdong Province Technical customer service: 445253184
5.3.3 Modify Bluetooth name
Command
Response
Remark
AT+NAMEname
OKsetname
Parameter name: The current name to be set is the one searched by Bluetooth, not
more than 16 characters.
Example:
Transmit: AT+NAMEbill_gates
Return: OKsetname
The Bluetooth name is modified as bill_gates
The parameters can be saved by power-down and only need to be modified once, and the name cannot exceed 16
digits or visible characters.
5.3.4 Modify Bluetooth PIN code
Command
Response
Remark
AT+PINxxxx
OKsetPIN
The default pairing password of the module is 1234. Parameters can be saved by
power-down and only need to be modified once.
Parameter xxxx: It is PIN code to be set, 4 digits. When the adapter or mobile phone is connected to the Bluetooth
slave and the window asking for a pairing password pops up, you can manually enter this parameter to connect to
the slave. If the PIN code is correct after the Bluetooth module master searches for the slave, it will automatically
pair.
Example:
Transmit: AT+PIN8888
Return: OKsetPIN
The default PIN code of the module is 1234. Parameters can be saved by power-down and only need to be
modified once.
5.3.5 Acquire AT command version command
Command
Response
AT+VERSION
www.hc01.comV1.1
20171130
5.3.6 LED on/off command
Command
Response
Remark
AT+LED0
AT+LED1
LED OFF
LED ON
AT+LED0 OFF
AT+LED1 ON
Note:
The LED on/off command is only valid for the LED inside the module and will not affect the LED outside the
module pin16 or pin23 (new hardware) !
5.3.7 Modify Bluetooth address command