V8 Fashion Wireless Bluetooth V4.0 Manual

edit

Bluetooth V4.0 HM-11 BLE Module

This is a SMD BLE module used in our BLE Bee and Xadow BLE. Information technology is based on TI CC2541 chip, enables robust network nodes to be built with depression full nib-of-fabric costs and highly suited for ultralow power consumption systems. The module is small and easy to use, with the preprogrammed firmware of manufacturer, you lot could chop-chop build BLE communications via its AT control. Supporting BLE communications with iphone, ipad and Android 4.3.

Features¶


  • Bluetooth protocol: Bluetooth Specification V4.0 BLE

  • Working frequency: 2.iv GHz ISM band

  • Interface mode: a serial port

  • Open environment inside thirty meters can realize advice between modules

  • To ship and receive no byte limit between modules

  • Modulation method: GFSK (Gaussian Frequency Shift Keying)

  • Transmission power: - DBM, 23-half-dozen DBM, 0 DBM, 6 DBM, can exist modified by the AT command

  • apply TI CC2541 scrap, configuration space of 256 KB, support the AT command, the user can according to demand to alter the role (master, slave fashion) and the serial port baud rate, name of equipment, matching parameters such equally passwords, utilize agile.

  • ability supply: + 3.3 VDC 50 mA

  • working temperature: - 5 ~ + 65 Centigrade

Specification¶


Specification Value
Microprocessor CC2541
Resources Support the AT control, the user can according to need to change the function (master, slave mode) and the serial port baud rate,name of equipment,Matching parameters such as password, the employ of flexible.
Outline Dimension 13.5mm x 18.5mm x 2.3mm
Ability supply iii.3V
Communication Protocol Uart(3.3V LVTTL)
IO counts 2
Primal input IO 1
LED Indicators IO one
Connectivity Socket uniform with XBee

Electrical Characteristics¶


Specification Min Typ Max Unit
Max Input Voltage -0.three 3.6 V
Working Input Voltage 2.0 3.3 3.half dozen V
Transmit Current 15 mA
Receive Current 8.v mA
Deep Sleep Current 600 uA
Operating Temperature -40 +65 °C

Pin definition¶


Pin Name Description
1 UART_RTS UART
2 UART_TX UART
3 UART_CTS UART
4 UART_RX UART
5 NC
half-dozen NC
vii NV
8 NV
9 VCC Power supply 3.3V
10 NC
11 RESETB Reset, active low at least in 5ms
12 GND GND
13 PIO3 IO port, used for connect to DHT11/DS18B20
14 PIO2 Digital input, output
15 PIO1 LED indicator
16 PIO0 Button pivot

AT commands & Configuration¶


**ane) Query the native MAC address ** Ship: AT+ADDR?

Ship after a successful return: OK+LADD: MAC address (address for 12 string)

**2) Query the baud rate ** Send: AT+BAUD?

Send later a successful return: OK+Get: [para1]

Telescopic of para1:0 ~ 8. The parameters corresponding lists equally below:

0 -------- 9600
one -------- 19200
2 -------- 38400
3 -------- 57600
4 -------- 115200
five -------- 4800
6 -------- 2400
7 -------- 1200
8 -------- 230400
Default: 0(9600)

**iii) Prepare the baud rate ** Transport: AT+BAUD[para1]

Send later on a successful render: OK+Set up:[para1]

Example: transport: AT + BAUD1, render: OK+Set: 2.The baud rate is fix to 19200.

Note: after the switch to the 1200, module will no longer support the configurations of the AT command, and press the PIO0 under standby, module tin can restore the factory Settings.Do not recommend using the baud rate.Afterward setting the baud rate, modules should exist on electricity, anew set parameters can take effect.

**4) from the device connected to the bluetooth address specified ** Send: AT+CON[para1]

Send after a successful return: OK+CONN[para2]

Para2 range is: A, E, F

Case: from the bluetooth address is: 0017EA0943AE, sending the AT+CON0017EA0943AE, module returns: OK+CONNA or OK+CONNF CONNE or OK.

**five) removal equipment matching information ** Send: AT+CLEAR

Send after a successful return: OK+CLEAR

Clear success had continued device accost code information.

**half-dozen) query module working mode ** Send: AT+MODE?

Send after a successful return: OK+Get: [para]

Para: the range of 0 ~ 2. 0 represents passthrough mode, on behalf of the PIO conquering + remote control + ane passthrough, ii representative passthrough + remote control mode.The default is 0.

**7) set module working mode: ** Ship: AT+MODE []

Transport afterwards a successful render: OK+Gear up: [para]

**viii) query device name ** Transport: AT+Proper noun?

Send afterward a successful render: OK+NAME [para1]

**nine) set the device name ** Send: AT+Name [para1]

Transport after a successful return: OK+Fix: [para1]

Instance: Ready the device name to Seeed, sending the AT + NAMESeeed, return OK + Set: Seeed AT this time, the name of the bluetooth module has been inverse to Seeed. Annotation: after the pedagogy execution, required to electricity, gear up the parameters of the approval.

**10) query matching countersign ** Send: AT+Laissez passer?

Send afterwards a successful return: OK+PASS: [para1]

Para1 range is 000000 ~ 999999, the default is 000000.

**11) pairing set password ** Transport the AT+PASS [para1]

Send later a successful render: OK+Set: [para1]

**12) restore manufacturing plant Settings ** The AT+RENEW send

Send afterward a successful return: OK+RENEW

Restore the default mill Settings module, the module Settings will exist reset then, back to the manufacturing plant with the condition of the factory default, delay module 500 ms after the restart.If no demand, please be careful.

**13) module reset ** Transport: AT+RESET

Send after a successful return: OK+RESET

Later the instruction execution module will delay 500 ms subsequently the restart.

**14) ready the master-slave manner ** Send: AT + ROLE [para1]

Send after a successful return: OK+Set up: [para1]

Example Code¶


//master

                                    /*   This example code is in the public domain.   */ #include <SoftwareSerial.h>  SoftwareSerial mySerial(2, 3); // RX, TX  void setup() {     // Open up series communications and wait for port to open up:     Series.brainstorm(9600);     while (!Series) {         ; // expect for serial port to connect. Needed for Leonardo only     }       Series.println("Goodnight moon!");      // set the data charge per unit for the SoftwareSerial port     mySerial.brainstorm(9600);     // gear up master     mySerial.print("AT+ROLE1");     delay(10000);   }  void loop() // run over and over {      // set the information rate for the SoftwareSerial port     mySerial.print("test I am principal  ");     delay(10000);     if (mySerial.available())     Serial.write(mySerial.read());     if (Serial.available())     mySerial.write(Serial.read()); }                                  
//slave
                                    /*   This example code is in the public domain.   */ #include <SoftwareSerial.h>  SoftwareSerial mySerial(two, 3); // RX, TX  void setup() {     // Open serial communications and wait for port to open:     Serial.brainstorm(9600);     while (!Serial) {         ; // wait for serial port to connect. Needed for Leonardo just     }       Serial.println("Goodnight moon!");      // set the data rate for the SoftwareSerial port     mySerial.brainstorm(9600);     // ready slave     mySerial.print("AT+ROLE0");     filibuster(10000);   }  void loop() // run over and over {      // set the data rate for the SoftwareSerial port     mySerial.print("test I am slave ");     delay(10000);     if (mySerial.available())     Serial.write(mySerial.read());     if (Series.bachelor())     mySerial.write(Serial.read()); }                                  

What is Grove-Serial Bluetooth¶

Serial Bluetooth is designed for transparent wireless serial connectedness setup.

Series port Bluetooth module is fully qualified Bluetooth V2.0+EDR(Enhanced Data Charge per unit) 3Mbps Modulation with complete 2.4GHz radio transceiver and baseband.

It uses CSR Bluecore 04-External single scrap Bluetooth organisation with CMOS technology and with AFH (Adaptive Frequency Hopping Feature).

IR Remote¶

This project uses Grove - Water Sensor to create a simple only effective solution to watering plants.

With this demo, nosotros can:

  • Integrate all the remote commands into one Android device

  • Talk between Seeeduino and the Android panel via Bluetooth.

  • Remote command via IR

I want to brand it.

More Awesome Projects by Bluetooth

Tech Support¶

Delight submit whatsoever technical issue into our forum.

0 Response to "V8 Fashion Wireless Bluetooth V4.0 Manual"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel