Skip to content
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 …