Minew Technologies Bluetooth 4.0 Module Instructions V1.0 Description The MS49SF2 Bluetooth 4.0 low energy module is a SMD package module basis Nordic nRF51822 chip, it is a smart module with cost-effective, ultra low power, true system-on-chip (SoC) for Bluetooth low energy applications. It enables robust BLE master or salve nodes to be built with very low total bill of material costs. The MS49SF2 smart BLE 4.0 module combines an excellent RF transceiver with an ultra low energy ARM Cortex0, in-system programmable 256KB flash memory and many powerful supporting features and peripherals. It is suitable for systems where ultra low power consumption is required. Features
- Bluetooth low energy technology compatible
- Excellent link budget (up to 97dB)
- Enable long range applications
- Accurate digital RSSI
- Compatible with CE and FCC regulation
- Ultra low energy ARM core chip
- Battery monitor and temperature sensor
- Samples application and profiles
- Full speed USB interface
- AES security coprocessor Application
- 2.4GHz Bluetooth low energy systems
- Mobile phone accessories
- Sports and leisure equipment
- Consumer electronics
- Human interface devices (keyboard, mouse, remote control and etc.)
- USB dongles
- Healthcare and medical Mechanical Footprint (Unit: mm) MS49SF2 TEL: +86-755-8886 8480 FAX: +86-755-2982 5342 EMAIL: sales@minewtech.com URL: wwwminewtech.com Page 1 Minew Technologies Pin Description Pin Symbol Definition Description VDD GND P0.01 P0.02 P0.03 P0.04 P0.08 P0.12 P0.15 Positive of power supply Negative of power supply Data / Command Sleeping / Waken Send the data to external MCU Receive the data from external MCU Connection status indication Command status indication Reset
---
---
CMD SLP BTX BRX LED1 LED2 RST Bluetooth 4.0 Module Instructions V1.0 Remark 1.8~3.6Vdc
---
Data=1, Command=0 Sleeping=1, Waken=0 MS49SF2s TX MS49SF2s RX Active Low Active Low Active Low Electronic Parameters Item Operation Voltage Operation Frequency Frequency Error Transmission Power Receiving Sensitivity Receiving Current Transmission Current Sleep consumption Transmission distance Antenna Dimension Test Data 1.8~3.6V 2400-2483.5MHz
+/- 20KHz
-30~+4dBm
-93dBm 13mA 16mA 7mA 0.4uA 50 meters 50ohm 16*12*2.0mm Typical Application Remarks DC Programmable
---
Adjustable
---
Standard mode
@+4dBm
@-8dBm Power mode 3, connection-less state BER<0.1%, Open space Null Null TEL: +86-755-8886 8480 FAX: +86-755-2982 5342 EMAIL: sales@minewtech.com URL: wwwminewtech.com Page 2 Minew Technologies Bluetooth 4.0 Module Instructions V1.0 Default Setting Role of Module: Slave; Module Name: Minew;
Baud Rate: 9600bps, 8N1; Broadcasting time: 1 Second;
Minimum circle of connection: 7.5mS; Maximum circle of connection: 60mS;
Transmission Power: 0dBm; Maximum disconnection time: Disable Command Format Format: Head (1 byte) + Data Length (1 byte) + Command code (1 byte) + Data Head: 0x88, it is a fixed value. Data Length: It doesnt include the length of head, data length and command code. Data: All the parameters value. When CMD is low, the BLE module works on the Command Mode and UART sends the command code. When CMD is high, the BLE module works on the Data Mode and UART sends transparent data. Moreover, when CMD and SLP are low, the command code will be available. 1. Set Module Name (Command code: 0x01) The maximum length of module name is 15 bytes. For example, lets change the module name to ABCD. Then, the correct command code is 88 [04] 01 [41 42 43 44]. 88: Head;
04: Data length, 4 bytes (ABCD);
01: Command code;
41 42 43 44: Data ABCD in hex;
If the setting is successful, the BLE module will send back the command code 88 04 01 41 42 43 44 to the MCU, and the LED2 will flash one time. Otherwise, the setting was failure. 2. Set Broadcasting Time (Command code: 0x02) The maximum broadcasting time is 1500mS, the minimum step is 100mS. 0x01: 100mS, 0x02: 200mS, 0x03: 300MS..0x0F: 1500mS. For example, lets change the broadcasting time to 1200mS. Then, the correct command code is 88 02 02 [0C] AA. If the setting is successful, the BLE module will send back the command code 88 02 02 0C AA, and the LED2 will flash one time. Otherwise, the setting was failure. TEL: +86-755-8886 8480 FAX: +86-755-2982 5342 EMAIL: sales@minewtech.com URL: wwwminewtech.com Page 3 Minew Technologies Bluetooth 4.0 Module Instructions V1.0 3. Set Disconnection Time (Command code: 0x03) The default disconnection time is disabled; the range is from 0 to 250 seconds. 0x01: 1 second, 0x02: 2 seconds, 0x03: 3 seconds...0x0A: 10 seconds0x1E: 30 seconds If it is disabled, the corresponding command code is 88 02 03 [00] AA. For example, lets change the disconnection time to 10 seconds. Then, the correct command code is 88 02 03 [0A] AA. If the setting is successful, the BLE module will send back the command code 88 02 03 0A AA, and the LED2 will flash one time. Otherwise, the setting was failure. 4. Set Transmission Power (Command code: 0x04) The default transmission power is 0dBm; the range is from -20dBm to +4dBm. Please refer to the below table. Transmission Power
+4dBm 0
-4dBm Value 0x01 0x02 0x03 Transmission Power
-8dBm
-12dBm
-20dBm Value 0x04 0x05 0x06 For example, lets change the transmission power to -8dBm. Then, the correct command code is 88 02 04 [04] AA. If the setting is successful, the BLE module will send back the command code 88 02 04 04 AA, and the LED2 will flash one time. Otherwise, the setting was failure. 5. Query Module Name (Command code: 0x11) Command Code: 88 04 11 AA AA. If the command is executed successful, the module will send back the command code 88 04 11 [41 42 43 44] and the LED2 will flash one time. Otherwise, the command was failure. 5. Query Broadcasting Time (Command code: 0x12) Command Code: 80 02 12 AA AA. If the command is executed successful, the module will send back the command code 88 02 12 [xx] AA and the TEL: +86-755-8886 8480 FAX: +86-755-2982 5342 EMAIL: sales@minewtech.com URL: wwwminewtech.com Page 4 Minew Technologies Bluetooth 4.0 Module Instructions V1.0 LED2 will flash one time. Otherwise, the command was failure. 6. Query Disconnection Time (Command code: 0x13) Command Code: 80 02 13 AA AA. If the command is executed successful, the module will send back the command code 88 02 13 [xx] AA and the LED2 will flash one time. Otherwise, the command was failure. 7. Query Transmission Power (Command code: 0x14) Command Code: 80 02 14 AA AA. If the command is executed successful, the module will send back the command code 88 02 14 [xx] AA and the LED2 will flash one time. Otherwise, the command was failure. 8. Query MAC Address which connected with BLE Module (Command code: 0x14) Command Code: 80 02 15 AA AA. If the command is executed successful, the module will send back the command code as following:
88 06 15 [xx xx xx xx xx xx ] AA, and the LED2 will flash one time. Otherwise, the command was failure. DEMO APP (Android version) 1. Please set the BLE module to Data Mode (CMD=1, SLP=0);
2. Then, run the nRF UART demo APP on the smart phone (Android 4.3+) like below image;
TEL: +86-755-8886 8480 FAX: +86-755-2982 5342 EMAIL: sales@minewtech.com URL: wwwminewtech.com Page 5 Minew Technologies 3. Click the Connect and select the BLE module Minew;
4. Then, we can send the data from smart phone to the BLE module;
5. You can also use the Serial Port Assistant to debug the BLE module. Bluetooth 4.0 Module Instructions V1.0 TEL: +86-755-8886 8480 FAX: +86-755-2982 5342 EMAIL: sales@minewtech.com URL: wwwminewtech.com Page 6 Bluetooth 4.0 Module Instructions V1.0 Minew Technologies
}
UartInit(); //UART Initial Send_String("minew"); //Send the characters Reference Source Code for the UART Module MS49SF2 void main (void)
{
MS49SF2Init() //Transparent Data Mode Initial while(1)
{
}
void MS49SF2Init(void)
{
unsigned char Set_Name[8]={0x88,0x05,0x01,0x4D,0x69,0x6E,0x65,0x77};
unsigned char Set_Broadcast_Time[5]={0x88,0x02,0x02,0x0A,0xAA};
unsigned char Set_Disconnect_Time[5]={0x88,0x02,0x03,0x0A,0xAA};
unsigned char Set_Send_Power[5]={0x88,0x02,0x04,0x02,0xAA};
}
Send_String_Data(Set_Name,8);
Send_String_Data(Set_Broadcast_Time,5);
Send_String_Data(Set_Disconnect_Time,5);
Send_String_Data(Set_Send_Power,5);
//Set Transmission Power: 0dBm
//Set Disconnection Time: 10 seconds
//Set Broadcasting time: 1000mS
//Set BLE module name: Minew TEL: +86-755-8886 8480 FAX: +86-755-2982 5342 EMAIL: sales@minewtech.com URL: wwwminewtech.com Page 7 FCC Caution:
Any changes or modifications not expressly approved by the party responsible for compliance could void the user's authority to operate this equipment. This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) This device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation. This device and its antenna(s) must not be co-located or operating in conjunction with any other antenna or transmitter. 15.105 Information to the user.
(b) For a Class B digital device or peripheral, the instructions furnished the user shall include the following or similar statement, placed in a prominent location in the text of the manual:
Note: This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates, uses and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications. However, there is no guarantee that interference will not occur in a particular installation. If this equipment does cause harmful interference to radio or television reception, which can be determined by turning the equipment off and on, the user is encouraged to try to correct the interference by one or more of the following measures:
Reorient or relocate the receiving antenna. Increase the separation between the equipment and receiver. Connect the equipment into an outlet on a circuit different from that to which the receiver is connected. Consult the dealer or an experienced radio/TV technician for help. This equipment complies with FCC radiation exposure limits set forth for an uncont rolled environment. Radiation Exposure Statement:
This equipment complies with FCC radiation exposure limits set forth for an uncontrolled environment. This transmitter must not be co-located or operating in conjunction with any other antenna or transmitter. The availability of some specific channels and/or operational frequency bands are country dependent and are firmware programmed at the factory to match the intended destination. The firmware setting is not accessible by the end user. The final end product must be labelled in a visible area with the following:
Contains Transmitter Module 2ABU6-MS49SF2 In the event that these conditions can not be met (for example certain laptop configurations or co-location with another transmitter), then the FCC authorization is no longer considered valid and the FCC ID can not be used on the final product. In these circumstances, the OEM integrator will be responsible for re-evaluating the end product (including the transmitter) and obtaining a separate FCC authorization