DFR0781
Bluetooth Module, BLE 5.0, UART, 3.3 to 5 V, 20 mA, -40 to 80 ° C
- Manufacturer: DFROBOT
- Product type: Bluetooth Modules & Adaptors
- SVHC: No SVHC (04-Feb-2026)
- Interfaces: -
- Product Range: -
- Certifications: -
- Bluetooth Class: -
- Bluetooth Version: Bluetooth 5.0
- Supply Voltage Range: 3.3 V to 5 V
- Receiver Sensitivity Rx: -
- Operating Temperature Range: -40 °C to 80 °C
| Delivery and price | |
|---|---|
| Units per pack | 1 |
| Price | 2.63 € |
| Current stock | 10+ |
| Lead time | 30 days |
2024/5/15 16:27
Audio & BLE/SPP Pass-through Module Bluetooth 5.0 Wiki - DFRobot
## SKU:DFR0781 (https://www.dfrobot.com/product-2177.html)
Introduction
Feature Application Specification Dimension Diagram Board Overview Tutorial
AT Command List BLE Pass-through SPP Pass-through
## Introduction
(https://www.dfrobot.com/product-2177.html)
FAQ
More Documents
This Bluetooth module features Bluetooth/U-disk/TF-card playback, and Bluetooth call function, supporting simple and clear serial port control function, BLE pass-through, and SPP pass-through functions. The highlight of this product is the dual-mode Bluetooth, which also means that it can run the Bluetooth audio playback and data transmission at the same time, greatly reducing the development difficulty of embedded Bluetooth in other products.
## Feature
|No.|Function|
|---|---|
|1|16-bitStereoDACwith headphone amplifier,SNR>= 95dB|
|2|SupportMP3, WAV, WMA,FLAC,AAC,APEformat decoding|
|3|Support 128GU-disk andTFcard, breakpoint memory and track memory functions|
https://wiki.dfrobot.com/Audio_BLE_SPP_Pass_Through_Module_Bluetooth_5.0_SKU_DFR0781
1/32
2024/5/15 16:27
Audio & BLE/SPP Pass-through Module Bluetooth 5.0 Wiki - DFRobot
Introduction Feature Application Specification Dimension Diagram Board Overview Tutorial AT Command List BLE Pass-through SPP Pass-through FAQ
More Documents
||Audio & BLE/SPP Pass-through Module Bluetooth 5.0 Wiki - DFRobot|
|---|---|
|No.|Function|
|4|Support bluetooth audio transmission, connect with mobile for music transmission, support play,<br>pause, up and down switch|
|5|Support bluetooth call function (users can cancel it): answer, hang up, dial back, refuse to<br>answer and other functions|
|6|Bluetooth 5.0, supportHFP/A2DP/AVRCP/HSP/GAVDP/IoP/SPP/BLEwith a distance of around<br>10M|
|7|SupportBLE/SPPpass-through function|
## Application
Bluetooth Speaker with calling function
- Bluetooth Music Lamp
- MP3 Player
## Specification
- Power Supply: 3.3V~5V
- Operating Current: 20mA
- Communication: UART
- Bluetooth: 5.0
- Operating Temperature Range: -40℃~80℃
- Operating Humidity Range: 5%RH~95%RH
- Dimension: 23*15.5mm/0.91*0.61”
https://wiki.dfrobot.com/Audio_BLE_SPP_Pass_Through_Module_Bluetooth_5.0_SKU_DFR0781
2/32
2024/5/15 16:27
Audio & BLE/SPP Pass-through Module Bluetooth 5.0 Wiki - DFRobot
## Dimension D ram iag
Introduction
Feature
Application Specification Dimension Diagram Board Overview Tutorial AT Command List BLE Pass-through SPP Pass-through FAQ More Documents
https://wiki.dfrobot.com/Audio_BLE_SPP_Pass_Through_Module_Bluetooth_5.0_SKU_DFR0781
3/32
2024/5/15 16:27
Audio & BLE/SPP Pass-through Module Bluetooth 5.0 Wiki - DFRobot
Introduction
Feature
Application
Specification Dimension Diagram
Board Overview
Tutorial
AT Command List
BLE Pass-through SPP Pass-through
FAQ
More Documents
https://wiki.dfrobot.com/Audio_BLE_SPP_Pass_Through_Module_Bluetooth_5.0_SKU_DFR0781
4/32
2024/5/15 16:27
Audio & BLE/SPP Pass-through Module Bluetooth 5.0 Wiki - DFRobot
Introduction
Feature Application Specification Dimension Diagram Board Overview Tutorial AT Command List BLE Pass-through SPP Pass-through FAQ More Documents
https://wiki.dfrobot.com/Audio_BLE_SPP_Pass_Through_Module_Bluetooth_5.0_SKU_DFR0781
5/32
2024/5/15 16:27
Audio & BLE/SPP Pass-through Module Bluetooth 5.0 Wiki - DFRobot
## Board Overview
Introduction
Feature Application Specification Dimension Diagram Board Overview Tutorial AT Command List BLE Pass-through SPP Pass-through FAQ More Documents
https://wiki.dfrobot.com/Audio_BLE_SPP_Pass_Through_Module_Bluetooth_5.0_SKU_DFR0781
6/32
2024/5/15 16:27
Audio & BLE/SPP Pass-through Module Bluetooth 5.0 Wiki - DFRobot
Introduction
Feature
Application
Specification
Dimension Diagram
Board Overview Tutorial
AT Command List
BLE Pass-through
SPP Pass-through
FAQ
More Documents
https://wiki.dfrobot.com/Audio_BLE_SPP_Pass_Through_Module_Bluetooth_5.0_SKU_DFR0781
7/32
2024/5/15 16:27
Audio & BLE/SPP Pass-through Module Bluetooth 5.0 Wiki - DFRobot
Introduction Feature Application Specification Dimension Diagram Board Overview Tutorial AT Command List BLE Pass-through SPP Pass-through FAQ
More Documents
|No.|Define|IOfunction|Description|
|---|---|---|---|
|1|PA3|AUX1L|ExternalAudio input channel--left channel|
|2|PA4|AUX1R|ExternalAudio inputChannel--right channel|
|3|PA5|ADKEY|ADkey, pull-up resistor of 22k, left floating when not in use|
|4|USBDM|USBD||
|5|USBDP|USBD+||
|6|3V3|PowerOutput|LDOoutput of the internal chip.The external load shall not<br>exceed 80mA.Try not to use it.|
|7|DVDD|POWER|Bias voltage of the chipDAC, connect a 105 resistor|
|8|PA0|MIC|MIC IOfor calling|
|9|DACR|RightChannel<br>Output||
|10|DACL|LeftChannel<br>Output||
|11|SGND|AnalogGround|Connect to the ground of power supply separately, do not mix<br>with digital ground, single point grounding is best|
https://wiki.dfrobot.com/Audio_BLE_SPP_Pass_Through_Module_Bluetooth_5.0_SKU_DFR0781
8/32
2024/5/15 16:27
Audio & BLE/SPP Pass-through Module Bluetooth 5.0 Wiki - DFRobot
||Introduction<br>Feature<br>Application<br>Specifcation<br>Dimension Diagram<br>Board Overview<br>Tutorial<br>AT Command List<br>BLE Pass-through<br>SPP Pass-through<br>FAQ<br>More Documents|No.|Define|IOfunction|Description|
|---|---|---|---|---|---|
|||12|GND|DigitalGround||
|||13|VCC|PowerInput|3.3V -5V, suitable for 3.7 lithium battery power supply|
|||14|PC1|GPIO/PWM1||
|||15|PC3|SDDAT|Connect to data pin of externalTFcard|
|||16|PC4|SDCMD|Connect to command pin of externalTFcard|
|||17|PC5|SDCLK|Connect to clock pin of externalTFcard|
|||18|PR2|GPIO/RESET|Can work as normalIOor reset pin, floated at present|
|||19|PR1|LED|Connect to externalLED, high level to turn it on|
|||20|PB6|GPIO|CommonGPIO|
|||21|PB5|GPIO|CommonGPIO|
|||22|PB4|GPIO|CommonGPIO|
|||23|PB3|GPIO/MUTE|Mute pin.Auto-detect when the module powered on, and output<br>the corresponding level.Detecting method: pull up 10K, high level<br>to mute; pull down 10K, low level to mute.|
|||24|PB2|GPIO|CommonGPIO|
|||25|PB1/RX|UART-RX0|Connect to theTX ofMCU, 3.3V level, please connect 1Kresistor<br>in series for 5V|
|||26|PB0/TX|UART-TX0|Connect to theRX ofMCU, 3.3V level, compatible with 5V level|
https://wiki.dfrobot.com/Audio_BLE_SPP_Pass_Through_Module_Bluetooth_5.0_SKU_DFR0781
9/32
2024/5/15 16:27
Audio & BLE/SPP Pass-through Module Bluetooth 5.0 Wiki - DFRobot
## Tutorial
Introduction
Feature
Application Specification Dimension Diagram Board Overview Tutorial AT Command List BLE Pass-through SPP Pass-through
FAQ
Note: it is recommended to use hardware serial to drive this module, since it may be unstable when using software serial, which may result in unknown errors.It is suggested to reduce the module's baud rate to 9600 when using software serial driver.
## Requirements
## Hardware
- DFRduino UNO R3 (https://www.dfrobot.com/product-838.html) (or similar) x 1 BT401 x 1
- Speaker with Amplifier
More Documents
- Dupont wires
## Software
Arduino IDE (https://www.arduino.cc/en/Main/Software)
## Download and install the BT401 Library file and Sample Code
(https://github.com/DFRobot/DFRobot_BT401) (About how to install the library?
(https://www.arduino.cc/en/Guide/Libraries#.UxU8mdzF9H0))
https://wiki.dfrobot.com/Audio_BLE_SPP_Pass_Through_Module_Bluetooth_5.0_SKU_DFR0781
10/32
2024/5/15 16:27
Audio & BLE/SPP Pass-through Module Bluetooth 5.0 Wiki - DFRobot
## Control by Arduino
Introduction
Feature
Application
Specification
Dimension Diagram Board Overview
Tutorial
AT Command List BLE Pass-through SPP Pass-through
FAQ
More Documents
https://wiki.dfrobot.com/Audio_BLE_SPP_Pass_Through_Module_Bluetooth_5.0_SKU_DFR0781
11/32
2024/5/15 16:27
Audio & BLE/SPP Pass-through Module Bluetooth 5.0 Wiki - DFRobot
## API Function List
Introduction Feature Application Specification Dimension Diagram Board Overview Tutorial AT Command List BLE Pass-through SPP Pass-through FAQ More Documents
```
/**
* @brief Set volume
* @param volume(0-30)
* @return true or false
*/
bool setVOl(uint8_t vol);
/**
* @brief Set working mode
* @param eFunction_t
* @return true or false
*/
bool switchFunction(eFunction_t function);
/**
* @brief Set play mode
* @param ePlayMode_t
* @return true or false
*/
bool setPlayMode(ePlayMode_t mode);
/**
* @brief Play control Only valid for playback by TF card and U-disk
* @param ePlayControl_t
* @return true or false
*/
bool playControl(ePlayControl_t cmd);
/**
* @brief Next
* @return true or false
*/
bool next();
```
https://wiki.dfrobot.com/Audio_BLE_SPP_Pass_Through_Module_Bluetooth_5.0_SKU_DFR0781
12/32
2024/5/15 16:27
Audio & BLE/SPP Pass-through Module Bluetooth 5.0 Wiki - DFRobot
`/** * @brief Last * @return true or false */` Introduction `bool last();` Feature Application `/** * @brief Play the N-th file, play song of the specified number` Specification `* @param specified number` Dimension Diagram `* @return true or false` Board Overview `*/` Tutorial `bool playSpecFile(uint16_t number);`
AT Command List `/**` BLE Pass-through `* @brief Play song of the specified path` SPP Pass-through `* @param specified path` FAQ `* @return true or false */` More Documents `bool playSpecFile(const char* path); /** * @brief Delete the currently playing file * @return true or false */ bool delCurFile(); /** * @brief Dial a phone number * @param phone number * @return true or false */ bool callOut(const char* phoneNumber); /** * @brief Call control`
https://wiki.dfrobot.com/Audio_BLE_SPP_Pass_Through_Module_Bluetooth_5.0_SKU_DFR0781
13/32
2024/5/15 16:27
Audio & BLE/SPP Pass-through Module Bluetooth 5.0 Wiki - DFRobot
```
* @param eControltalk_t
* @return true or false
*/
bool controltalk(eControltalk_t cmd);
```
Introduction
`/**` Feature `* @brief Obtain bluetooth status` Application `* @return eBtStatus */` Specification `eBtStatus getBtStatus();` Dimension Diagram Board Overview `/**` Tutorial `* @brief Obtain calling phone number * @return phone number` AT Command List `*/` BLE Pass-through `String getTelNumber();` SPP Pass-through
## Sample Code 1- Playback
FAQ
More Documents
When the module powered on, enter the music mode, start playing the last recorded file, pause playing after 3S, play the next song after 3S, play the previous song after 3S, and play the first file copied into the device after 3 seconds.
https://wiki.dfrobot.com/Audio_BLE_SPP_Pass_Through_Module_Bluetooth_5.0_SKU_DFR0781
14/32
2024/5/15 16:27
Audio & BLE/SPP Pass-through Module Bluetooth 5.0 Wiki - DFRobot
- `/*!`
- `@file playMusic.ino.ino`
- `@brief Play song in TF card`
- `@n Experiment Phenomenon` : `play music and do the related actions`
Introduction
Feature
Application Specification Dimension Diagram Board Overview Tutorial
AT Command List
BLE Pass-through SPP Pass-through
FAQ
More Documents
- `@copyright Copyright (c) 2010 DFRobot Co.Ltd (http://www.dfrobot.com)`
- `@licence The MIT License (MIT)`
- `@author [Eddard](Eddard.liu@dfrobot.com)`
- `@version V1.0`
- `@date 2020-12-29`
- `@get from https://www.dfrobot.com`
- `@url https://github.com/cdjq/DFRobot_ID809`
- `*/`
- `#include <DFRobot_BT401.h> #include <SoftwareSerial.h>`
```
SoftwareSerial btSerial(2, 3); //RX TX
```
```
DFRobot_BT401 bt;
```
```
void setup(){
```
```
btSerial.begin(115200);
/*Delay 2s for the BT401 to start*/
delay(2000);
while(!bt.begin(btSerial)){
Serial.println("Init failed, please check wire connection!");
delay(1000);
}
bt.setVOl(30);
bt.switchFunction(bt.eTFCard);
bt.setPlayMode(bt.eDeviceCycle);
}
```
```
void loop(){
//Play
```
https://wiki.dfrobot.com/Audio_BLE_SPP_Pass_Through_Module_Bluetooth_5.0_SKU_DFR0781
15/32
2024/5/15 16:27
Audio & BLE/SPP Pass-through Module Bluetooth 5.0 Wiki - DFRobot
Introduction
Feature Application Specification Dimension Diagram Board Overview Tutorial AT Command List BLE Pass-through SPP Pass-through FAQ
More Documents
`bt.playControl(bt.ePlay); delay(3000); //Pause bt.playControl(bt.ePause); delay(3000); //Next bt.next(); delay(3000); //Last bt.last(); delay(3000); //Play song in the first file bt.playFileNum(1); while(1); /*Delete the currently playing file*/ //bt.delCurFile(); }` Sample Code 2 - Incoming Call Control
https://wiki.dfrobot.com/Audio_BLE_SPP_Pass_Through_Module_Bluetooth_5.0_SKU_DFR0781
16/32
2024/5/15 16:27
Audio & BLE/SPP Pass-through Module Bluetooth 5.0 Wiki - DFRobot
- `/*!`
- `@file answerCall.ino.ino`
- `@brief Get incoming call information`
- `@n Experiment Phenomenon` : `Print phone number and answer the phone when a call comes`
Introduction
Feature
Application Specification Dimension Diagram Board Overview Tutorial
AT Command List BLE Pass-through SPP Pass-through
FAQ
More Documents
- `@copyright Copyright (c) 2010 DFRobot Co.Ltd (http://www.dfrobot.com)`
- `@licence The MIT License (MIT)`
- `@author [Eddard](Eddard.liu@dfrobot.com)`
- `@version V1.0`
- `@date 2020-12-29`
- `@get from https://www.dfrobot.com`
- `@url https://github.com/cdjq/DFRobot_ID809`
- `*/`
- `#include <DFRobot_BT401.h> #include <SoftwareSerial.h>`
```
SoftwareSerial btSerial(2, 3); //RX TX
```
```
DFRobot_BT401 bt;
```
- `void setup(){`
```
Serial.begin(115200);
btSerial.begin(115200);
```
```
/*Delay 2s for the BT401 to start*/
```
```
delay(2000);
while(!bt.begin(btSerial)){
```
```
Serial.println("Init failed, please check wire connection!");
```
```
delay(1000);
```
```
bt.setVOl(30);
```
```
bt.switchFunction(bt.eBluetooth);
}
```
```
void loop(){
//If a call comes, print phone number and answer it
```
https://wiki.dfrobot.com/Audio_BLE_SPP_Pass_Through_Module_Bluetooth_5.0_SKU_DFR0781
17/32
2024/5/15 16:27
Audio & BLE/SPP Pass-through Module Bluetooth 5.0 Wiki - DFRobot
`if(bt.getBtStatus() == bt.eCalling){ Serial.println(bt.getTelNumber()); delay(1000); //Answer bt.controltalk(bt.eAnswer);` Introduction `//Refuse to answer` Feature `//bt.controltalk(bt.eRejectCall);` Application `} //If you are on the phone, print the incoming phone number` Specification `if(bt.getBtStatus() == bt.eOnphone){` Dimension Diagram `Serial.print("On the phone:");` Board Overview `Serial.println(bt.getTelNumber());` Tutorial `delay(1000); //Hang Up` AT Command List `//bt.controltalk(bt.eHangUp);` BLE Pass-through `}` SPP Pass-through `}` FAQ More Documents
https://wiki.dfrobot.com/Audio_BLE_SPP_Pass_Through_Module_Bluetooth_5.0_SKU_DFR0781
18/32
2024/5/15 16:27
Audio & BLE/SPP Pass-through Module Bluetooth 5.0 Wiki - DFRobot
## Connection
Introduction Feature Application Specification Dimension Diagram Board Overview Tutorial AT Command List BLE Pass-through SPP Pass-through FAQ More Documents
## AT Command List
## Note:
https://wiki.dfrobot.com/Audio_BLE_SPP_Pass_Through_Module_Bluetooth_5.0_SKU_DFR0781
19/32
2024/5/15 16:27
Audio & BLE/SPP Pass-through Module Bluetooth 5.0 Wiki - DFRobot
- �. "\r\n is" omitted in all the commands below, and you need to add it to the end of the command in actual use. For example "AT+VOL=5\r\n", designate volume to "5".
- �. Default serial baud rate: 115200
Introduction
Feature
Application
## Volume Command
## Control
Specification
Dimension Diagram
Board Overview
Tutorial
AT Command List
BLE Pass-through
SPP Pass-through
FAQ
More Documents
|Control||||
|---|---|---|---|
|Command|Function|Description||
|AT+CA05|Designate volume to "5"|VolumeDegree: 00-30||
|AT+CE|Increase volume|||
|AT+CF|Decrease volume|||
|AT+CU00|Unmute|||
|AT+CU01|Mute|||
|AT+CU02|Mute & UnmuteSwitch|||
|AT+CS00|DisableDAC|DACoutput high impedance||
|AT+CS01|EnableDAC|DACis playing normally||
|Query||||
|Command|Function||Description|
|AT+QA|Query the volume of current device||Return “QA+30”, represent the host volume is 30|
## Query
https://wiki.dfrobot.com/Audio_BLE_SPP_Pass_Through_Module_Bluetooth_5.0_SKU_DFR0781
20/32
2024/5/15 16:27
Audio & BLE/SPP Pass-through Module Bluetooth 5.0 Wiki - DFRobot
## Working Mode Command
## Control
Introduction
Feature
Application Specification Dimension Diagram Board Overview
Tutorial
AT Command List BLE Pass-through
SPP Pass-through
|Control|||
|---|---|---|
|Command|Function|Description|
|AT+CM01|Bluetooth playback<br>mode||
|AT+CM02|"U-disk" playback mode|If there is no U-disk, return error information, and do<br>nothing|
|AT+CM03|"TF-card" playback<br>mode|If there is noTF-card, return error information, and do<br>nothing|
|AT+CM08|Idle mode|Release all sources, in waiting status|
FAQ
More Documents
## Query
|Query|||
|---|---|---|
|Command|Function|Description|
|AT+QM|Query the working mode of<br>current device|Return “QM+01”, means it is in “Bluetooth playback<br>mode”<br>01-Bluetooth;02-U-disk play mode;03-TFcard<br>play mode;09-idle|
## - - TF card or U disk Command
## Control
https://wiki.dfrobot.com/Audio_BLE_SPP_Pass_Through_Module_Bluetooth_5.0_SKU_DFR0781
21/32
2024/5/15 16:27
Audio & BLE/SPP Pass-through Module Bluetooth 5.0 Wiki - DFRobot
Introduction Feature Application Specification Dimension Diagram Board Overview Tutorial AT Command List BLE Pass-through SPP Pass-through FAQ More Documents
|Command|Function|Description|
|---|---|---|
|AT+AA00|Stop||
|AT+AA01|Play||
|AT+AA02|Pause||
|AT+AA03|Play&pause switch||
|AT+CC|Next||
|AT+CD|Last||
|AT+AA04|Fast forward||
|AT+AA05|Fast backward||
|AT+AA06|Play next file||
|AT+AA07|Play last file||
|AT+AA08|Delete the currently<br>playing file||
|AT+AB15|Play the 15th file of<br>the device|Refer to the order that the file is copied into<br>the device|
|AT+AF/MY_MUSIC/*.???|Repeat song in the<br>specified file|Repeat song in the specified file folder<br>“MY_MUSIC”<br>(* for wildcard, ??? for all files)|
|AT+AF/MY_MUSIC/test.mp3|Play song in the<br>specified file once|Play the file test.mp3 in file folderMY_MUSIC<br>once (Can use wildcard)|
https://wiki.dfrobot.com/Audio_BLE_SPP_Pass_Through_Module_Bluetooth_5.0_SKU_DFR0781
22/32
2024/5/15 16:27
Audio & BLE/SPP Pass-through Module Bluetooth 5.0 Wiki - DFRobot
Introduction
Feature
Application Specification Dimension Diagram Board Overview
Tutorial
AT Command List BLE Pass-through SPP Pass-through
|Command|Function|Description|
|---|---|---|
|AT+AC00|Repeat all|When both U-disk andTF-card are there,<br>repeat all files in the two devices|
|AT+AC01|Repeat songs in one<br>device||
|AT+AC02|Repeat one song||
|AT+AC03|Play songs randomly<br>in one device||
|AT+AC04|Repeat songs in file<br>folder|If the currently playing song is in the current<br>folder, repeat songs in this folder, otherwise,<br>invalid|
FAQ
More Documents
## Query
|Query|||
|---|---|---|
|Command|Function|Description|
|AT+M1|Query the physical serial<br>number of the currently<br>playing file in device|Return“M1+000002”,means the serial number of the<br>currently playing file is 2|
|AT+M2|Query the total number of<br>files in the current device|Return “M2+000010”, means the current device has 10<br>files in total|
|AT+MC|Query the current play<br>mode|Return “MC+00”, means repeat all<br>00-repeat all; 01-repeat songs in one device; 02-repeat<br>one song; 03-play songs randomly in one device;04-<br>repeat songs in a folder|
https://wiki.dfrobot.com/Audio_BLE_SPP_Pass_Through_Module_Bluetooth_5.0_SKU_DFR0781
23/32
2024/5/15 16:27
Audio & BLE/SPP Pass-through Module Bluetooth 5.0 Wiki - DFRobot
Introduction Feature Application Specification Dimension Diagram Board Overview Tutorial AT Command List BLE Pass-through SPP Pass-through FAQ More Documents
|Command|Function|Description|
|---|---|---|
|AT+MD|Query the currently playing<br>device|Return “MD+01”, means it is playing the song in the U-<br>disk|
|AT+MF|Query the currently playing<br>file name|Return “MF+test.mp3”, means the currently playing file<br>name is “test.mp3”|
|AT+MP|Query the currently playing<br>status|Return “MP+01”, means it is playing now<br>00-stop;01-playing;02-pause|
|AT+MT|Query the length of the<br>currently playing file|Return “MT+0000001D”, means the length of the<br>currently playing file is 0x1Ds|
|AT+MK|How long has the current<br>file been playing?|Return “MK+00000000”, the current file has been playing<br>for 0 second|
|AT+MV|Query the current online<br>device|Return “MV+04”,TF-card is online<br>00-both are not online; 01-U-disk is online; 02-TFcard is<br>online; 03-both are online|
|AT+MU|Device plug in/out message|Return “MU+03”, meansTF-card plug in<br>01-U-disk plug out; 02-U-disk plug in;03-TFcard plug in;<br>04-TFplug out|
## Bluetooth Audio Command
## Control
|Control||
|---|---|
|Command|Function|
|AT+CB|Play &Pause|
https://wiki.dfrobot.com/Audio_BLE_SPP_Pass_Through_Module_Bluetooth_5.0_SKU_DFR0781
24/32
2024/5/15 16:27
Audio & BLE/SPP Pass-through Module Bluetooth 5.0 Wiki - DFRobot
Introduction Feature Application Specification Dimension Diagram Board Overview
Tutorial
AT Command List
BLE Pass-through
SPP Pass-through
||Audio & BLE/SPP Pass-through Module B|
|---|---|
|Command|Function|
|AT+CC|Next|
|AT+CD|Last|
|AT+BT10086|Dial “10086”|
|AT+BA00|Dial back last phone number|
|AT+BA01|DisconnectBluetooth|
|AT+BA02|Refuse to answer|
|AT+BA03|Hang up|
|AT+BA04|Answer|
FAQ
More Documents
## Query
|Query|||
|---|---|---|
|Command|Function|Description|
|AT+TS|QueryEDRstatus|Return “TS+00”, means wait for pairing<br>00-wait for pairing; 01-Connected, idle; 02-<br>Playing music now; 03-Incoming call not<br>answered; 04-On the phone|
|AT+TT|QueryBluetooth incoming call phone<br>number(return automatically, once<br>every 2s)|Return “TT+10086”, means the incoming<br>number is 10086|
## BLE Command
## Control
https://wiki.dfrobot.com/Audio_BLE_SPP_Pass_Through_Module_Bluetooth_5.0_SKU_DFR0781
25/32
2024/5/15 16:27
Audio & BLE/SPP Pass-through Module Bluetooth 5.0 Wiki - DFRobot
||Introduction<br>Feature<br>Application<br>Specifcation<br>Dimension Diagram<br>Board Overview<br>Tutorial<br>AT Command List<br>BLE Pass-through<br>SPP Pass-through<br>FAQ<br>More Documents|Command||Function|Function|
|---|---|---|---|---|---|
|||AT+U0F000||Designate service UUIDasF000||
|||AT+U0F001||Designate attribute code 1 asF001, “write” +“monitoring”||
|||AT+U0F002||Designate attribute code 2 asF002, “write” +“monitoring”||
|||AT+U0F003||Designate attribute code 3 asF003, “write”, sendATcommand from phone to control<br>Bluetooth chip||
|||BLE Query||||
|||Command||Function|Description|
|||AT+TL||QueryBLE<br>Status(auto-return)|Return “TS+01”, means in idle state<br>00-Not connected; 01-Idle; 02-Broadcast; 03-Connected; 04-<br>Disconnect; 05-Monitoring enabled; 06-Scanning(host); 07-<br>Scanned(host)|
|||AT+T6||Query service UUID||
|||AT+T7||Query attribute<br>code 1||
|||AT+T8||Query attribute<br>code 2||
|||AT+T9||Query attribute<br>code 3||
https://wiki.dfrobot.com/Audio_BLE_SPP_Pass_Through_Module_Bluetooth_5.0_SKU_DFR0781
26/32
2024/5/15 16:27
Audio & BLE/SPP Pass-through Module Bluetooth 5.0 Wiki - DFRobot
## Setting Command
## Control
## Introduction
Most of the settings will take effect when repowering on the module.
Feature
Application
Specification
Dimension Diagram
Board Overview
Tutorial
AT Command List
BLE Pass-through
SPP Pass-through
FAQ
More Documents
## Common Setting
|CommonSetting|||
|---|---|---|
|Command|Function|Description|
|AT+CT05|Set baud rate to<br>115200|Parameter: 01-06(9600, 19200, 38400, 57600, 115200,<br>25600)|
|AT+CZ|Reset|Software reset|
|AT+CW|Restore factory<br>settings|Restore factory settings, clear all the previous<br>parameters|
|AT+CN01|Turn on hint tone|Play the tone when powering on or switching mode|
|AT+CN00|Turn off hint tone||
|AT+CJ01|Enable trigger playing|Stop when completed|
|AT+CJ00|Disable trigger playing||
|AT+CP00|EnterBluetooth mode<br>when powered on||
|AT+CP01|Enter idle mode when<br>powered on|Users need to send mode command|
|AT+CP02|Auto judge when<br>powered on|Play song in device if there is one, otherwise, enter<br>bluetooth|
https://wiki.dfrobot.com/Audio_BLE_SPP_Pass_Through_Module_Bluetooth_5.0_SKU_DFR0781
27/32
2024/5/15 16:27
Audio & BLE/SPP Pass-through Module Bluetooth 5.0 Wiki - DFRobot
||Introduction<br>Feature<br>Application<br>Specifcation<br>Dimension Diagram<br>Board Overview<br>Tutorial<br>AT Command List<br>BLE Pass-through<br>SPP Pass-through<br>FAQ<br>More Documents|Command|Function|Description|
|---|---|---|---|---|
|||AT+CR01|Enable auto-return<br>function of key<br>informatin|Key information will return back automatically<br>(Bluetooth status,every 0.5S,TF-card or U-disk, every<br>1S), for example: incoming call inforamtion|
|||AT+CR00|Disable auto-return<br>function of key<br>information||
|||AT+BDAUDIO|SetBluetooth name|Set bluetooth name as “AUDIO”|
|||AT+BE0000|SetBluetooth<br>connection password|SetBluetooth connection password as “0000”|
|||AT+BMDFROBOT|SetBLE Bluetooth<br>name|SetBLE Bluetooth name as “DFROBOT”|
|||AT+B101|Enable pair password||
|||AT+B100|Disable pair password|Password is not required for next connection|
|||AT+C401|Enable reconnect<br>when powered on|Auto connect the last paired device when powered on|
|||AT+C400|Disable reconnect<br>when powered on||
|||AT+C201|Enable information<br>auto return|Auto return information when powered on or switching<br>status|
|||AT+C200|Disable information<br>auto return|Chip returns information only when query actively; the<br>chip will not return "OK" when sending control<br>command|
https://wiki.dfrobot.com/Audio_BLE_SPP_Pass_Through_Module_Bluetooth_5.0_SKU_DFR0781
28/32
2024/5/15 16:27
Audio & BLE/SPP Pass-through Module Bluetooth 5.0 Wiki - DFRobot
Introduction Feature Application Specification Dimension Diagram Board Overview Tutorial AT Command List BLE Pass-through SPP Pass-through FAQ More Documents
|Command|Function|Description|
|---|---|---|
|AT+C101|EnableADkey|PA5 needs to pull up 22K|
|AT+C100|DisableADkey||
|UncommonSetting|||
|---|---|---|
|Command|Function|Description|
|AT+CK01|Enable auto switch to<br>Bluetooth|Play files inTFcard now, if there is audio or call on<br>Bluetooth, then auto switch toBluetooth|
|AT+CK00|Disable auto switch to<br>Bluetooth||
|AT+CG01|EnableBluetooth<br>background|ReleaseBluetooth when playing files inTFcard|
|AT+CG00|DisableBluetooth<br>background||
|AT+B201|EnableBluetooth call<br>function||
|AT+B200|DisableBluetooth call<br>function|Cannot call throughBluetooth|
|AT+B301|EnableBluetooth<br>audio function||
|AT+B300|DisableBluetooth<br>audio function|Connected, cannot play music|
https://wiki.dfrobot.com/Audio_BLE_SPP_Pass_Through_Module_Bluetooth_5.0_SKU_DFR0781
29/32
2024/5/15 16:27
Audio & BLE/SPP Pass-through Module Bluetooth 5.0 Wiki - DFRobot
Introduction
Feature Application Specification Dimension Diagram Board Overview Tutorial AT Command List BLE Pass-through SPP Pass-through FAQ More Documents
|Command|Function|Description|
|---|---|---|
|AT+B401|EnableBLEfunction||
|AT+B400|DisableBLEfunction|BLEname cannot be searched, the chip does not<br>broadcast out|
|AT+B501|EnableEDRfunction||
|AT+B500|DisableEDRfunction|The audioBluetooth name cannot be searched, the<br>Bluetooth audio play function disabled|
|AT+BS123456781234|SetBluetoothMAC<br>address|EDR MACaddress: 0x12 0x34 0x56 0x78 0x12<br>0x34<br>BLE MACaddress: the first byte of theEDR MAC<br>address + 1<br>BLE MACaddress: 0x13 0x34 0x56 0x78 0x12 0x34|
## Query
|Query|||
|---|---|---|
|Command|Function|Description|
|AT+QT|Query baud rate|Return “QT+05”, means the baud rate is 115200<br>01-06(9600, 19200, 38400, 57600, 115200,<br>25600)|
|AT+QN|Query hint tone|Return “QN+01”, means hint tone enabled<br>00-disable; 01-enable|
|AT+QK|Query auto switch toBluetooth|Return“QK+01”, means auto switch toBluetooth<br>function enabled<br>00-Disable; 01-Enable|
https://wiki.dfrobot.com/Audio_BLE_SPP_Pass_Through_Module_Bluetooth_5.0_SKU_DFR0781
30/32
2024/5/15 16:27
Audio & BLE/SPP Pass-through Module Bluetooth 5.0 Wiki - DFRobot
||Introduction<br>Feature<br>Application<br>Specifcation<br>Dimension Diagram<br>Board Overview<br>Tutorial<br>AT Command List<br>BLE Pass-through<br>SPP Pass-through<br>FAQ<br>More Documents|Command|Function|Description|
|---|---|---|---|---|
|||AT+TE|Query password||
|||AT+TD|QueryBluetooth name||
|||AT+TA|QueryBluetoothMACaddress||
|||AT+TM|QueryBLEname||
|||AT+TB|QueryBLE MACaddress||
|||AT+T1|Query whether pair password<br>enabled|Return “T1+01”, enabled<br>00-disable;01-enable|
|||AT+T2|Query whetherBluetooth call<br>function is enabled|Return “T2+01”, enabled<br>00-disable;01-enable|
|||AT+T3|Query whetherBluetooth audio<br>function is enabled|Return “T3+01”, enabled<br>00-disable; 01-enable|
|||AT+T4|Query whetherBLEfunction is<br>enabled|Return “T4+01”, enabled<br>00-Disable; 01-Enable|
|||AT+T5|Query whetherEDRfunction is<br>enabled|Return“T5+01”, enabled<br>00-disable;01-enable|
## - BLE Pass throu gh
To use BLE Pass-through, please connect to BT401-BLE
## - SPP Pass through
To use SPP Pass-through, please connect to BT401-AUDIO
https://wiki.dfrobot.com/Audio_BLE_SPP_Pass_Through_Module_Bluetooth_5.0_SKU_DFR0781
31/32
2024/5/15 16:27
Audio & BLE/SPP Pass-through Module Bluetooth 5.0 Wiki - DFRobot
## FAQ
Introduction
Feature
Application
For any questions, advice or cool ideas to share, please visit the DFRobot Forum (https://www.dfrobot.com/forum/).
Specification
Dimension Diagram
## More Documents
Board Overview
Tutorial Get Audio BLE Pass-Through Module Bluetooth 5.0 (https://www.dfrobot.com/product-2177.html) F AT Command List from DFRobot Store or DFRobot Distributor. (https://www.dfrobot.com/distributor) BLE Pass-through Turn to the Top SPP Pass-through
FAQ
More Documents
https://wiki.dfrobot.com/Audio_BLE_SPP_Pass_Through_Module_Bluetooth_5.0_SKU_DFR0781
32/32
Updated at April 28, 2026
DFRobot is a globally recognized provider of open-source hardware and robotics components, dedicated to making electronics accessible to makers, educators, and engineers. Known for their focus on innovation and user-friendly design, the company has built a comprehensive ecosystem of development boards, sensors, and electronic accessories that streamline the prototyping process from concept to completion. Our selection of DFRobot components features essential power management accessories, with a specific focus on their reliable battery holders. Designed to provide secure, stable power connections, these holders are crucial for keeping portable devices, custom robotics, and remote sensor nodes running efficiently. They are manufactured to ensure a snug fit and consistent electrical contact, minimizing the risk of power disruption in active environments. Built with durability and practical application in mind, DFRobot's accessories are an excellent choice for both rapid prototyping and robust educational projects. Their commitment to reliable hardware ensures that developers and hobbyists alike have the dependable foundational components necessary to bring their innovative electronic designs to life.
About Novapart
Novapart is a B2B electronic component broker specialising in stock shortages and cost reduction. We source hard-to-find parts and identify compliant alternatives across a catalogue of 410,000+ components from 500+ manufacturers.
Learn more →Stock Shortage Specialist
When a component is unavailable, discontinued or has an unacceptable lead time, we tap into our network of vetted European and Asian distributors to source what you need — without compromising on quality or traceability.
Request a quote →Compliant Alternatives
We identify pin-to-pin, electrically equivalent substitutes that meet the same certifications (RoHS, AEC-Q100, REACH) as your original specification — validated against datasheets, not just part numbers. Often at a lower cost.
BOM Analysis service →