This section shows how to configure Bluetooth with PC, some basic methods of setting could be learn. Grove - Serial Bluetooth v3.0 Grove - Serial Bluetooth is an easy to use module compatible with the existing Grove Base Shield, and designed for transparent wireless serial connection setup. All rights reserved.


“AT+RESET” command to reset module.When “AT+INIT1” is setup, after module loaded, module will output “OK+INIT” string through UART.AT+MODE0: Only transfer data when connection establishment. 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. Hence, users have to write their own software library.The Bluetooth provides a serial port with standard Grove socket, most USB-UART converter can be used.

Grove - BLE (dual model) v1.0 uses CSR dual mode Bluetooth chip. As a Grove product it's convenient to use Grove - BLE with Arduino board via Base Shield. The data string from B device send to the module is also send to the A device.AT+DUAL0: allow two connections at same time (SPP and BLE).

Also PC can transfer data to iPhone with serial terminal.Are you ready to code? Prepare a pair of Bluetooth, and Arduino or other platform to control them. Then we can send data to PC through BLE, hit “Write new value” and write some words. Grove - BLE (dual model) v1.0 uses CSR dual mode Bluetooth chip. When A device (SPP mode) connect to the module and B device (BLE mode) is also connect to the module, The data string from A device send to the module will send to B device. © 2008-2020 Seeed Technology Co.,Ltd.

This command will take effect after module next power on or reset.

After this, send commands to restore factory settings, and change baud rate from 115200 to 9600 since software serial will not working well at high baud rate. Here we use a If module is not connected to remote device will receive: “OK”If Module has connected, module will disconnected from remote device, if “AT + NOTI” is setup to 1, will receive information stringAT+AUTH0: allow made an insecure connection.
Grove BLE v1 Grove - BLE v1 (Grove - Bluetooth Low Energy v1) uses a Low Energy Bluetooth module -- HM-11, based on TI CC2540 chip, which has AT command support. Hence, users have to write their own software library.We have used TD6810 chip as the voltage regulator, so the range of the supply power can be 3.3v to 5v. We only provide software library or code examples for Arduino platform in most cases. AT+AUTH1: every connection must with authentication.This command must work with AT+MODE0 command. An RTC (Real-Time Clock) module keeps track of the current year, month, day as well as the time, using a single lithium cell even though there is no power to the circuit. In high speed mode, module lost RESETB pin function, but you still could use Here are some samples of commands and responses.Test serial connection, send “AT”, will return “OK”.Restore factory settings, send “AT+RENEW”, return “OK+RENEW”.Reset baud rate of serial port, send “AT+BAUD2”, return “OK+Set:2”.Enable authentication, send “AT+AUTH1”, return “OK+Set:1”.Reset the Bluetooth, send “AT+RESET”, return ”OK+RESET”.Query firmware version, send “AT+VERS?”, return “OK+Get:HMSoftV217”.Query MAC of EDR, send “AT+ADDE?”, return “OK+Get:000E0E002074”.Query MAC of BLE, send “AT+ADDB?”, return “OK+Get:000E0B002074”.Set the name of EDR, send “AT+NAMEHM-13-EDR”, return “OK+Set:HM-13-EDR”.Set the name of BLE, send “AT+NAMEHM-13-BLE”, return “OK+Set:HM-13-BLE”.Set the password of EDR, send “AT+PINE123451”, return “OK+Set:123451”.Set the password of BLE, send “AT+PINB123451”, return “OK+Set:123451”.Enable discovery and connectable, send “AT+SCAN0”, return “OK+Set:0”.Enable notify information of connection, send “AT+NOTI1”, return “OK+Set:1”.Notify information include address, send “AT+NOTP1”, return “OK+Set:1”.Enable user key, send “AT+PIO01”, return “OK+Set:1”.Set to Central mode, send “AT+ROLB1”, return “AT+ROLB1”.Or Set to Peripheral mode, send “AT+ROLB0”, return “AT+ROLB0”.We use two Bluetooth connected with PC, one was set as Central while the other is Peripheral. It is not possible to provide software library / demo code for all possible MCU platforms. Search LightBlue in Apple Store and install it. The key “Hex” on the top right is for change data format, maybe String is easy to see. First of all we need to distinguish the presetting baud rate of the Bluetooth. Several seconds later they find each other and the LED stop flash, connected!This kind of Bluetooth module has two protocol: Bluetooth EDR(Enhanced Data Rate) and Bluetooth Low Energy. Touch it to connect, then touch “Properties” to control it. BLE V1.0-C Bluetooth module 2017/7/25. © 2008-2020 Seeed Technology Co.,Ltd. AT+MODE1: Transfer data and response AT commands.After AT+NOTI1, module will send connect or disconnect string through In high speed mode, we don’t control speed, so SPP mode will got high speed.

Hit “Listen for notifications” to enable data receiving. edit BLE (dual) Bee v1.0.

To assign the Bluetooth to Central role, Just need to modify the text to “#define MASTER 1”, or “#define MASTER 1” if Peripheral role was assigned.The initialisation program flow please refer to the following flow chart.

Also , there's a level shift circuit which make sure the accuracy of data transmission.Range: 0~8; 0--9600,1--19200,2--38400,3--57600,4--115200,5--4800,6--2400,7--1200,8--230400Ex.:Send :AT+BAUD1 ,Receive:OK+Set:1. An RTC (Real-Time Clock) module keeps track of the current year, month, day as well as the time, using a single lithium cell even though there is no power to the circuit. We use a iPhone to demonstrate how to use a cellphone to interact with Bluetooth.Power the Bluetooth and configure it as Peripheral role. Overview This module integrates Broadcom Bluetooth chip based on ARM® Cortex ™ -M3 core with CPU frequency up to 48MHz, UART support, high integration, low cost, low power consumption, superior Bluetooth performance, compatibility Better than …