11 Revision History ................................57 12 Contact Us ..................................58 Table of Tables Table 1. Power Consumption of nRF52832 ....................8 Table 2. Pin Functions of RF-BM-ND04(I) ..................... 12 Table 3. Pin Functions of RF-BM-ND08(I) ..................... 15 Table 4. AT Command Format Table ........................ 19 Table 5.
RF-star can provide customers with the integration of the entire profiles, applications, radio and BLE protocol stack. With compliance to Bluetooth Low Energy standard, the RF-star’s modules enable the creation of a new market for tiny, cost- effective and power-efficient wireless consumer products such as watches, medical sensors, mice, TV remote controls and fitness trainers.
Support adjust the Bluetooth connection interval and control different transmit rates (dynamic power consumption adjustment) by AT command. 10. Support adjust the transmit power, modify the broadcast interval, modify the serial port baud rate, modify the module Shenzhen RF-star Technology Co., Ltd. Page 7 of 58...
IO change can reach the limit of 50K). 14. Ultra-low working power consumption, the measured power consumption of the module is as follows: Table 1. Power Consumption of nRF52832 Event...
(once every 20 s). If the device is not found after the timeout of 3 scans, the master device will enter the slow scan state, that is, the device scans the surrounding devices once every 5 minutes. If the device to be connected is found, reconnect will be conducted. Shenzhen RF-star Technology Co., Ltd. Page 9 of 58...
4 devices, so the data source should be included in the data packet, otherwise it cannot be identified which device the data came from. Figure 1. Multi-Connection Diagram Shenzhen RF-star Technology Co., Ltd. Page 10 of 58...
RF-BM-ND04 is pin to pin compatible with and RF-BM-ND04I. The difference is that the antenna of RF-BM-ND04 is PCB type, while RF-BM-ND04I is IPEX type. Figure 2. PCB Footprint of RF-BM-ND04 Figure 3. PCB Footprint of RF-BM-ND04I Shenzhen RF-star Technology Co., Ltd. Page 11 of 58...
Figure 4. Pin Assignment of RF-BM-ND04(I) Table 2. Pin Functions of RF-BM-ND04(I) Name Function Description Ground Power supply: 1.7 V ~ 3.6 V. Recommended to 3.3 V. P21 / RST Reset, active low. Shenzhen RF-star Technology Co., Ltd. Page 12 of 58...
Page 14
Broadcast state indicator: in high level during broadcast, in low State indicator level during connection (always on) All parameters will be reset to factory settings after this pin is RESTORE set low for 3 s. Shenzhen RF-star Technology Co., Ltd. Page 13 of 58...
SWD debugging ports are on the bottom side of the module, which is not pull out in the stamp half hole way, please refer to the module pin diagram for details. Figure 5. PCB Footprint of RF-BM-ND08 Figure 6. PCB Footprint of RF-BM-ND08I Shenzhen RF-star Technology Co., Ltd. Page 14 of 58...
Active on falling edge All parameters will be reset to factory settings after this pin is RESTORE set low for 3 s. (Require ToSend, send request) output signal, used to indicate Shenzhen RF-star Technology Co., Ltd. Page 15 of 58...
Page 17
(Clear ToSend, send permission) input signal, used to judge whether it can send data to the other party, active low. Serial port TX Serial port RX Shenzhen RF-star Technology Co., Ltd. Page 16 of 58...
5. If the mater BRTS is being kept a low level, the Bluetooth module will always be in serial port receiving mode and the power consumption will be high. Shenzhen RF-star Technology Co., Ltd. Page 17 of 58...
(do not use +++ to enter the command mode), and users can operate without sending Remarks carriage returns and line feeds (CRLF). The serial port must end with a CRLF. The master needs to open notify to receive the data sent by the module. Shenzhen RF-star Technology Co., Ltd. Page 18 of 58...
Query / set MAC address. Take effect after restart, save after power off. Take effect immediately, do not save after AT+ECHO Query / set whether the serial port is echoed. power off. Shenzhen RF-star Technology Co., Ltd. Page 19 of 58...
Page 21
Query / set device power. Take effect after restart, save after power off. Query / set sleep status (Only effective for one Take effect immediately, do not save after AT+SLEEP time). power off. Shenzhen RF-star Technology Co., Ltd. Page 20 of 58...
Need to exit AT command mode to switch to transparent transmission mode. • Exit AT Command Mode AT+EXIT Function Exit AT command mode. Example AT+EXIT Return Value Remark • Device Name AT+NAME? Function Query device name. Example AT+NAME? AT+NAME=RF-STAR-SMMT Return Value Remark Shenzhen RF-star Technology Co., Ltd. Page 21 of 58...
Set device MAC address. Example AT+MAC=F1:F2:F3:F4:F5:F6 Return Value Remark Take effect after restart, save after power off. • Serial Port Echo AT+ECHO=? Function Query parameter range of this command. Example AT+ECHO=? Shenzhen RF-star Technology Co., Ltd. Page 22 of 58...
This command has two parameters: Remark 0: Disable device status display. 1: Enable device status display. AT+STATUS? Function Query the current display state of device status. Example AT+STATUS? Return Value AT+STATUS=1 Shenzhen RF-star Technology Co., Ltd. Page 23 of 58...
Function Query broadcast parameters. Example AT+ADS? AT+ADS=1,1,200 Return Value Enable broadcast. Remark Device is connectable. Broadcast interval is 200 ms. AT+ADS= Function Set broadcast parameters. Example AT+ADS=1, 0, 500 Return Value Shenzhen RF-star Technology Co., Ltd. Page 24 of 58...
20 ms (minimum 8 ms). After the connection interval takes effect, the connection interval will be coordinated according to different mobile phones, up to the "set connection interval*3". Shenzhen RF-star Technology Co., Ltd. Page 25 of 58...
The device will work in Beacon mode. Remark Take effect after restart, save after power off. • Slave Service AT+SERVICE=? Function Query parameter range of this command. Example AT+SERVICE=? Return Value AT+SERVICE=<0,1>,<0-FFFF>,<0-FFFF>,<0-FFFF>,<0-FFFF>,<0-FF...> Shenzhen RF-star Technology Co., Ltd. Page 26 of 58...
Example AT+SCAN=? Return Value AT+SCAN=[0, 1], <1-65535> This command has two parameters: Remark Parameter 1: Scan status of current device. 0: Stop scanning. 1. Scanning. Parameter 2: Timeout time (in s). Shenzhen RF-star Technology Co., Ltd. Page 27 of 58...
Page 29
Start the scan and set the scan timeout for 10 seconds, and stop the scan when the number of Remark devices reaches 20 or the scan time reaches the set time. Shenzhen RF-star Technology Co., Ltd. Page 28 of 58...
Parameter 2: Disconnect the current slave devices which are connect to the master device. Query device handle by AT+CNT_LIST. AT+DISCONNECT Function Disconnect all the current connected device. Example AT+DISCONNECT Return Value F1:F2:F3:F4:F5:F6 DISCONNECTED Shenzhen RF-star Technology Co., Ltd. Page 29 of 58...
Automatically reconnection function of the device with MAC address FF:1C:2B:D1:4C:BD is Remark enabled, while MAC address 0,EB:71:5B:DE:08:87 is disabled. Take effect after restart, save after power off. AT+AUTO_CNT= Function Set automatically reconnection function. Shenzhen RF-star Technology Co., Ltd. Page 30 of 58...
Function Set slave role or master role to transmit data. Example AT+TTM_ROLE=0 Return Value The device transmits data in slave mode. Remark Take effect immediately, do not save after power off. Shenzhen RF-star Technology Co., Ltd. Page 31 of 58...
There are currently two handle values available, 0 and 1. This handle value is assigned by the Remark system. AT+TTM_HANDLE= Function Designate the slave role for data transmission under multi-connection. Example AT+TTM_HANDLE=0 Return Value Remark Set the slave device with handle value of a to transmit data. Shenzhen RF-star Technology Co., Ltd. Page 32 of 58...
Turn on the observer function, and always scan and print the slave devices. Stop scanning by Remark sending "AT+OBSERVER=0". Among them, "adv pk" is the broadcast packet data, and "rsp pk" is the response packet Shenzhen RF-star Technology Co., Ltd. Page 33 of 58...
Set Beacon company ID: F1F2. Remark Set reference RSSI: -60. Take effect after restart, save after power off. • Tx Power AT+POWER=? Function Query parameter range of this command. Example AT+POWER=? Return Value AT+POWER=[-40,-20,-16,-12,-8,-4,0,3,4] Shenzhen RF-star Technology Co., Ltd. Page 34 of 58...
Parameter 1: Serial port function switch. Parameter 2: BLE function switch. Remark Parameter 3: Serial port wake-up function switch. 0: Disable. 1: Enable. AT+SLEEP? Function Query current sleep status of the device. Example AT+SLEEP? Shenzhen RF-star Technology Co., Ltd. Page 35 of 58...
Query current baud rate of the device. Example AT+UART? AT+UART=115200 Return Value Remark The current baud rate is 115200 bps. AT+UART= Function Set baud rate of the device. Example AT+UART=9600 Return Value Shenzhen RF-star Technology Co., Ltd. Page 36 of 58...
Set user authentication. Example AT+AUTH=1,12GH**__)),10 Return Value Enable authentication. Set the key as “12GH**__)). Remark The valid time of user authentication is 10 s. Take effect after restart, save after power off. Shenzhen RF-star Technology Co., Ltd. Page 37 of 58...
Return Value Remark Restart the device. Take effect immediately. • Reset Device AT+RESET Function Reset device. Example AT+RESET Return Value Remark Device parameters restore factory settings and restart. Take effect immediately. Shenzhen RF-star Technology Co., Ltd. Page 38 of 58...
Click on one of the BLE devices to start the connection process (The default factory name of ND04C(I)/ND08C(I) is: RF-STAR-SMMT). After the connection is successful, the Service UUID of the module appears on the mobile phone APP side, and S:CONNECTED appears on the computer serial port debugging tool side.
PC with standard Type-A USB interface ⚫ RF-DG-40A (nRF52840 dongle) ⚫ RF-BM-ND04C(I) / RF-BM-BD08C(I) 2. Software preparation ⚫ nRF Connect for Desktop Download address: https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Connect-for-desktop/Download#infotabs ⚫ Operation system: MacOS, Linux, or Windows 7 or later Shenzhen RF-star Technology Co., Ltd. Page 41 of 58...
3. After the Dongle device is selected successfully, you can click Generic Access to view the related information of the device as the host. Then click the Start scan button to start scanning for broadcast devices, and then the scanned Shenzhen RF-star Technology Co., Ltd. Page 42 of 58...
Page 44
Connect (ND04C(I)/ND08C(I)) The default factory name is: RF-STAR-SMMT, the following takes the RF-BM-ND04C module as the slave device as an example, referred to as ND04C), as shown in the figure below, Dongle has successfully connected the slave device ND04C: 4.
* @param characteristic The characteristic for which the value needs to be read. * @discussion Fetch the value of a characteristic. * The relevant delegate callback will then be invoked with the status of the request. * @see peripheral:didUpdateValueForCharacteristic:error: Shenzhen RF-star Technology Co., Ltd. Page 47 of 58...
Page 49
(BLE Transmit Module v1.29) for transparent transmission in iOS, in which it realizes, for FFE9 and FFE4, the operations of data transmit from BLE to serial port and from serial port to BLE characteristics (notify and write). Other Shenzhen RF-star Technology Co., Ltd. Page 48 of 58...
Page 50
V1.3 - Sep., 2020 controls on direct-drive functions are similar, all by reading or writing to certain characteristic. The only difference is the characteristic UUID and the Bytes of reading and writing operations. Shenzhen RF-star Technology Co., Ltd. Page 49 of 58...
//Delay for 50 ms mcu_delay_ms(50)); While(1){ //Aquire whether the CTS status is loe level If(get_cts_state()==0){ //Print the data sent from BLE Mcu_printf_string(mcu-uart_read_data()); //Delay for 50 ms Mcu_delay-ms(50); //Send test data to BLE Mcu_send_to_ble_string(Test data.\r\n”); Shenzhen RF-star Technology Co., Ltd. Page 50 of 58...
Figure 9. Specification of IPEX Wire Antenna output mode change: The module has two antenna output modes: IPEX connector output and stamp half-hole antenna output (ANT pin, see pin function table for details). Shenzhen RF-star Technology Co., Ltd. Page 51 of 58...
C2 and weld C2. The locations of C1 and C2 (8 pF) are shown in the figure below. Figure 10. Antenna Output Mode Change 10.2 Reference Design Figure 11. Reference Design of RF-BM-ND04 Shenzhen RF-star Technology Co., Ltd. Page 52 of 58...
The inverted-F antenna position on PCB is free space electromagnetic radiation. The location and layout of antenna is a key factor to increase the data rate and transmission range. Therefore, the layout of the module antenna location and routing is recommended as follows: Shenzhen RF-star Technology Co., Ltd. Page 53 of 58...
1. Please ensure the supply voltage is between the recommended values. The module will be permanently damaged if the voltage exceeds the maximum value. Please ensure the stable power supply and no frequently fluctuated Shenzhen RF-star Technology Co., Ltd. Page 54 of 58...
3. If the extension wire or feeder wire is of poor quality or too long, the bit error rate will be high. 10.5 Electrostatics Discharge Warnings The module will be damaged for the discharge of static. RF-star suggest that all modules should follow the 3 precautions below: 1.
1. The document will be optimized and updated from time to time. Before using this document, please make sure it is the latest version. 2. To obtain the latest document, please download it from the official website: www.szrfstar.com. Shenzhen RF-star Technology Co., Ltd. Page 57 of 58...
Need help?
Do you have a question about the nRF52832 and is the answer not in the manual?
Questions and answers