Advertisement

Quick Links

RP2040-BLE
User Manual
RP2040-BLE User Manual
www.waveshare.com/wiki

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RP2040-BLE and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Waveshare RP2040-BLE

  • Page 1 RP2040-BLE User Manual RP2040-BLE User Manual www.waveshare.com/wiki...
  • Page 2: Table Of Contents

    RP2040-BLE User Manual Contents 1. PRODUCT INTRODUCTION ......................... 1 1.1 Parameters ............................2 1.2 Interface Description ........................3 2. PRODUCT USAGE ............................4 2.1 Communication Format ........................4 2.2 Communication Command Example ..................... 5 2.3 Module Baudrate Setting And Query ................... 6 2.3 Module Reset And Factory Reset ....................6 2.4 Set the Name and Address of Bluetooth ..................
  • Page 3: Product Introduction

    RP2040-BLE User Manual 1. PRODUCT INTRODUCTION The RP2040-BLE is a mini dual-mode Bluetooth 5. 1 expansion module designed for RP2040 development board, which is controlled via UART AT commands, and can be used for Bluetooth wireless communication applications.
  • Page 4: Parameters

    RP2040-BLE User Manual 1.1 PARAMETERS Category Parameter Bluetooth Module RP2040-BLE Dimensions (mm) 33.49 x 21 Transmission 30m (open air) Distance Communication UART Antenna Onboard PCB antenna Input Voltage 5V/3.3V Startup transient current : about 22mA for about 300ms When not connected, it...
  • Page 5: Interface Description

    RP2040-BLE User Manual 1.2 INTERFACE DESCRIPTION Function PIN Description VSYS 3.3V/5V Power GP20 UART Tx pin (default) GP21 UART Rx pin (default) Bluetooth connection status detection pin GP15 (high level means Bluetooth is connected)
  • Page 6: Product Usage

    RP2040-BLE User Manual 2. PRODUCT USAGE 2.1 COMMUNICATION FORMAT Support asynchronous serial communication mode, accept commands sent by the host computer through the serial port Communication Standard: 115200 bps (Configurable through serial commands) see: Module Baudrate Setting and Query Data bit: 8, stop bit: 1, Parity bit: none, Stream control: none Note: the design of all instructions are regular, not randomly divided, you can find the rules by comparing the following.
  • Page 7: Communication Command Example

    RP2040-BLE User Manual 2.2 COMMUNICATION COMMAND EXAMPLE Reset and restore factory...
  • Page 8: Module Baudrate Setting And Query

    RP2040-BLE User Manual 2.3 MODULE BAUDRATE SETTING AND QUERY 1. Once the baud rate is set, the chip will memorize it. The next time you turn it on, the baud rate will be the one you set. 2. After setting the baud rate, please wait for 1 second, then send the reset [AT+CZ], or power off.
  • Page 9: Set The Name And Address Of Bluetooth

    RP2040-BLE User Manual Factory reset command: AT+CW\r\n Please wait five seconds after entering the factory reset command. 2.4 SET THE NAME AND ADDRESS OF BLUETOOTH 1. After setting the bluetooth name, please reset the module, and use the mobile phone to search again after reset.
  • Page 10: Set The Name And Address Of Bluetooth

    RP2040-BLE User Manual 2.5 SET THE NAME AND ADDRESS OF BLUETOOTH 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:...
  • Page 11 RP2040-BLE User Manual 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,...
  • Page 12: Chip Ble Enable And Spp Enable

    RP2040-BLE User Manual 2.7 CHIP BLE ENABLE AND SPP ENABLE 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.
  • Page 13: Description Of The Error Message Returned By The Chip

    RP2040-BLE User Manual 2. You only need to set it once, the chip automatically saves the parameters, and you don't need to set it next time. 3. After the BLE/SPP function is turned off, the mobile phone cannot search for the name of BLE.
  • Page 14: Transparent Transmission Description

    RP2040-BLE User Manual 2.10 TRANSPARENT TRANSMISSION DESCRIPTION 1. After the Bluetooth connection, the module automatically enters the transparent transmission mode. Except for the completely correct AT command, the rest of the data will be transparently transmitted. 2. The maximum amount of data that can be handled in a single time is 1024 bytes. SPP recommends that it should not exceed 512 bytes at a time.
  • Page 15: New Functions (Purchased After 2023/02/20)

    RP2040-BLE User Manual 3. NEW FUNCTIONS (PURCHASED AFTER 2023/02/20) 3.1 BLUETOOTH STATUS DETECTION PIN AT+CF00\r\n Output low level when the Bluetooth is not connected When the Bluetooth is not connected, high and low level changes AT+CF01\r\n at a frequency of 1 Hz After the Bluetooth is connected, it is in high-level.
  • Page 16: Rf Bluetooth Transmitting Power Setting

    RP2040-BLE User Manual 3.3 RF BLUETOOTH TRANSMITTING POWER SETTING AT+BR01\r\n Set the transmitting power of the Bluetooth is level 1. AT+BR09\r\n Set the transmitting power of the Bluetooth is level 9. Note: 1. Changes take effect immediately after being sent.
  • Page 17: Uuid Setting

    RP2040-BLE User Manual 4. The longer the broadcast interval, the longer it takes for mobile devices to detect the broadcast. 3.5 UUID SETTING AT+U0F000\r\n Specify the service UUID as F AT+U1F001\r\n Designate feature code 1 as F001 with the properties "Write Without Response"...

Table of Contents