HongKong Electronics HHW-SPP Bluetooth Module AT Commands The HHW-SPP Bluetooth module has 2 work modes: Commands response mode and auto connection mode. And in the auto connection mode, there are Master and Slave mode. When the module works in the auto connection mode, it will automatically connect the other Bluetooth devices with SPP protocols. When under the Commands response mode, it can carry out the AT commands in this data sheet, user can send all the AT commands to the module to configure it. By controlling the PIO11 of the module, use can set the working mode of the module. The Pins that module will use: 1. PIO8, connect to LED shows the working status of the Bluetooth module. After power up, it will flash, and the flash time is different under different status. 2. PIO9 connect to LED shows the success of the connection, after successfully pairing, it will light. 3. PIO11, control the module working mode, High=AT commands receiving mode(Commands response mode), Low or NC= Bluetooth module normally working. Set the module working under Master mode: 1. PIO11 set High 2. Power up the module and using the AT commands receiving mode 3. Use the Hyper Terminal software or other RS232 communication tools, set the baud rate at 38400, Data bit:8, Stop bit:1, No Parity and Flow control. 4. Send the AT+ROLE=1 r n, if success, it will return with OK r n, the r n is Enter 5. PIO11 set to low, and re-power up, now the module is working as Master, and automatically search the slave modules, and setup the connection. HongKong Electronics HongKong Electronics Command AT Commands instruction( r n means Enter) 1. Test Command Response Parameter AT OK None 2. Reboot Response Parameter Command OK None AT+RESET 4. Get the version of module Command Response Parameter AT+VERSION +VERSION:< Param > Param Version OK Example at+version r n +VERSION:1.0-20090818 OK 4. Restore to default: Command Response Parameter AT+ORGL OK None Default Equipment ID 0 Search code:0x009e8b33 Working roleSlave Mode Connection mode Specific Bluetooth module RS232 configuration Baud Rate38400bits/s or 9600bits/s Stop Bit 1ParityNone None Pair code1234 Device namHHW-SPP-1800-2 5. Get module Bluetooth address Parameter Command Response +ADDR: <Param > AT+ADDR Param Module address OK Bluetooth module address typeNAP: UAP : LAPHEX Example Bluetooth module address 123456ab:cd:ef HongKong Electronics