Waveshare Pico-BLE User Manual Download Page 7

Pico-BLE User manual

版本:

V1.0

,日期:

2021

12

16

7 / 10

Query the name and address of bluetooth

AT+TM\r\n

Return TM+BLE-Waveshare\r\n for Bluetooth

name BLE-Waveshare

AT+TN\r\n

Returns the Bluetooth address of TN+12345678AABB\r\n BLE: 0xBB, 0xAA, 0x78, 0x56, 0x34, 0x12

AT+TD\r\n

Return to TD+SPP-Waveshare\r\n for Bluetooth name SPP-Waveshare

There is no SPP address whether it is set or queried, because the SPP address is obtained by +1 on the
highest byte of the BLE MAC address, for example:

The address of BLE is returned as: TN+32F441F495F1,

This means the address of BLE is: 0xF1 , 0x95 , 0xF4 , 0x 41 , 0xF4 , 0x32

Then the address of SPP is: 0xF2 , 0x95 , 0xF4 , 0x 41 , 0xF4 , 0x32

Chip low power instruction description

AT+CL00\r\n

Do not enter low power mode. It will be valid at the next power-on. Be careful to restart

the power after setting

AT+CL01\r\n

Enter low power mode. It is valid at the next power-on. After setting, pay attention to power

on again --- the chip enters this state by default, no need to set

AT+QL\r\n

Low-power query command. The return value is QL+01\r\n, indicating that the current working

state is low power consumption mode

1. After setting, you need to power on again to update the configuration

2. This command is memorized. After the command is sent successfully, the chip will save it.

3. After starting the low-power mode, there are many restrictions, which are generally turned off by
default.

4. After the setting, the chip will return to the device information normally when it is powered on. AT
commands can be set within 5 seconds, and after 5 seconds, any AT commands will be ignored before
the Bluetooth connection.

5. The difference between low power consumption and normal operation is mainly due to the
difference in the way of Bluetooth broadcasting when Bluetooth is not connected. During normal
operation, Bluetooth is always in the broadcasting state. During low power consumption, it
broadcasts every 0.5 seconds, once every 0.1 seconds, and the rest of the time is in a sleep state. .
When connected to Bluetooth, the power consumption of the two working modes is similar (of course,
the low power consumption will be a little lower),

If it is not particularly sensitive to power

consumption or it will be in a disconnected state for a long time after power-on, it is better to keep
the module in normal working state.

6. The following table is the current under each working state, which is measured in the experimental
environment, and the results are for reference only.

Summary of Contents for Pico-BLE

Page 1: ...UETOOTH MODULE Dual mode Bluetooth to UART module DIMENSIONS mm 56 5 x 21 TRANSMISSION DISTANCE 30m open air COMMUNICATION UART ANTENNA Onboard PCB antenna INPUT VOLTAGE 5V 3 3V OPERATING CURRENT Star...

Page 2: ...ended version connection Function pin Description VSYS 3 3V 5V Power GND GND GP0 UART transmit pin default GP1 UART transmit pin default GP4 UART transmit pin default GP5 UART transmit pin default GP1...

Page 3: ...can find the rules by comparing the following Control command format AT CMD param r n All are characters not hex numbers Data Feedback Format IND param r n Data characteristics Detailed description AT...

Page 4: ...baud rate For detail see Module baud rate setting and query AT CZ Chip reset Chip soft reset see Reset and restore factory settings AT CW Chip reset to factory settings Restore factory settings clear...

Page 5: ...number 01 02 03 04 05 06 07 9600 19200 38400 57600 115200 256000 512000 08 09 10 11 12 13 230400 460800 1000000 31250 2400 4800 1 Once the baud rate is set the chip will memorize it The next time you...

Page 6: ...PP Bluetooth name to SPP Waveshare 1 After setting the bluetooth name please reset the module and use the mobile phone to search again after reset 2 The maximum length of the Bluetooth name is 30 byte...

Page 7: ...ing you need to power on again to update the configuration 2 This command is memorized After the command is sent successfully the chip will save it 3 After starting the low power mode there are many r...

Page 8: ...e purpose is to save power consumption the cycle is 500ms 100ms broadcast once 400ms sleep Working status to connect 6mA When the connection is successful the chip will no longer go to sleep but at wo...

Page 9: ...e chip will return T5 01 or T5 00 1 After the BLE SPP function is turned off it must be powered on again for this function to take effect Of course it s the same 2 You only need to set it once the chi...

Page 10: ...return message of chip power on It is valid at the next power on Be careful to restart the power after setting Note After this function is turned off it will also turn off the OK or ER X return infor...

Reviews: