Emakefun BLE-Nano Скачать руководство пользователя страница 17

                                                                                                                       

Copy right © 2018 Shenzhen Emakefun Technology co., Ltd.

 

17 

 

c

 

 

Figure3.1.3                                    Figure 3.1.4 

3)

 

Install 

“Ble-Nano\TestApp\BLETestTools.apk”  and  open  Bluetooth,  Get  location  info 

permissions

 

Note:  Ble-Nano  is  bluetooth4.0  not  Classic  Bluetooth,  So  we  can’t  connect  in  phone’s  setting 

we need use “BLE test tools”.

 

 

 

 

 

Содержание BLE-Nano

Страница 1: ...Copy right 2018 Shenzhen Emakefun Technology co Ltd 1 BLE Nano operating manual V 1 6...

Страница 2: ...1 0 Create Ken chen 2019 4 9 V 1 1 Perfect AT Command Ken chen 2019 5 25 V 1 2 Fix Led description Ken chen 2019 7 29 V 1 3 Add AT command note Ken chen 2019 7 30 V 1 4 Add iphone connection method i...

Страница 3: ...o downloads programs through the arduion IDE 13 Chapter 3 Ble Nano and electronic device connection 16 3 1 Ble Nano Connect to your android phone 16 3 2 Ble Nano connect to your iphone 25 3 3 Ble Nano...

Страница 4: ...mobile phone peripheral devices all of them can be developed with the Ble Nano platform You can connect the Ble Nano with the bluetooth 4 0 device realize the wireless transmission between the two bl...

Страница 5: ...ght 2018 Shenzhen Emakefun Technology co Ltd 5 MCU ATmega328P MU QFN32 Bootloader Newest Arduino1 8 8 Pin Two Lines 2 54mm 15Pin Size 48mm x 19mm x 12mm Weight 18g 1 3 Pin define Figure 1 3 1 pin desc...

Страница 6: ...t will flicker and the blue light will always be on The green light flashes when the module communicates with other bluetooth data or when usb has data or when ATmega328P sends serial data The green l...

Страница 7: ...ation preparation 2 1 Ble Nano driver install 1 Right Click Computer attribute Device manager check port COM LT If you look at this figure 1 1 Figure 1 1 Drive the successful installation interface 2...

Страница 8: ...right 2018 Shenzhen Emakefun Technology co Ltd 8 Figure 1 2 The driver failed to install the interface 3 Right click the USB serial port and select the update driver software option as shown in figure...

Страница 9: ...Copy right 2018 Shenzhen Emakefun Technology co Ltd 9 Figure 1 3 Update successful 4 Click browse the computer to find driver software as shown in figure 1 4 and click browse as shown in figure 1 5...

Страница 10: ...Copy right 2018 Shenzhen Emakefun Technology co Ltd 10 Figure 1 4 Figure 1 5 Driver path CC2540_Driver ccxxxx_usb_cdc inf click next as shown in figure 1 6...

Страница 11: ...Copy right 2018 Shenzhen Emakefun Technology co Ltd 11 Figure 1 6 choose the driver file...

Страница 12: ...ology co Ltd 12 5 Click always install this driver software in the popup window as shown in figure 1 7 Figure 1 1 7 Figure 1 1 8 Driver installation successful At this point we have the driver install...

Страница 13: ...hrough the arduion IDE BLE Nano burns the latest version of Bootloader so you need to use the latest IDE version 1 8 8 or above to burn the program https www arduino cc en Main Software download lates...

Страница 14: ...Copy right 2018 Shenzhen Emakefun Technology co Ltd 14 Figure 2 2 2 3 open the Arduino IDE software and click tools port COM17 different computer port Numbers are different as shown in figure 2 2 3...

Страница 15: ...Copy right 2018 Shenzhen Emakefun Technology co Ltd 15 Figure 2 2 3 4 open the Arduino IDE software click serial monitor and send AT instructions...

Страница 16: ...android phone 1 Open the Arduino IDE connect the serial port as shown in figure 1 9 and open the serial port monitor as shown in figure 1 10 Figure 3 1 1 Figure 3 1 2 2 The test AT instruction is show...

Страница 17: ...o Ltd 17 c Figure3 1 3 Figure 3 1 4 3 Install Ble Nano TestApp BLETestTools apk and open Bluetooth Get location info permissions Note Ble Nano is bluetooth4 0 not Classic Bluetooth So we can t connect...

Страница 18: ...shown in figure 1 13 Find the corresponding bluetooth name Ble Nano and click to connect After connection as shown in figure 1 14 four options will appear to test different functions respectively Beca...

Страница 19: ...Copy right 2018 Shenzhen Emakefun Technology co Ltd 19 Figure 3 1 6 Figure 3 1 7...

Страница 20: ...Copy right 2018 Shenzhen Emakefun Technology co Ltd 20 Figure 3 1 8 Figure 3 1 9...

Страница 21: ...right 2018 Shenzhen Emakefun Technology co Ltd 21 4 After clicking sk keypressed as shown in FIG 1 17 we can see that there is a write button Click to enter the interface as shown in FIG 1 18 Figure 3...

Страница 22: ...see that the content sent by the mobile phone is printed on the serial port monitor as shown in figure 1 19 indicating that the bluetooth module can normally send data Of course in order to test the a...

Страница 23: ...n Technology co Ltd 23 Figure 3 1 12 6 As shown in figure 1 20 we can input the content we want to Send on the serial monitor and then click Send to Send the data to the mobile APP via bluetooth as sh...

Страница 24: ...akefun Technology co Ltd 24 Figure 3 1 14 In the above test process both PC terminal and android terminal can send and receive data normally indicating that the Ble Nano communication is normal and ac...

Страница 25: ...hen Emakefun Technology co Ltd 25 3 2 Ble Nano connect to your iphone 1 Search LightBlue in the APP store to download the software LightBlue R Explorer Figure 3 2 1 2 Install the APP open APP and scan...

Страница 26: ...Copy right 2018 Shenzhen Emakefun Technology co Ltd 26 Figure 3 2 2 Figure3 2 3 3 Connected BLE NANO...

Страница 27: ...Copy right 2018 Shenzhen Emakefun Technology co Ltd 27 Figure 3 2 4 3 Select the character type and click Write new value Input characters to give BLE NANO send data...

Страница 28: ...Copy right 2018 Shenzhen Emakefun Technology co Ltd 28 Figure 3 1 5 Figure 3 1 6...

Страница 29: ...hen Emakefun Technology co Ltd 29 Figure 3 1 7 3 3 Ble Nano with Windows10 Bluetooth connect Note Ble Nano is bluetooth4 0 not Classic Bluetooth So we can t connect in Win10 s setting we need download...

Страница 30: ...Copy right 2018 Shenzhen Emakefun Technology co Ltd 30 Figure 3 3 1 First turn on the usb and bluetooth switches on the board Figure 3 3 2 Click start scan...

Страница 31: ...Copy right 2018 Shenzhen Emakefun Technology co Ltd 31 Figure 3 3 4 Find our device named Ble Nano and click link Figure 3 3 5 We select character character codesCharacteristic1...

Страница 32: ...Copy right 2018 Shenzhen Emakefun Technology co Ltd 32 Figure 3 3 6 Win10 send helloword to Ble Nano Figure3 3 7...

Страница 33: ...using Micro USB cable baud rate support 9600192 00384 00576 00115 200 The default baud rate of the serial port is 9600bps note when sending the AT command must be carriage returns the AT command can...

Страница 34: ...o the subscript of bluetooth M 11 AT CON Connect the corresponding Mac address to bluetooth M 12 AT AUTOCON Automatically connect to the nearest slave bluetooth and restart to take effect M 0 13 AT DI...

Страница 35: ...d Response Parameter AT ALL Detailed configuration information Null 3 Configure serial port baud rate Command Response Parameter AT BAUD Param OK Baud Param SUCCESS 0 9600 1 19200 2 38400 3 57600 4 11...

Страница 36: ...master slave mode Command Response Parameter AT ROLE Param OK RoleMode Param SUCCESS 0 Master 1 Slave 10 Bluetooth master slave mode scans nearby slave Command Response Parameter AT SCAN OK Scan OK DI...

Страница 37: ...device that was successfully connected last time Command Response Parameter AT AUTOCON Param OK AutoCon Param SUCCESS 0 Close automatic connection 1 Automatic connection at startup 14 Disconnect from...

Страница 38: ...and Response Parameter AT TXPOWER Param OK TxPower Param SUCCESS 0 4db 1 0db 2 6db 3 23db 19 Sets the minimum communication interval in milliseconds for the BLE chip Command Response Parameter AT MINI...

Страница 39: ...y data reset PARI_DEFAULT Clear pairing information 4 3 development instructions Because bluetooth of the product is pass through function bluetooth programming is actually to read and write arduino s...

Страница 40: ...hen Emakefun Technology co Ltd 40 Figure 4 4 1 Step1 First read the MAC address of the slave COM57 usb connection to the slave COM52 as follows Figure 4 4 2 Step2 Connect Usb to host Ble Nano and set...

Страница 41: ...4 4 3 Step3 Turn on the automatic connection function of COM57 to facilitate direct connection next time Figure 4 4 4 Step4 AT BLEUSB 3 host COM52 open USB serial port and bluetooth communication func...

Страница 42: ...nnected Figure 4 4 6 Note that if there are other programs in the host that will affect the use it is recommended to burn a blank program in the host arduino The host connects to the computer by creat...

Страница 43: ...bps 4 Whether the bluetooth device supports 4 0 or not there will be compatibility problems with the bluetooth module of CC2540 and other brands Please try your best to connect with the bluetooth modu...

Отзывы: