Grove - Serial Bluetooth v3.0

Introduction

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.

Specifications

  • 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

Tip

More details about Grove modules please refer to Grove System

Demonstration

Two Bluethooth modules work as shown below:

Hardware Installation

Download Code and Upload

  1. You can download the code in github, click here,then extract it to libraries folder of Arduino.
  2. Open Arduino IDE, open File -> Examples -> Bluetooth_Shield_V2_Demo_Code -> Master_Button, then you open the code of Master,modify the code as follows:

  1. Open Arduino IDE, open File -> Examples -> Bluetooth_Shield_V2_Demo_Code -> Slave_led, then you open the code of Slave and modify the code as well like above.
  2. Save the modification and click Upload to Upload the code, if you have any problem about how to start Arduino, please click here for some help.

Check The Result

  1. After finish Uploading the code to both Master and Slave, reset the two devices meanwhile
  2. You can see the led blink, indicate that devices was initializing and connecting.
  3. After about servel seconds, led on, indicate that Master and Slave had connected.

Note

If the phenomenon is not observed above, try unplugging the power and re-plug in again.

Reference

Commands to change default configuration

1. Set working MODE

Command Description
AT+ROLES Set device working mode as client (slave).
AT+ROLEM Set device working mode as server (master).

2.Set BAUDRATE

AT+BAUD6 Set baudrate 38400. Save and Rest.
Supported baudrate: 4--9600, 5--19200,6--38400,7--57600,8--115200,9--230400,A--460800.

3. Set Device NAME

Command Description
AT+NMAEabcdefg Set device name as “abcdefg”.Max length is 12.

4. Set PINCODE

Command Description
AT+PIN2222 Set pincode “2222”,Max length is 12.

5.Restore all setup value to factory setup

Command Description
AT+DEFAULT Restore all setup value to factory setup

6. Query module address

Command Description
AT+ADDR Query module address

7. Query Last Connected Device Address

Command Description
AT+RADD Query module address

Resources

Help us make it better

Thank you for choosing Seeed. A couple of months ago we initiated a project to improve our documentation system. What you are looking at now is the first edition of the new documentation system. Comparing to the old one, here is the progresses that we made:

  • Replaced the old documentation system with a new one that was developed from Mkdocs, a more widely used and cooler tool to develop documentation system.
  • Integrated the documentation system with our official website, now you can go to Bazaar and other section like Forum and Community more conveniently.
  • Reviewed and rewrote documents for hundreds of products for the system’s first edition, and will continue migrate documents from old wiki to the new one.

An easy-to-use instruction is as important as the product itself. We are expecting this new system will improve your experience when using Seeed’s products. However since this is the first edition, there are still many things need to improve, if you have any suggestions or findings, you are most welcome to submit the amended version as our contributor or give us suggestions in the survey below, Please don’t forget to leave your email address so that we can reply.

Happy hacking