- 1 -
Catalog 1. Description...- 3-2. Features...- 3-3. Application...- 3-4. Block Diagram...- 3-5. Electrical Characteristics... - 4-6. Operation... - 4-1) Power on Reset...- 4-2) Setting Mode... - 5-3) Beacon Mode(Ibeacon and Altbeacon)...- 6-4) Transparent Mode... - 7-5) Sleep Mode... - 7-7. Pin Definition...- 7-8. Application Circuit...- 8-9. Mechanical Dimension... - 8 - Note: Revision History Version Date Revise Content V1.0 2017-02 First release V1.1 2017-06 Logo updated - 2 -
1. Description is the latest 2.4GHz wireless transceiver module which is compatible with Ble4.0. This module integrates the MCU and process the SPI protocol. It provides generic UART interface, users can connect the module with smart phone with Bl4.0. This module has the same structure of ble4.0, and works as Broadcast mode of Bluetooth. It is easier and cost-effective compare with Bluetooth. 2. Features Communicate by the Bluetooth broadcasting mode and scanning mode. Serial transparent transmission, adjustable parameters 1M bps on-air data rate Output power up to +3 dbm Embedded and small size Low power consumption and cost-effective 3. Application Wireless keyboard Wireless health sports products Commodity information push Wireless remote sensing Alarm security system Wireless ranging system 4. Block Diagram - 3 -
5. Electrical Characteristics Note: High quality 3.3V LDO is integrated. Pin CS/SET/TXD/RXD is 3.3V interface. Parameters Min. Typ. Max. Unit condition Working condition Voltage range 2.8 5.0 6.5 V Operating Temperature -40 25 +85 Current consumption Rx current 20 ma Tx current 19 ma Sleep current 11 ua RF parameters Frequency range 2.4-2.484 GHZ Serial baud rate 1200 9600 115200 bps Tx power -18 - +3 dbm configurable 6. Operation This module has indicator for transmission and receiving, when transmitting, the Red LED will blink; when one packet is received, the Blue LED will blink once. Both red and blue LED will light on in setting mode. It has several working modes: setting mode, Beacon mode, transparent transmission mode and sleeping mode. According to Beacon s different protocol, it consists of Ibeacon and Altbeacon. Ibeacon is for iphone ; Altbeacon is for Android. The modes switching method is as following: Pull low the SET pin into setting mode; Send serial command 42 43 53 4d 00 to enter Ibeacon mode; Or send serial command 42 43 53 4d 01 to enter Altbeacon mode; Or send serial command 42 43 53 4d 02 to enter transparent mode; In setting mode, send serial command 42 43 52 4D to check current working mode. Pull high the SET pin to exit setting mode; 1) Power on Reset After power on reset, the TX LED (Red) and RX LED (Blue) will blink 1 time, the total reset time is - 4 -
around 2s. 2) Setting Mode When CS pin is pulled high, Pull low the SET pin to enter the setting mode; Pull high to exit; In setting mode, all configuration commands work. Serial baud rate is 9600 8 N 1. In working mode, the serial baud rate can be customized by the user, the default setting is 9600 8 N 1. Command as below: Setting Command Data packet 42 43 50 33 56 51 3c 89 b4 4c 39 b6 d3 57 2a 5c b5 66 d0 00 01 00 02 C5 Working mode Ibeacon: 42 43 53 4d 00 Altbeacon: 42 43 53 4d 01 Transparent mode: 42 43 53 4d 02 UUID: 33 56 51 3c 89 b4 4c 39 b6 d3 57 2a 5c b5 66 d0 Major id: 00 01 Minor id: 00 02 Reference Power: C5 Default: Transparent mode The maximum payload length for one packet is 28 byte Read mode working Broadcasting time interval 42 43 52 4D 42 43 53 49 interval_h interval_l For example, if Interval is 100ms, the command will be 42 43 53 49 00 64 Tx power 42 43 53 50 tx power ; 0:42 43 53 50 00 1:42 43 53 50 01 2:42 43 53 50 02 3:42 43 53 50 03 4:42 43 53 50 04 5:42 43 53 50 05 6:42 43 53 50 06 7:42 43 53 50 07 tx_power:0~7 0x00 = -18 dbm 0x01 = -15 dbm 0x02 = -12 dbm 0x03 = -9 dbm 0x04 = -6 dbm 0x05 = -3 dbm 0x06 = 0 dbm 0x07 = +3 dbm Reading version Setting device IP Recover to default setting Setting serial parameters 42 43 AA 0D 0A 42 43 53 41 id_h id_m id_l ; For example, if the IP is 0x010203, the command is 42 43 53 41 01 02 03 42 43 02 42 43 03 BAUDRATE DATA_BIT STOP_BIT CHECK_BIT For example: 42 43 03 09 02 01 01-5 -
Baud Rate Series baud rate is as below: Parameter 0 1 2 3 4 5 6 7 8 9 Rate(bps) 1200 2400 4800 9600 14400 19200 38400 57600 76800 115200 DATA_BIT Series data bit is as below: Parameter 1 2 3 Bit 7 bits 8 bits 9 bits STOP_BIT Series stop bit is as below: Parameter 1 2 Bit 1bit 2bits Parity BIT Series Parity bit is as below: Parameter 1 2 3 Parity bit No Odd Even 3) Beacon Mode(Ibeacon and Altbeacon) In this mode, commands as below: Function Command(hex) Note Start broadcasting Stop broadcasting Start scanning 42 43 41 4F 42 43 41 43 42 43 53 4F It will start scanning after this command and stop scanning until received Stop scanning 42 43 53 4F Sending this command to stop broadcasting In Beacon mode, the packet content can be transmitted, received and revised by commands. - 6 -
The step to send packet: 1) Setting packet a. Pull low the SET pin b. Send command:42 43 50 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 00 01 00 02 C5 c. Pull high the SET pin 2) Enable data broadcasting Send command: 42 43 41 4F Step to stop transmission: Send command: 42 43 41 43 Step to receiving packet: Send command: 42 43 53 4F Note: one receive command for one time reception, it will stop scanning until data received. 4) Transparent Mode In transparent mode, there is no need for manually control the data transmission and receiving. The data will be transmitted automatically when it is inputted to the UART and output automatically when wireless data received. The format in transparent mode: length (1byte)+ data(<28byte)+checksum(1byte) 5) Sleep Mode Pull high CS pin to enter into sleeping mode, pull low for working. 7. Pin Definition - 7 -
Pin NO. Pin name Description 1 VCC Connected to the positive power supply (typical 5V) 2 GND Connected to ground 3 TXD TXD of the module and connect to external RXD 4 RXD RXD of the module and connect to external TXD 5 SET 6 CS 7 NC 8 GND Connected to ground 9 GND Connected to ground 8. Application Circuit Configuration mode enable (low to enter into the setting mode, leave open or connect high level to exit setting mode) Valid when CS Pin is high or leave open. Module working Enable(Low level for sleep, current will be less than 40uA, default high level). 9. Mechanical Dimension - 8 -