BLE5.0 Serial Adapter User Manual Chongqing Jinou Science & Technology Development Co., Ltd. V1.
Revision History Revision V1.0_20180821 V1.0_20190505 http://www.oemblue.com/ Revised Contents Initial version Add filter and lasting time in AT+INQ command.
Content I. Overview 1 II. Parameters........................................................................................................................... 1 III. Description of Indicator Light and button ........................................................................... 2 RS232 port: ..................................................................................................................................... 3 Power Interface: ........................................................
IX. Common Questions ........................................................................................................... 19 1. How to send AT command?.................................................................................................................. 19 2. How to connect the target Bluetooth device when there are multiple Bluetooth devices around? ....... 20 3. 2pcs BLE adapters can not connect.............................................................................................
I. Overview Jinou serial port adapter is an intelligent wireless data transmission product developed by our company. It supports the latest Bluetooth 5.0 protocol specification, and the overall performance is more optimized. Determined by the nature of low power consumption, BLE is mainly applied in the transmission of small amount of data, different from BR/EDR (traditional Bluetooth) characterized by voice transmission, or Bluetooth 3.0 characterized by high-speed data transmission.
Implementation protocol LL, SMP, L2CAP, ATT, GAP, GATT Communication interface Standard RS232 five wire mode Connector DB9 Signal pin RxD, TxD, RTS, CTS, GND Energy saving Auto Saving Mode to Support Low Power Mode Maximum transmission rate note1 Support Baud Rate Power consumption Work environment 20Kbytes/Sec 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200, 230400bps Unconnected (slave device) 3.1mA Unconnected (master device) 21mA Connected (no data transmission) 3.
①RS232 interface ② Status indicator (green) ③ Operation indicator (red) ④ M ode switch button (CM D button) ⑤ Power indicator (red) ⑥ Power interface RS232 port: Pin No Signal 1 VCC 2 TXD 3 RXD 4 Nc 5 GND 6 Nc 7 CTS 8 RTS 9 VCC The BLE serial adapter provides standard RS - 232 interface and support multiple serial port modes. The equipment RS - 232 DB9 pin is capable of power supply and can be used for user - developed equipment. 1.
setting status and enters the network working state. Indicator: The adapter has three indicator lights, power indicator (red), main/slave mode indicator (red), and connection indicator (green). When the BLE adapter is powered on, the power indicator (red light) will always on. If the master/slave mode indicator (red light) flashes every few seconds, the adapter is working properly.
IV. Operation Instruction The default setting of this device is 9600bps baud rate, 8-n-1 communication mode, no flow control, slave device, and matching code is 000000. If need to change parameters, user should press the mode switch button to enable the adapter to enter the parameter setting state. The two previously blinking indicator lights are off and relevant parameters are set through the "AT command", such as the parameters of master/slave device, baud rate, remote address, etc.
VI. Parameter configuration In parameters setting mode, default parameter is 9600bps, 8-N–1, no CTS RTS flow control. The following < CR >, < LF > in tables represent ASCII code of the "Enter" and “line feed”. Every AT command send to the module needs to end up with the two codes. Otherwise the AT commands can not be recognized. As for < >, it is use to convenient reading. In fact there is no < > in command.
1. Testing Command Command AT 2. None Inquire/Set Device Name AT+NAME? Parameter name: Device name Default: BLE0405C1P OK +NAME: Inquire Local Bluetooth Address Command AT+LADDR? 5.
AT+RADDR? OK bdaddr: Device +RADDR:, when work as master AT+RADDR=,OK device, if the address e> is set, the adapter actively connects the slave device of the Address addrtype: Device address type 0 Public 1 Random static 2 Random private resolvable 3 Random private nonresolvable 6. Clear Remote Bluetooth Address Command AT+CLEARADDR 7.
10. Set/Inquire Flow Control Mode Command Answer AT+FLOWCONTROL= OK AT+FLOWCONTROL? OK +FLOWCONTROL : Parameter : 0:No flow control 1:Adopting hardware flow control Default: 0 For applications with large data volumes, it is strongly recommended to use hardware flow control, otherwise data loss will occur. 11.
AT+INQ=,
Command Answer AT+BLECONNPARAM=, OK ,, Parameter Min: minimum connection interval (6-3200, 1.25ms) AT+BLECONNPARAM?OK F> +BLECONNPARAM: ,,, Max: Maximum connection interval (6 - 3200 , unit 1.
. Set/Inquire Scan Parameter Command Answer Parameter AT+SCANTIME=,OK < window>: val> Turn - on time of AT+ SCANTIME? OK scan +SCANTIME:,: erval> Scanning interval time Unit: 0. 625 ms, Default: 80,160 This parameter affects the power and scan sensitivity of the master, which is invalid for slave devices 17.
19. Set/Inquire BLE Data Communication Service UUID Command Answer Parameter :support 128bit or 16bit UUID AT+BLESPPSERVICE= OK +BLESPPSERVICE: OK AT+BLESPPSERVICE? 20.
VII. OTA instructions The module supports the air upgrade function, and you can use the APP nRF Connect provided by the Nordic company to complete the firmware upgrade. VIII. Application examples We used nRF Connect, an APP provided by the Nordic company, to test the sending and receiving of data between mobile phones and BLE serial port adapters. 1. The BLE serial port adapter keeps the factory default parameters and connects to PC through the serial port.
3. Click "CONNECT", and the interface will display the list of services included in the adapter after successful connection, and the connection status indicator will be extinguished.
16
The default service UUID of the module is 0x0000b350-d6d8-c7ec-bdf0-eab1bfc6bcbc; The default TXD characteristic value UUID is 0x0000b351-d6d8-c7ec-bdf0-eab1bfc6bcbc, which is the channel that the adapter sends to the master device. The default RXD feature value UUID is 0x0000b352-d6d8-c7ec-bdf0-eab1bfc6bcbc, which is the channel that the master device sends to the adapter. 4.
5. Click the Send button on the right of the RXD characteristic value to enter the sending interface, and switch the sending data format to TEXT format. Enter "Hello World" and click "Send".
IX. Common Questions 1. How to send AT command? The steps are as follows: Select a serial port communication software (such as super terminal or serial debugging assistant) to open the connected serial port. The serial port parameters in the parameter setting state are always configured as 9600bps, 8-n-1, and are independent of the serial port parameters of data communication set by AT command. Press the switch button to enable the device to enter the parameter setting state.
being sent and received correctly. If "\r\ ror \r\n" is returned, please check if it is sent correctly. For example: send test instruction AT\r\n, should send the 4 bytes of 'A' 'T' '\n'. Return to "\r\nOK\ n" after receiving bluetooth correctly. 2. How to connect the target Bluetooth device when there are multiple Bluetooth devices around? Enter parameter setting mode and send AT+INQ instruction to get information of all Bluetooth devices around.
FCC Statement § 15.19 Labeling requirements. 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. § 15.21 Information to user. Any Changes or modifications not expressly approved by the party responsible for compliance could void the user's authority to operate the equipment. § 15.
Manufacturer: Chongqing Jinou Science & Technology Development Co., Ltd. Add: D1‐802, Overseas Students Pioneer Park No.71 Kecheng Rd, Jiulongpo District, Chongqing, China Telephone: 86-23-86501296 Email: market@jinoux.com Web: www.oemblue.