Grove Serial Bluetooth

Grove - Serial Bluetooth is an easy to use module compatible with the existing Grove Base Shield, and designed for transparent wireless serial connection setup. The serial port Bluetooth module is fully qualified Bluetooth V2.0+EDR(Enhanced Data Rate) 2Mbps Modulation with complete 2.4GHz radio transceiver and baseband. It uses CSR Bluecore 04-External single chip Bluetooth system with CMOS technology and with AFH(Adaptive Frequency Hopping Feature). It has the smallest footprint of 12.7mm x 27mm. Hope it will simplify your overall design/development cycle.



  • Operating Voltage: 5.0VDC

  • Data Rate: 2Mbps

  • RF Transmit Power (Max): +4dBm

  • Sensitivity: -80dBm

  • Fully Qualified Bluetooth V2.0+EDR 3Mbps Modulation

  • Selectable baud rate

  • Auto-reconnect in 30 min when disconnected as a result of beyond the range of connection


Install the library in the "Resources" section. If you want to run the project in Master mode, find the demo by the path: File - Examples - Bluetooth_demo_code - Master. And you can find the demo for Slave mode in the same path.

When the Grove - Serial Bluetooth module is in pairing status, the green and red LED links in interval. If connection succeeds, the green LED will blink every 2s. If connection fails, the red LED will blink every 0.5s.



Commands to change default configuration

1.Set working MODE


Set device working mode as client (slave). Save and Rest.


Set device working mode as server (master). Save and Rest.

Note: \r\n is necessary for operation and the value of are 0x0D 0x0A in Hex. \r and \n represent carriage-return and line-feed(or next line),



Set baudrate 115200. Save and Rest.

Supported baudrate:9600,19200,38400,57600,115200,230400,460800.

3.Set Device NAME


Set device name as “abcdefg”. Save and Rest.

4.Auto-connect the last paired device on power


Auto-connect forbidden. Save and Rest.


Permit Auto-connect. Save and Rest.

5.Permit Paired device to connect me


Forbidden. Save and Rest.


Permit. Save and Rest.



Set pincode “2222”, Save and Rest.

7.Delete PINCODE(input PINCODE by MCU)


Delete pincode. Save and Rest.

8.Read local ADDRESS CODE


Return address of the device.

9.Auto-reconnecting when master device is beyond the valid range (slave device will auto-reconnect in 30 min when it is beyond the valid range)


Forbid auto-reconnecting.


Permit auto-reconnecting.

Commands for Normal Operation:


a) Master


Stop Inquiring


Begin/Restart Inquiring

b) Slave


Disable been inquired


Enable been inquired

When +INQ=1 command is successful, the red and green LEDS blink alternatively.

2.Bluetooth module returns inquiring result


Serial Bluetooth device with the address “aa,bb,cc,dd,ee,ff” and the name “name” is inquired

3.Connect device


Connect to a device with address of "aa,bb,cc,dd,ee,ff”

4.Bluetooth module requests inputting PINCODE




Example: RTPIN=0000

Input PINCODE which is four zero

6.Disconnect device Pulling PIO0 high will disconnect current working Bluetooth device.

7.Return status \r\n+BTSTA:xx\r\n xx status:

  • 0 - Initializing

  • 1 - Ready

  • 2 - Inquiring

  • 3 - Connecting

  • 4 - Connected

(Note: This is not a command, but the information returned from the module after every command)


Last updated