BLE Nano Operation Manual V.1.1

User Manual:

Open the PDF directly: View PDF PDF.
Page Count: 26

DownloadBLE-Nano Operation Manual V.1.1
Open PDF In BrowserView PDF
BLE-Nano
operating manual
V.1.1

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

1

Revised Version Of History
Date

Version

Description

Author

2019-1-29

V.1.0

Create

Ken.chen

2019-4-9

V.1.1

Perfect AT Command

Ken.chen

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

2

Catalogue
Introduct ..................................................................................................................................................... 4
Product Parameter ...................................................................................................................................... 4
Pin define ................................................................................................................................................... 5
Indicator LED description.......................................................................................................................... 6
Ble-Nano driver install ............................................................................................................................... 6
Ble-Nano downloads programs through the arduion IDE ....................................................................... 13
Ble-Nano Connect to your phone ............................................................................................................ 15
AT instruction set ..................................................................................................................................... 19
AT Instruction set specification ............................................................................................................... 20
FAQ.......................................................................................................................................................... 25

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

3

Introduct
Ble - Nano bluetooth 4.0 protocol is based on perfect combination Arduino Nano by emakefun to create
customer research and development of a revolutionary product, function and the pin is fully compatible with
traditional Arduino Nano motherboard, scope of work frequency of 2.4 GHZ, modulation mode for the
GFSK, maximum transmitted power of 0 db, the largest launch distance of 50 meters, USES the import
original TI CC2540 chip design, support user through AT commands to modify to check the device name,
service UUID, transmission power, such as matching password instructions, convenient use and flexible.The
size of the product is very small, suitable for many applications where there are severe restrictions on the
size.
We provide Android and IOS mobile phone demo, you can quickly develop a communication with the
phone hardware device.Just like the popular wearable 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 bluetooth devices, and set the master and slave.Even establish
bluetooth HID connection with PC.AT the same time, we provide developers with a great degree of freedom
and support, the user can not only by the AT command debugging Ble - Nano, you can also add on Ble Nano controller Arduino compatible extension board, sensor, motor and servo drive, emakefun exclusive
research and development of bluetooth host mode automatic connection from the machine function, and
support for more than 20 bytes to send, it is more convenient to use.

Product Parameter
◆ It is fully compatible with the Arduino nano-v3.0 pin and its usage method
◆ BLE chip :TI CC2540
◆ Work channel : 2.4G
◆ Transmission distance: 50m
◆ Supports AT directive to configure BLE
◆ Support USB virtual serial port, hardware serial port,BLE three-way transparent transmission
◆ Support master and slave switch
◆ Supports sending over 20byte.
◆ Supports iBeacons
◆ Interface:Mircor-Usb
◆ Input voltage:Usb power supply,Vin6~12V,5V
◆ MCU:ATmega328P-MU QFN32
◆ Bootloader:Newest Arduino1.8.8
Copy right © 2018 Shenzhen Emakefun Technology co., Ltd.

4

◆ Pin:Two Lines 2.54mm-15Pin
◆ Size:48mm x 19mm x 12mm
◆ Weight: 18g

Pin define

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

5

Indicator LED description

◆ When the bluetooth is not connected, the blue light 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 light flashes when the module communicates with other bluetooth data, or when usb has data,
or when ATmega328P sends serial dataWhen the USB data cable is connected successfully, the USB
light will be on. If only the power light is on after connecting the USB cable, but the USB indicator light
is not on, it means that the usb-micro cable is broken, please replace it

Ble-Nano driver install
1) Right-Click “Computer”→“attribute”→“Device manager”→check“port
(COM<)”,If you look at this figure 1.1
Copy right © 2018 Shenzhen Emakefun Technology co., Ltd.

6

Figure 1.1 Drive the successful installation interface
2) The driver has been installed successfully. Then we open the IDE and select the corresponding
development board model and port in the toolbar. If it appears as shown in figure 1.2, the computer
does not recognize the development board and needs to install the driver.

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

7

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 1.3.

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

8

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

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

9

图 1.4

图
1.5
Driver path: "CC2540_Driver \ ccxxxx_usb_cdc.inf" click "next", as shown in figure 1.6
Copy right © 2018 Shenzhen Emakefun Technology co., Ltd.

10

Figure 1.6 choose the driver file

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

11

5) Click "always install this driver software" in the popup window as shown in figure 1.7

Figure 1.7

Figure 1.8 Driver installation successful
At this point, we have the driver installed. Next, we will install the Arduino IDE.

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

12

Ble-Nano downloads programs through 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 latest Arduino IDE

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

13

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

14

Ble-Nano Connect to your 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 1.9

Figure 1.10

2) The test AT instruction is shown in figure 1.11. The USB and bluetooth data transmission mode of
BLE-Nano is set as USB serial port data and BLE transmission as shown in figure 1.12

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

15

Figure 1.11

Figure 1.12

3) Install ble_tool.apk on the phone and open the test APP. The interface is 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. Because here we only
test whether bluetooth can send and receive data normally, so we select SK Service and select
SK_KEYPRESSED as shown in figure 1.14 and 1.15

图 1.13

图 1.14

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

16

Figure 1.15

Figure 1.16

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 1.17

Figure 1.18

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

17

5) After clicking "send", we can 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 accuracy more accurately, we can test it several times and try to test it
in different environments.

Figure 1.19
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 shown in figure 1.21。

Figure 1.20

Figure 1.21
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 achieves the expected effect.
Copy right © 2018 Shenzhen Emakefun Technology co., Ltd.

18

AT instruction set
Users can communicate via a serial port and bluetooth chip, a serial port 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 only be effective in the
module not connected state, once the bluetooth module is connected to the equipment, bluetooth module into
data passthrough mode), the AT commands are case sensitive, both ends in return, newline characters: \ r \
n)
List

Command

Effect

M/S

Work Mode

default

1

AT+ALL

Print all the configuration information for

M/S

/

/

the BLE configuration
2

AT+BAUD

Configure serial port baud rate

M/S

9600

3

AT+PARITY

Set the serial port check bit

M/S

0

4

AT+STOPBIT

Set the serial port stop bit

M/S

0

5

AT+NAME

Configure bluetooth device name

M/S

Ble-Nano

6

AT+VER

View the BLE firmware version number

M/S

V1.1

7

AT+MAC

View bluetooth 12-bit MAC address

S

/

8

AT+ROLE

Configure the BLE master-slave mode

M/S

1

9

AT+SCAN

Scan surrounding bluetooth devices

M

/

10

AT+CONN

Connect the scan result to the subscript of

M

/

M

/

M

0

bluetooth
11

AT+CON

Connect the corresponding Mac address to
bluetooth

12

AT+AUTOCON

Automatically connect to the nearest slave
bluetooth, and restart to take effect

13

AT+DISCON

Break the current link

M

/

14

AT+AUTH

Set whether a password is required for a

S

0

bluetooth connection
15

AT+PASS

Set the bluetooth connection password

S

000000

16

AT+ MODE

Set bluetooth working mode

M/S

0

17

AT+ BLEUSB

Set bluetooth USB and bluetooth data

M/S

0

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

19

18

AT+ TXPOWER

Set bluetooth transmission power

M/S

0

19

AT+MINI_INTE

Set the minimum communication interval

M/S

6

RVAL

of BLE chip

AT+MAX_INTE

Set the maximum communication interval

M/S

6

RVAL

of BLE chip

AT+SRVUUID

Get the bluetooth signature UUID

M/S

0xFFE0

AT+CHARUUID

Gets the character signature

M/S

0xFFE1

21

AT+RXGAIN

Set the BLE receive gain

M/S

1

22

AT+RESETR

Bluetooth device software restart

M/S

/

23

AT+SETTING

system settings

M/S

/

20
21

AT Instruction set specification
1、Test instruction
Command

Response

Parameter

AT

+OK

NULL

2、Print all configuration instructions for Ble-Nano
Command

Response

Parameter

AT+ALL

Detailed configuration

Null

information
3、Configure serial port baud rate
Command

Response

Parameter

AT+BAUD=

OK+Baud=

0:9600

+SUCCESS

1:19200
2:38400
3:57600
4:115200

4、Configure the check bit for the serial port
Command

Response

Parameter

AT+PARITY=

OK+Parity=

0:NULL

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

20

+SUCCESS

1: even parity check
2: Odd Parity Check

5、Configure the stop bit for the serial port
Command

Response

Parameter

AT+STOPBIT=

OK+StopBit=

0:1bit

+SUCCESS

1:2bits

Command

Response

Parameter

AT+NAME=

OK+Name=

Bluetooth Name

6、Configure bluetooth name

+SUCCESS
7、Query BLE-Nano firmware version
Command

Response

Parameter

AT+VER

OK+Version=

Null

Command

Response

Parameter

AT+MAC

OK+Mac=

Null

8、Query the Mac address of bluetooth

9、Query sets bluetooth master-slave mode

10、

Command

Response

Parameter

AT+ROLE=

OK+RoleMode=

0:Master

+SUCCESS

1:Slave

Bluetooth master slave mode scans nearby slave
Command

Response

Parameter

AT+SCAN

OK+Scan

Null

OK+DISC[0]:xxxx
OK+DISC[1]:xxxx
……
OK+SCAN DONE

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

21

11、 Connect slave bluetooth by scanning return index
Command

Response

Parameter

AT+CONN=

OK+CONN=

Scan slave bluetooth subscript
Numbers

12、 Connect the slave to bluetooth by connecting the master to the slave via bluetooth Mac address
Command

Response

Parameter

AT+CON=

OK+CON=

Slave bluetooth address

⚫

OK+Scan

⚫

OK+DISC[0]:3234CFE9D1C3

⚫

OK+DISC[1]:464288AEAB8F

⚫

OK+DISC[2]:3CA5080A62FB

⚫

OK+DISC[3]:30AEA42BF189

⚫

OK+DISC[4]:58803C6EFB0A

⚫

OK+SCAN DONE

⚫

AT+CONN=1 Represents the second bluetooth device scanned by the connectionAT + CON =
464288AEAB8F Connect directly to a device with the Mac address 464288AEAB8F

13、 Enable bluetooth automatic connection mode
When enabled, the bluetooth module will automatically connect to the device that was successfully
connected last time
Command

Response

Parameter

AT+AUTOCON=

OK+AutoCon=

0: Close automatic connection

+SUCCESS

1: Automatic connection at
startup

14、 Disconnect from the current bluetooth device
Command

Response

Parameter

AT+DISCON

OK+Disconnect

Null

15、 Set whether a password is required for a bluetooth connection
Command

Response

Parameter

AT+AUTH=

OK+AuthMode=

0: Not need Password connection

+SUCCESS

required

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

22

1: Password connection required
16、 Setting the bluetooth connection is a password
Command

Response

AT+ PASS=

OK+ PassWord=

Parameter

+SUCCESS
17、 Set bluetooth working mode
Command

Response

Parameter

AT+ MODE=

OK+ WorkMode=

0: unvarnished transmission

+SUCCESS

1: driving pattern
2:iBeacon

18、 Set bluetooth USB and bluetooth data transfer modes
Command

Response

Parameter

AT+ BLEUSB=

OK+UsbBleTransmitMode=

0:close

+SUCCESS

1:USB Serial data to BLE
2:BLE data to USB 串口
3:USB Serial data and
BLEunvarnished transmission

19、 Set the bluetooth transmission power
Command

Response

Parameter

AT+ TXPOWER=

OK+TxPower=

0:4db

+SUCCESS

1:0db
2:-6db
3:-23db

19、Sets the minimum communication interval in milliseconds for the BLE chip
Command

Response

AT+MINI_INTERVAL= OK+ Mini_Interval=
+SUCCESS

Parameter
For PC and Android, it is
recommended to set it to 10iOS
device, and it is recommended to
set it to 20

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

23

20、Sets the maximum communication interval in milliseconds for the BLE chip
Command

Response

AT+MAX_INTERVAL=

OK+Max_Interval=
+SUCCESS

Parameter
For PC and Android, it is
recommended to set it to 10iOS
devices and 40

21、Set the BLE receive gain
Command

Response

AT+RXGAIN=

OK+RxGain =
+SUCCESS

Parameter
0:Typical Gain
1:HG(high gain)

22、Set the BLE feature code UUID
Command

Response

AT+SRVUUID

Servic UUID=0XFFE0

Parameter

23、Set the BLE character feature code
Command

Response

AT+CHARUUID

Char UUID=0XFFE1

Parameter

24、SOftware Reset
Command

Response

AT+RESETR

null

Parameter
NULL

25、系统设置
Command

Response

AT+SETTING=

+SUCCESS

Parameter
DEFAULT: factory data reset
PARI_DEFAULT :Clear pairing
information

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

24

FAQ
Q1: What is the difference between a Ble-Nano and a regular Nano board, and how do I start using this
development board
A1: Ble - is the Nano in the original official arduino Nano V3.0 adding CC2540 Mini bluetooth 4.0 interface
- Usb upgraded to a more general Micro - Usb interface, pin function is fully compatible with latest
Bootload Bootload burning need to use the above 1.8.8 IDE can burn, other methods of use please refer to
the official arduino Nano usage.
Q2 : Common problem of abnormal communication between bluetooth 4.0.
A2: Recommended inspection steps:
1) Update firmware to latest version;
2) Restore factory Settings by AT instruction (AT+SETTING=DEFAULT). (see: configure BLE
devices by AT instruction)
3) Check whether the communication baud rate of bluetooth module, program code and other relevant
places is consistent; (the control panel with a crystal oscillator frequency of 8MHz supports a baud
rate of up to 38400bps.)
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
module of CC25xx
Q3 :Why can't my phone connect to the Ble-Nano, and even if it does, it can't communicate?
A3: Please check whether your mobile phone supports bluetooth 4.0. In addition, please use the Scan button
in the APP to Scan the connection of Ble-Nano. No password is required for connection. The bluetooth
setting interface and other BLE apps are not supported.
Q4:How to use Ibeacon function?
A4: You can find relevant instructions to turn on/off the Ibeacon function in the AT list, and then download
an Ibeacon query software in the app market, and you can query Ibeacon. AT this time, Bluno is an Ibeacon
label.
Q5 : Does Ble-Nano support multi - connection? I want to connect many slave machines with one host, how
many can I connect at most?
A5: Ble-Nano does not support multi-connection, but the idea of multi-connection can be realized by
constantly switching binding slave machines.
Q6 : Why can't the Ble-Nano bluetooth 4.0 products connect to bluetooth 2.0 devices?

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

25

A6:In order to achieve very low power consumption, our Bluno series adopts single-mode Bluetooth
Smart, which is optimized in both hardware and software, and can only support BLE, but not connected to
Bluetooth 2.0 devices.

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

26



Source Exif Data:
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.7
Linearized                      : No
Page Count                      : 26
Language                        : zh-CN
XMP Toolkit                     : 3.1-701
Producer                        : Microsoft® Word 适用于 Office 365
Creator                         : Copy right © 2018 Shenzhen Emakefun Technology co., Ltd.
Creator Tool                    : Microsoft® Word 适用于 Office 365
Create Date                     : 2019:05:14 16:22:24+08:00
Modify Date                     : 2019:05:14 16:22:24+08:00
Document ID                     : uuid:E625F50A-CCD9-41B3-88B1-19C3ACABB925
Instance ID                     : uuid:E625F50A-CCD9-41B3-88B1-19C3ACABB925
Author                          : Copy right © 2018 Shenzhen Emakefun Technology co., Ltd.
EXIF Metadata provided by EXIF.tools

Navigation menu