BT201 Module - KT1025A - B - User Manual - V2.3
BT201 Module - KT1025A - B - User Manual - V2.3
1
Shenzhen Qingyue Electronics Co., Ltd. V2.3
Catalog............................................................................................................................................................................2
1. overview............................................................................................................................................................................5
1.1 brief introduction....................................................................................................................................................5
1.2 Brief Description of Functions and Characteristics - Support for AT Serial Port Instruction Control.................... 5
1.3 Professional Terminology Description....................................................................................................................5
1.4 Product application scenarios................................................................................................................................ 6
1.5 A brief description of the function of the module [using serial port control is not necessary to look at]........... 6
1.6 Quick Start Description of Modules....................................................................................................................... 7
2. Programme description.................................................................................................................................................... 8
2.1 Parameter description............................................................................................................................................ 8
3. Serial Communication Protocol3. Serial Communication Protocol................................................................................. 9
3.1 Communication format.......................................................................................................................................... 9
3.2 Communication instructions................................................................................................................................ 10
3.2.1 Common function-related control instructions........................................................................................ 10
3.2.2 Music-related control instructions............................................................................................................ 11
3.2.3 Bluetooth-related control instructions..................................................................................................... 12
3.2.4 Common function-related query instructions.......................................................................................... 14
3.2.5 Music-related query instructions.............................................................................................................. 14
3.2.6 Bluetooth-related query instructions........................................................................................................15
4. Detailed Description of Serial Instructions - Public Section...........................................................................................17
4.1 Data returned actively by modules...................................................................................................................... 17
4.1.1 Data returned by call on chip [QA] [QT] [QM] [QN] [QK] [QG] [Q1]........................................................ 17
4.1.2 The chip receives the successful return of serial instructions [OK]..........................................................17
4.1.3 Return of Error Information on Chip [ER]................................................................................................. 18
4.2 Detailed description of the public part - control instructions.......................................................................... 18
4.2.1 Play volume of specified chip [CA] [CB] [CC] [CD] [CE] [CF]......................................................................18
4.2.2 Pot Rate of Designated Chip [CT].............................................................................................................. 19
4.2.3 Designated chip mode [CM]......................................................................................................................19
4.2.4 Setting module silence and DAC closing and opening details [CU] [CS]...................................................20
4.2.5 Mode Description for Setting Up Automatic Entry on Chip [CP]..............................................................20
4.2.6 Setting the function of chip auto-return data to turn off and turn on [CR]............................................. 20
4.2.7 Set TF Card U Disk Play Once Stop or Sequential Loop Play [CJ].............................................................. 21
4.2.8 Recording function - whether to turn on [RE]....................................................................................... 21
4.2.9 Set whether to turn on the prompt [CN]............................................................................................... 21
4.2.10 Setting EQ [CQ] - Audio is not supported for the time being................................................................. 21
4.2.11 Set Bluetooth Auto Switch to Background [CK]...................................................................................... 22
4.2.12 Set whether Bluetooth opens the background [CG]...............................................................................22
4.2.13 Set whether the key function is turned off and turned on [C1] [C2] [C3] [C4]...................................... 22
4.3 Detailed description of the public section -- query instructions...................................................................... 23
4.3.1 Common status query return instructions [QA] [QT] [QN] [QK].............................................................. 23
4.3.2 Queries for working patterns and instructions returned [QM]................................................................ 23
5. Detailed description of serial instructions--Music part................................................................................................. 24
5.1 Detailed description of music-related control instructions................................................................................. 24
5.1.1 UData returned after initialization of disk or TF card [M1] [M2] [MT] [MK] [MF]................................... 24
2
Shenzhen Qingyue Electronics Co., Ltd. V2.3
5.1.2 UInformation returned by disk or TF card after playback [MV] [MD] [MO].............................................25
5.1.3 TFCard or U Disk - PC Sound Card - Insert and Pull Back Information [MU]............................................ 25
5.1.4 TFCard or U-Disk Instructions - Some Basic Functions in Common Use [AA].......................................... 25
5.1.5 TFCard or U-Disk Instructions - Song Sequence Play [AB]........................................................................ 26
5.1.6 TFCard or U-Disk Instructions -- File Folder Loop Play in the specified Path [AF].................................... 26
5.1.7 TFCard or U-Disk Instructions -- Play a file in the specified path once [AJ]..............................................27
5.1.8 TFCard or U-Disk Instructions - Specified Play Mode Single All Random [AC]......................................... 27
5.1.9 Recording function - TF card or U disk - simple application [RC]..............................................................27
5.1.10 TFCard or U-Disk Instruction -- File Read Data TXT Read [AR]................................................................29
5.1.11 TFCard or U disk reads TXT and other formats of file serial port to issue [advanced function]............ 30
5.1.12 TFCard or U-Disk Instructions -- Designate Path to Delete Files [AL]..................................................... 30
5.1.13 Recording function -- TF card or U disk -- specify folder file name to record [RP] [RB] [RV]................. 31
5.2 Detailed description of music-related query instructions................................................................................... 32
5.2.1 TF Or the U disk queries the current playing file name [MF]................................................................... 32
5.2.2 TF Or the time processing [MT] [MK] of the U disk querying the currently playing file.......................... 33
6. Detailed description of serial instructions--Bluetooth part........................................................................................... 34
6.1 Bluetooth Relevance-Control Instruction-Detailed Description.......................................................................... 34
6.1.1 Set Bluetooth's name and password [BD] [BE] [BM]................................................................................ 34
6.1.2 Setting up Bluetooth Protocol Function [B1] [B2] [B3].............................................................................34
6.1.3 Enabling Bluetooth bles and EDRs [B4] [B5]............................................................................................. 35
6.1.4 Designated telephone number to call [BT]............................................................................................... 35
6.1.5 Bluetooth Audio Related Control Command [BA].................................................................................... 35
6.1.6 MAC Settings for Bluetooth--EDR--BLE[BS]...............................................................................................35
6.2 Detailed description of Bluetooth-related query instructions.............................................................................36
6.2.1 Bluetooth Current Status Return - EDR Simple State [TS]........................................................................ 36
6.2.2 Bluetooth Current Status Return - BLE Simple State [TL]......................................................................... 36
6.2.3 Bluetooth Call Number Return [TT]6.2.3 Bluetooth Call Number Return [TT]........................................ 36
7. Detailed description of Bluetooth transmission---BLE...................................................................................................38
7.1 BLEThe Legendary Explanation............................................................................................................................ 38
7.2 BLEUUID description.............................................................................................................................................38
7.3 BLEDemonstration of the effect........................................................................................................................... 38
7.4 BLETest instructions.............................................................................................................................................. 38
7.5 BLETest Instruction of Bluetooth Chip for Mobile Terminal Control....................................................................39
7.6 BLEUUID instructions modified by AT instructions.............................................................................................. 39
7.7 BLETime Interval of Data Pass-through Packets...................................................................................................40
7.8 BLEBroadcast Packet Modification Description [UR] [TR]....................................................................................40
8. Detailed description of Bluetooth transmission--- SPP..................................................................................................41
8.1 SPP The Legendary Explanation........................................................................................................................... 41
8.2 SPP Demonstration of transmission effect...........................................................................................................41
8.3 SPP Transmit test instructions.............................................................................................................................. 41
9. Module update firmware program and serial port test instructions.............................................................................42
9.1 Description of firmware for module updates........................................................................................42
9.2 Possible doubts or problems in module updates -- unsuccessful updates .........................................................42
9.3 Explanation of Module Serial Port Debugging Assistant .....................................................................................43
10. FAQ................................................................................................................................................................................ 44
11.The Difference between KT1025A Chip and KT1025B Chip.......................................................................................... 45
3
Shenzhen Qingyue Electronics Co., Ltd. V2.3
12. Referenced Program Example...................................................................................................................................... 46
13. Notes that need to be modified................................................................................................................................... 47
14. BQB Certificate and test instructions for FCC...............................................................................................................48
14.1 Bluetooth BQB Authentication Instructions.......................................................................................................48
14.2 Explanation of Bluetooth FCC Frequency Fixing Test.........................................................................................48
15. Disclaimer..................................................................................................................................................................... 49
16. Version History16. Version History............................................................................................................................... 50
17. Qingyue Bluetooth Series Products Recommendation................................................................................................52
17.1 Bluetooth BT201 Bluetooth Scheme.................................................................................................................. 53
17.2 Bluetooth BT321F Bluetooth Transmitting Scheme...........................................................................................53
17.3 Bluetooth BT301 Bluetooth Audio Scheme....................................................................................................... 54
17.4 Bluetooth BT401 Bluetooth Audio Scheme....................................................................................................... 54
4
Shenzhen Qingyue Electronics Co., Ltd. V2.3
1. overview
KT1025A The chip is a four-in-one single chip that supports Bluetooth, U disk and TF card. The highlight
of the chip is to support non-destructive music playing, simple serial AT control function, BLE
transmission and SPP transmission function.It greatly reduces the difficulty of developing embedded
Bluetooth in other products.
Remarks:
1. The BT201 module scheme is only a test board. Later shipment we use chips or other modules. The software
is completely seamless and compatible.
2. The BT201 module scheme has a very convenient interface to upgrade firmware, which can be seen in
Chapter 9.There are also many quick application documents.
1.2 Brief Description of Functions and Characteristics - Support for AT Serial Port Instruction Control
function Remarks
Public function It refers to the functions that all modes have, such as adjusting volume, muting,
switching mode, resetting, etc.
Music, MUSIC, It refers to inserting TF and U disc playback function.
Equipment
Bluetooth mode Bluetooth here supports both audio and BLE and SPP data transmission.
BLE This is a standard protocol for Bluetooth communication, and Bluetooth audio is
independent of each other.
SPP This is also a link of Bluetooth communication protocol, and Bluetooth audio is in
the same place.
transparent It means what the mobile phone sends to Bluetooth, which is sent through serial port,
5
Shenzhen Qingyue Electronics Co., Ltd. V2.3
transmission and vice versa.
serial port It refers to the external interface of Bluetooth chip, that is UART interface.
Backstage This means that when playing music, Bluetooth resources are not released and Bluetooth
data communication is still possible.
1.Bluetooth For example: Bluetooth speaker, Bluetooth headset, car Bluetooth, etc.
Audio Products
2.Bluetooth For example: Intelligent door lock, vehicle OBD detection, intelligent car, printer,
Digital Products medical equipment data acquisition
3.Bluetooth For example: Bluetooth Music Lamp, Bluetooth Broadcasting Note: Require ultra-low
Digital and power consumption, choose this scheme is not appropriate.
Audio Products
1.5 A brief description of the function of the module [using serial port control is not necessary to look at]
6
Shenzhen Qingyue Electronics Co., Ltd. V2.3
6. The module has its own indicator. It is flash when entering Bluetooth. The connection success is
always bright and the playback is slow flash.
If only the ordinary function is a simple Bluetooth player, then the superfluous function can be
ignored directly. What we do is fully compatible.
7
Shenzhen Qingyue Electronics Co., Ltd. V2.3
2. Programme description
The chip chooses SOC scheme, integrates a 32-bit MCU and an aDSP specially for audio decoding. Hard
decoding is adopted to ensure the stability and sound quality of the system.Smaller package size is more
suitable for embedding other products.
Name parameter
1Supporting all bit rates 11172-3 and ISO13813-3 layer3 audio decoding
3Support Normal, Jazz, Classic, Pop, Rock and other sound effects
8
Shenzhen Qingyue Electronics Co., Ltd. V2.3
working temperature [-40 degrees] - [80 degrees]
humidity 5% ~ 95%
As a common communication in the field of control, AT serial instructions are optimized and customized,
which greatly simplifies the user's difficulty. Please operate strictly according to the instruction
format we give.
Supporting asynchronous serial communication mode, receiving command communication standard sent by
PC through serial port: data bit:8115200 BPS - Users can set instructions through serial ports as
detailed in 4.2.2
Stop bit: 1 check bit: none flow control: none
Note: All instructions are designed regularly, not randomly divided, you can find the rules below.
9
Shenzhen Qingyue Electronics Co., Ltd. V2.3
Common AT+C? Common instructions begin with AT + C, followed by "?"It is the detailed
Instruction function command.
Characteristics
Musical AT+A? Music instructions begin with AT + A, followed by "?"It is the detailed
Instruction function command.
Characteristics
Bluetooth AT+B? Bluetooth instructions begin with AT + B, followed by "?"It is the
instruction detailed function command.
characteristics
10
Shenzhen Qingyue Electronics Co., Ltd. V2.3
AT+CT set baud rate There are parameters later, see 4.2.2 for details.
AT+CM Setup mode There are parameters later, see 4.2.3 for details.
AT+CU Set mute There are parameters later, see 4.2.4 for details.
AT+CS Setting DAC High Resistance There are parameters later, see 4.2.4 for details.
AT+CZ Chip reset Soft Reset of Chip
Restore factory settings and clear all previously remembered
AT+CW
Chip Recovery Exit Settings parameters
AT+CP Power on mode There are parameters later, see 4.2.5 for details.
The key parameters of the chip will be returned automatically.
AT+CR
Automatic Return Function Here it can be turned off. See 4.2.6 for details.
AT+CJ Mono Trigger Play See 4.2.7 for details.
AT+CN Set the prompt tone See 4.2.9 for details.
AT+CQ Setting Play EQ See 4.2.10 for details.
Setting Bluetooth Switching
AT+CK
Background See 4.2.11 for details.
Set the button function to
AT+C1
close See 4.2.13 for details.
AT+C2 Chip Actively Returns Data See 4.2.14 for details.
AT+C3 Retain See 4.2.15 for details.
AT+C4 Whether Bluetooth Calls Back See 4.2.16 for details.
14
Shenzhen Qingyue Electronics Co., Ltd. V2.3
Time when the current file has
AT+MK
been played
AT+MV Current on-line equipment See 5.1.2 for details.
Data returned after the current This is the active return of the chip, no query is
AT+MO
playback needed. See 5.1.2 for details.
AT+MU Insert and unplug device messages See 5.1.3 for details.
15
Shenzhen Qingyue Electronics Co., Ltd. V2.3
Bluetooth Query - Query if
AT+T2
there is a call The default is hfp, or Bluetooth calls.
Bluetooth Query - Query
AT+T3
whether to bring A2DP The default is a2dp, or Bluetooth audio
Bluetooth Query -- Query
AT+T4
whether to bring ble To be determined, the default is with ble functionality
Bluetooth Query - Query with
AT+T5
EDR To be determined, the default is EDR
AT+T6 Query Service UUID For details, see 7.6
AT+T7 Query signature 1
AT+T8 Query signature 2
AT+T9 Query signature 3
16
Shenzhen Qingyue Electronics Co., Ltd. V2.3
The chip will return data in key places.Users can control the working status of the chip
On-chip Initialization Successful Data See 4.4.1 for details.
The chip successfully receives the ACK See 4.4.2 for details.
returned from the instruction (response)
Error message return See 4.4.3 for details.
4.1.1 Data returned by call on chip [QA] [QT] [QM] [QN] [QK] [QG] [Q1]
AT+VER2.3-2019051 This represents the firmware version and the last update date.Because you want to
7 add functionality and bug fixes, it changes
QA+30\r\n The volume returned by power on the chip is level 30. See 4.2.1 for details.
QM+00\r\n The "Bluetooth mode" when the power returns to the mode on the chip is detailed
in 4.2.3.
QN+01\r\n On-chip default start prompt sounds, such as Bluetooth status prompt sounds, see
4.2.9 for details.
QK+01\r\n The chip supports non-Bluetooth state. Bluetooth audio is automatically switched
to Bluetooth. See 4.2.11 for details.
QG+01\r\n The default chip is to turn on Bluetooth backstage, see 4.2.12 for details.
Q1+01\r\n The default function of the chip is to turn on the AD button. See 4.2.13 for details.
....... Others are recording, and some information about Bluetooth. The answer can be found
in the chapters of the Bluetooth section.
1The above parameters are the active return of power on the chip to let the user know that the
initialization of the chip is successful. The above data chip only returns once when power on.
2The user sends control instructions. It's better to wait until the above instructions are received
before starting.
4.1.2 The chip receives the successful return of serial instructions [OK]
OK\r\n Chip Receives Instructions and Returns to Host--Only Compete to Send Control
Instructions to Host
1This data is only the response that the chip returns to the host, usually the response that the host
sends control instructions, but the query instructions will not be returned.
17
Shenzhen Qingyue Electronics Co., Ltd. V2.3
3If a query instruction is sent by the host, the result of the query is returned.The host sends control
instructions and responds with "OK"
Following is a detailed description of some possible misunderstandings about public functions. Public
functions refer to the parts that each task will be processed at the same time. Priority within the chip
is the highest.
4.2.1 Play volume of specified chip [CA] [CB] [CC] [CD] [CE] [CF]
1The maximum volume of the system is 30, and the minimum is 0. The chip will automatically memorize
when power fails.
2Each mode has the same volume, that is to say, the volume is the volume of the whole system, not the
volume of a single mode.
3Users have two choices, they can use the volume + [CE] and the volume - [CF] directives directly,
or they can specify the volume [CA] by themselves.
4CB instruction is only valid in Bluetooth connection or in TF card U disk playing mode.Bluetooth failed
to connect successfully, sending this instruction is invalid
18
Shenzhen Qingyue Electronics Co., Ltd. V2.3
In Bluetooth music, if the phone does not turn on the player, sending this instruction may also be
effective.
1.Once the baud rate is set, the chip will remember.Next time you turn on, the baud rate becomes what
you set it to be.
2.After setting the baud rate, please wait for 1 second, then send the reset command, or restart the
power, and re-initialize the serial port settings of the chip.
3.If you want to restore the default baud rate, please send the command to restore the factory settings.
4.At this time, the chip will automatically erase all configurations.
5.Because the main frequency of our chip is very high, so try to set the baud rate of the serial port
as high as possible, the higher the better.
6.Baud rate is low, when playing music, sending instructions, there will be silk noise, because the
serial port interrupts the interruption of understanding code.
19
Shenzhen Qingyue Electronics Co., Ltd. V2.3
4.2.4 Setting module silence and DAC closing and opening details [CU] [CS]
AT+CU00\r\n un-mute
AT+CU01\r\n Mute
AT+CU02\r\n If it is silent at present, it will be cancelled.Otherwise, silence.
AT+CS00\r\n Turn off DAC, when DAC output is high resistance
AT+CS01\r\n Open the DAC and the DAC will play the sound normally.
1.The silence of the chip refers to the continuation of the current playback, just adjust the silence
to 0, you can't hear the sound.
2.Closing DAC is equivalent to completely disconnecting DAC. The purpose of this is that if the user
needs to do external sound input function, then the sound source of external sound input can be directly
connected to the DAC of the chip and the DAC can be turned off. Then the chip will not absorb or interfere
with external sound input.
3.The purpose of closing DAC is to make it easy for users to hang FM chips or input voice.
4.Note that after the DAC is turned off, if the chip needs to be restored to play, it needs to open
the DAC or send the specified other mode.
4.2.6 Setting the function of chip auto-return data to turn off and turn on [CR]
1.If you don't want to return a message every half a second in Bluetooth, you can turn it off with
this command.
2.You don't want a TF card or a U disk, and you can turn it off by returning messages every second.
20
Shenzhen Qingyue Electronics Co., Ltd. V2.3
4.2.7 Set TF Card U Disk Play Once Stop or Sequential Loop Play [CJ]
1.Recording function is a minority application, so we use a hidden scheme. If you don't set it
to open, it will be closed by default.
2.After the instruction setting is opened, the chip will be powered down and saved. Next time, it
will not need to be set up again.
AT+CN01\r\n Turn on -- The chip will automatically play the prompt sound.
AT+CN00\r\n Turn off -- the chip will turn off the prompt sound at this time -- power
off and save
1By default, the chip has prompt tone, which is when booting or switching mode. If it is not needed,
it can be turned off.
2After the instruction setting is opened, the chip will be powered down and saved. Next time, it will
not need to be set up again.
4.2.10 Setting EQ [CQ] - Audio is not supported for the time being
1.Sound effect is fixed, setting is not saved, every power-on is the default sound effect, that is,
the first.
2.Sound effect is global, playing MP3 or Bluetooth is effective.
3.Description: This function is temporarily retained
21
Shenzhen Qingyue Electronics Co., Ltd. V2.3
4.2.11 Set Bluetooth Auto Switch to Background [CK]
1.If Bluetooth has audio or telephone, we will switch to Bluetooth by default, because Bluetooth is
running in the background and memory resources have not been released.
2.To add this instruction is to satisfy the requirement that Bluetooth audio or calls are available
without switching to TF card.
3.TF card is currently playing. If Bluetooth is connected, the sound of TF card will be interrupted
slightly.
4.This function does not affect Bluetooth's BLE and SPP functions
5.On-chip Telecom will automatically return to QK+01, which represents the current default opening.
1Our basic function is that Bluetooth actually exists in memory for a long time, so even if you play
TF card, you can normally search for Bluetooth.
2The purpose of this is to make Bluetooth data transmission effective in all modes
3In order to meet the requirement of "Bluetooth Background Running" conveniently, we add this
instruction, which will not take effect until the power is cut off.
4In this way, Bluetooth can be completely released when playing TF card. Similarly, Bluetooth data
transmission is only effective in Bluetooth mode.
5On-Chip Telecom will automatically return to QG+01, representing the default current Bluetooth
running background.
4.2.13 Set whether the key function is turned off and turned on [C1] [C2] [C3] [C4]
AT+C100\r\n Close the AD button - 14 feet of the chip can be pulled up without 22K
AT+C101\r\n Turn on the AD button - the 14 of the chip must be pulled up 22K
AT+C200\r\n When the chip is turned off, the active return information will be returned when the
chip is powered on or when the state is switched on. This is turned off.
AT+C201\r\n When the chip is turned on, it will actively return information when the chip is powered
on or when the state is switched on. The default is this.
AT+C300\r\n Retain
AT+C301\r\n Retain
AT+C400\r\n Bluetooth is set to power on and not return
AT+C401\r\n Bluetooth is set to call back to the last pair of devices, the main contention for
audio default is this
22
Shenzhen Qingyue Electronics Co., Ltd. V2.3
And power-off preservation, the next power-on will take effect.
On-chip Telecom will automatically return to Q1+01, which represents the default function of opening
AD keys.
4.3.1 Common status query return instructions [QA] [QT] [QN] [QK]
1.AT+QA is a good command to understand. See the setting volume section in 4.2.1 for details.
2.AT+QT is a query instruction that is well understood. See Chapter 4.2.2 for details.
3.AT+QK
AT+QM\r\n The chip will return "QM+01r\n", which means that the return mode is "Bluetooth mode".
QM+00 On-chip power is empty mode, so return to 00
QM+01 Represents Bluetooth Mode
QM+02 U-Disk Play Representing Music Mode
QM+03 TF Card Playing Representing Music Mode
QM+04 SPIFLASH Play on behalf of Music Mode - This version is not supported
QM+05 Representational AUX External Sound Input Mode - This version does not support
QM+06 Input mode of representative sound PC sound card
QM+07 Representational FM Radio Mode
QM+08 Representational sound REC recording mode
QM+09 Represents fake shutdown mode, i.e. idle mode
23
Shenzhen Qingyue Electronics Co., Ltd. V2.3
The function of MUSIC only includes reading U disk and playing TF card. The power-off storage part
is built in the chip, which can store the following information.
1.The physical number of the song played by the U disk, the breakpoint information currently played,
and the U disk and SD card, both of which support insertion and start playing.Post interpolation priority
2.The physical number of the song played by TF card, the breakpoint information currently played,
that is, every time the power is off, the chip will automatically go to the breakpoint and start playing.
5.1.1 UData returned after initialization of disk or TF card [M1] [M2] [MT] [MK] [MF]
1.The chip will return the above information at the beginning of playback
M1+0000000E
The file playing by the current device is 0x0E
M2+0000000F The total number of files on the current device is 0x0F. Note that it is a legitimate
audio file.
24
Shenzhen Qingyue Electronics Co., Ltd. V2.3
MT+0000001E
The total time of the current file is 0x1E seconds
MK+00000004
The current file has been played to 0x04 seconds
MF+XXXXXXX
The name of the file currently playing is xxxxx.Here the file name is complete
5.1.2 UInformation returned by disk or TF card after playback [MV] [MD] [MO]
MV+04 This refers to the on-line equipment, refers to the TF card on-line, that is, BIT (2)
MD+04 This refers to the current work of the TF card, that is, BIT (2)
MO+00000005 The current play is the fifth song.
Here the U disk occupies the 0th place, TF occupies the 2nd place.
= 1 stands for online, = 0 stands for offline.At any time, only one device is working, playing music.On-line
is just physical on-line.
5.1.3 TFCard or U Disk - PC Sound Card - Insert and Pull Back Information [MU]
5.1.4 TFCard or U-Disk Instructions - Some Basic Functions in Common Use [AA]
1"Stop" means to stop the current file and start from scratch when playing."Pause" is to stop at the
current time, and then play from this location.
2Upper and lower folders are valid only if there are folders in your device, otherwise they are invalid.
3,AT+AA08 This command refers to deleting files currently playing
25
Shenzhen Qingyue Electronics Co., Ltd. V2.3
5.1.5 TFCard or U-Disk Instructions - Song Sequence Play [AB]
5.1.6 TFCard or U-Disk Instructions -- File Folder Loop Play in the specified Path [AF]
26
Shenzhen Qingyue Electronics Co., Ltd. V2.3
5.1.7 TFCard or U-Disk Instructions -- Play a file in the specified path once [AJ]
5.1.8 TFCard or U-Disk Instructions - Specified Play Mode Single All Random [AC]
1.If you only need a single song cycle and all the cycles, you can just choose what you need.Redundant
can be ignored
2.Full cycle refers to two device cycles, provided that you have two devices online, and if there is
only one device, it is still a device cycle.
3.A single device is a device.Circulate only within this device
4.Folder loops. If the currently playing track is in the folder, he will play the folder loops, otherwise
it will be invalid.
1. Note that the recording function is turned off by default. It needs to be turned on by instruction.
The next time the power is on, it will be turned on by default. See 4.2.8.
2. If recording is required, the device must be on-line and inserted into TF card or U disk to take
effect.The state of the recording can also be seen in the indicator lamp. Refer to the BT201 module.
(1) Recording flash, stop state is slow flash, pause state is always bright
(2)The PP key of the test board is to start recording and pause.The Mode key is short-click switch
mode and long-click delete recording.
27
Shenzhen Qingyue Electronics Co., Ltd. V2.3
2. You must first specify that you enter the recording state and wait, then send the instruction to
start recording. At this time, the recording will start automatically.
(1) Sampling rate of MP3, 128KBS
(2) Recording files are generated under the "KT_REC" folder
3.The recording process can be paused, then continue recording, send RT02
4.If the recording is completed and no playback is needed, send 03 instructions, and then stop.
(1) If you want to play, issue 04 instructions, which will automatically stop, and then go to play
the just recorded file.
(2) If you have finished recording, you must specify to switch to the mode of work you need, otherwise
the current resources will still be reserved for the recording thread.
(3) After entering MUSIC, you can specify the path to play the previous recordings and check the rules
of finding the generated recordings in detail.
After entering music, you can still delete files, see 5.1.4.Note that all recordings must be played
in a playback state.
5.In the recording process, the chip will automatically return to the current recording state when
the state changes.
(1) RC+00 -- Represents the stop state of recording RC+01 -- Represents the start state of recording.
(2) RC+02 -- Represents the pause state of recording RC+03 -- Represents the broadcast state of
recording.
(3) RC+04 -- Represents the state of completion of recording and playback RC+05 -- Represents the state
of completion of recording and playback.
(4) RC+06 -- Represents deletion of the just recorded state RC+07 -- Represents completion of recording
initialization -- enters the state of recording return.
6.Recording is in accordance with the record file will be fixed under the KT_REC folder, it is impossible
to change.The newly added files may be numbered FILE0001 - FILE9999 in turn.Rules for folder and file
name generation
7.Every time the recording is opened, the files in KT_REC will be retrieved. Starting from 0001, if
0001 exists, 0002 will be generated. If 0002 exists, 0003 will be generated. It will be judged in this
way until it finds the file name that does not exist, then it will start recording and generating
recording files.
At the same time, there is some information when generating recorded files.
1. Existing filename RF+
2. The newly generated file name, RN + is shown in the following screenshot
28
Shenzhen Qingyue Electronics Co., Ltd. V2.3
5.1.10 TFCard or U-Disk Instruction -- File Read Data TXT Read [AR]
1Principle Reference 5.1.6, which is not explained here.After sending this instruction, the chip stops
playing the current music.
2Serial ports will be sent in the form of hexadecimal.Attention is sent one to one.Notice the
corresponding character "A" of 0x41 in the TXT shown above.Among them, 0x42 pairs of characters "B".
3If the file to be read is less than 512 bytes, then read once and exit.Music stops at this point.
4If the file to be read is greater than 512 bytes.For user's convenience, we set it to read 512 bytes
once, and then forward it to the next 512 bytes with a delay of 500 ms.Until the front part is
finished.Convenient for users to save while collecting
6. There is no requirement for file type. Users can either be txt, bin or any other. Here, TXT is
used as an example to illustrate.
7. The more content of TXT file, the longer time it takes. The actual reading time is based on the
test.It reads 512 bytes at a time, up to 2 ms.
8. When the user needs to read the file, the serial port can send instructions.Only after the
initialization of U disk or TF card is completed.
9. Error ER6 is returned if the read fails or the file does not exist.See 4.1.3 for details.If read
successfully, the corresponding data will be returned.
Above is the effect of the actual test as shown in the above three figures.
29
Shenzhen Qingyue Electronics Co., Ltd. V2.3
5.1.11 TFCard or U disk reads TXT and other formats of file serial port to issue [advanced function]
1. TXT documents must exist under the "USB_UPDA" folder and be named "read.txt".This function is automatic
reading.
2. If the file you need to read is a bin file, the same is true.The file to be read must be renamed read.txt
3. All files are readable, but please note that the name must be changed again.
See "19" under our other document "11 Functional Manual Quick Application" folder for details.
1. Deleting can only delete files, but can not delete a folder at a time. If a folder has more than one
file, it needs to send deletion commands many times.
2. There are two ways to delete files. This is only the first way.Another way is to refer to Chapter
5.1.4.AT+AA08
30
Shenzhen Qingyue Electronics Co., Ltd. V2.3
5.1.13 Recording function -- TF card or U disk -- specify folder file name to record [RP] [RB] [RV]
AT+RB00 Setting Recording Bit Rate of 16 KBS AT+RB05 Setting Recording Bit Rate 96 KBS
AT+RB01 Setting Recording Bit Rate 24 KBS AT+RB06 Setting Recording Bit Rate 128kbs
AT+RB02 Setting recording bit rate 32 KBS AT+RB07 Setting recording bit rate 144 KBS
AT+RB03 Setting recording bit rate 48 KBS AT+RB08 Setting Recording Bit Rate 160kbs
AT+RB04 Setting recording bit rate 64 KBS
AT+RV35 The gain of setting MIC is 35.Mic's recording gain is 0 - 63, default is 35.
The increase of setting MIC is 63.The recommended value is between 30 and 40, depending
AT+RV63
on the actual test.
1. Recording must be generated under the folder, not in the root directory.
(1) The sampling rate of recording is fixed at 48KHZ.
(2) Files are automatically packaged into MP3 format. The volume and sound quality are the best.
2.For example, the serial port sends AT+RP/KT-REC/20190506. The processing flow of the chip is as
follows.
(1) The chip will get the path of / KT-REC/20190506, and then get the name of the folder "KT-REC".
(2).Here the user can modify it to 123456. The length must be 6 characters.There must be no more, no
less.Can't Be Chinese CharactersNote that this is a fixed, folder name length can not be changed, dead
rule
(3) Generated file name "20190506".The length of this is also limited to no more than eight
characters.Less but not more
(4) The current device exists/KT-REC/20190506.Then the chip deletes the file first, and then generates
a new file.
3.The size of bit rate is directly related to the quality of recording and the size of MP3 files generated
by recording.The recording bit rate is set and saved on power failure.
(1) The default bit rate of the chip is 48 kbs, which is good enough and is not recommended.If you
must set it, it is recommended not to exceed 128 KBS at most.
(2) On-chip power will return the bit rate value of chip memory.See the output information of power-on
serial port for details.
31
Shenzhen Qingyue Electronics Co., Ltd. V2.3
4. As shown in the left-hand chart above, an example is given for the information of the generated
file.Interactive screenshots of recorded serial ports as shown in the right-hand image above
(1) After the chip enters the recording mode, it will first return to "RC+07", which represents the
completion of recording initialization, and then stay in this state.
(2) After recording, the chip will return to RC+01, representing that the recording is in progress.RC+04
stands for the recorded files before playback. See Chapter 5.1.9 for details.
(3) RC+05 represents that the recording file has been played, and then stays in this state.
(4) If the current file and the file received by the serial port have the same name, the existing file
will be deleted first and RC+06 will be returned.
5.2.1 TF Or the U disk queries the current playing file name [MF]
1. The information printed by serial debugging assistant on the left and the actual information on the
right.
2. If you use a serial debugging assistant to print out information, it will be scrambled for Chinese
characters or other words, whereas English and numbers are correct.
3. Analyse the data and convert it into hexadecimal data as follows
30 00 30 00 31 00 5F 00 43 00 68 00 65 00 6E 00
01 30 50 00 75 00 6E 00 63 00 68 00 200 2D 00
20 00 45 00 76 00 65 00 72 00 79 00 74 00 69 00
6D 00 65 00 200 00 2D 00 200 00 C3 94 F0 58 48 72
2E 00 6D 00 70 00 33 00
(1) The place marked red is the coding of Chinese characters, totaling three Chinese characters "ringtone
version", one Chinese character with two bytes, using "UNICODE coding".
(2) Even the first 0 takes up 2 bytes, that is, 0030 [Note the encoding of the Chinese character bell==
0x94C3]
(3) The following websites can be consulted:Https://bianma.supfree.net/chaye.asp?Id=94C3
4.For non-Chinese or English words, it is not clear at present. If you support it, you can communicate
what you know.
32
Shenzhen Qingyue Electronics Co., Ltd. V2.3
5. The screenshot above is the information printed by the serial debugging assistant. The actual file
name is as follows.
001_Chen, Punch - Everytime - Ringtone Edition. mp3
002_K. Will - Cocktail! Cocktail # - Ringtone Edition. mp3
003_Li Ronghao - No will - Ringtone Edition. mp3
004_Liang Jingru-Question-Ringtone Edition. mp3
Longmeizi - Singing Love Songs with Spirits - DJ Ring tone. mp3
5.2.2 TF Or the time processing [MT] [MK] of the U disk querying the currently playing file
1. Here we will give the total time of the current file and the playback time.
2. When users use it, they only need to know the total time, and then play the time, then they can count
the time by themselves.
3. Because we are audio Bluetooth, audio playback is interrupted, and UART is also interrupted. If you
frequently query the current time, it may cause a slight noise in the playback sound.
33
Shenzhen Qingyue Electronics Co., Ltd. V2.3
1. See Chapter 3.2.3 for details. There are many examples in it. They are also very clear. You can take
a careful look at them.
1AT+B1 here to set a simple password, in fact, when the mobile phone is connected, you do not need
to enter the password manually.
2AT+B2 is set up for calling. If your product does not need to talk, it can be shut down here. Next
time you call, there will be no call function.
3AT + B3 This is the setting of audio, if you do not need to play music, here can also be turned off.
1.After setting the name of Bluetooth, you need to reset the chip, issue instructions or power off,
so that the new Bluetooth name will be displayed.Our default Bluetooth name is "BT201-AUDIO".
2.The maximum Bluetooth name is "32" bytes. Please do not exceed this range.
3.After setting the Bluetooth password, we need to reset the chip, issue instructions or turn off the
power. We will ask for the password. Our default Bluetooth name is "0000".
4.The maximum Bluetooth password set is "4" bytes. Please do not exceed this range.
5. If the AT command modifies the Bluetooth name, notice that your phone may not update synchronously,
or display the previous name.
(1) Because you have only changed the name of Bluetooth, the MAC address of Bluetooth has not changed,
so the name will not be updated on the other side of the mobile phone.
(2) What you need to do is try a new mobile search, or delete the matching information from the previous
mobile phone and search again.
(3) As long as the Bluetooth name is set, the Bluetooth name must be updated, no doubt.On-chip power
also returns Bluetooth name for you to see.
This 00 stands for 0x00, closing the paired password, that is, the next connection
AT+B100\r\n
does not require a password to connect directly.
This 01 stands for 0x01, for opening Bluetooth calls, and if it's 00, it's turning
AT+B201\r\n
off Bluetooth calls.
This 00 stands for 0x00, it stands for turning off Bluetooth audio, that is, the
AT+B300\r\n
connection is successful, it can't play music, and vice versa.
AT+B401\r\n This default is 0x01
This is a personalized function, which is not needed by ordinary customers. You can look carefully when
34
Shenzhen Qingyue Electronics Co., Ltd. V2.3
you need it.The latter parameter 00 turns off [disable], and 01 turns on [enable]
This is a personalized function, which is not needed by ordinary customers. You can look carefully when
you need it.
1.The function of opening and closing BLE here is convenient for some customers who only need audio
and do not need data transmission.
2.When BLE is off, you can't search for the name of BLE, and the chip won't broadcast to the outside
world.The next power-on after setting is valid
3.If you turn off EDR, then your mobile phone will only search for the name of BLE, and only do data
communication.The same next power-on is effective
(1) So that the chip does not have Bluetooth audio playback function, and your mobile phone can not
search the name of Bluetooth audio.
AT+BS Set the MAC address of EDR to 0x120 X34 0x56 0x78 0x120 X34
123456781234rn The address of BLE is 0x130x34 0x56 0x78 0x120 x34.
AT+BSABCDEF
123456rn Set the MAC address of EDR to 0xAB 0xCD 0xEF 0x120 X34 0x56
This is a personalized function, which is not needed by ordinary customers. You can look carefully when
35
Shenzhen Qingyue Electronics Co., Ltd. V2.3
you need it.
1If the MAC address is not set, a Bluetooth MAC address will be defaulted in the chip.
2If the user sets the MAC address, the setting of the MAC address is the priority in the chip.
3Because the chip is dual mode, there are two Bluetooth names, that is, two Bluetooth MAC addresses.The
address of BLE is associated with the address of EDR.
The first byte + 1 of the MAC address in the EDR is processed.
Many states of Bluetooth will be returned to the user actively, so it is not necessary for the user to
query actively unless special needs arise.
TS+00 Bluetooth has not been connected successfully and is in a waiting pairing state
TS+01 Bluetooth has been successfully connected, but no music has been played yet.free
TS+02 Music playing
TS+03 Talking on the phone
1. Here we give four states, which are very simple.EDR refers to Bluetooth audio and communication
2. You can choose to query or not.Users can also turn off the chip auto-return function, see 4.2.6
3. The formal modification here is that the chip status changes will be returned actively, otherwise
it will not be returned.
4. Note: For Bluetooth, there is no concept of pause.Bluetooth has only four states.Even if the mobile
phone manually clicks pause, the Bluetooth chip displays the state of "TS + 01" which is idle.
1.Here we give eight states, very simple.The first six represent the slave state, and the second two
represent the host state.
2.The chip will return on its own initiative and the user can turn it off. See 4.2.6
3.The formal modification here is that the chip status changes will be returned actively, otherwise it
will not be returned.
6.2.3 Bluetooth Call Number Return [TT]6.2.3 Bluetooth Call Number Return [TT]
36
Shenzhen Qingyue Electronics Co., Ltd. V2.3
1.Here we return to the user voluntarily, once every 2 seconds, until the phone is connected or hung
up.
2.You can choose to query, or you can choose not to query.You can also turn off the chip auto-return
function, see 4.2.6
37
Shenzhen Qingyue Electronics Co., Ltd. V2.3
At present, BLE and SPP dual-mode data transmission is supported, and the module can realize transmission
through.At present, both BLE and SPP can only serve as followers.That is the "SERVER" end.
For instructions on Bluetooth data transmission, see another document, "26_Detailed instructions on
Bluetooth data transmission and AT instructions. pdf"
1Maximum 128 bytes per throughput, support 16-bit or 128-bit UUID - - 128-bit needs special customization
2If you use BLE as data transmission, please connect the Bluetooth name "BT201-BLE" of the module.
3Can use BLE alone, without audio function, see 6.1.3 for details.
4Of course, BLE can also be turned off, as detailed in 6.1.3
1.Android mobile IOS mobile phone [Apple], recommended the use of "Lightblue" software
2.Apple can search and download directly in "App Store"
3.Android, we will provide the installation program in the package.
4.Please note that Android phones can also test BLE. Testing BLE is not necessarily limited to Apple
phones.
5.Android BLE is not unusable, but not usable. Android version must be above 4.3 version to support
BLE.
6.Because Android's BLE is not easy to use, there will be dual models. Android uses SPP.Apple BLE
7.Because if Apple wants to use SPP, it needs to buy MFI certification chips, which are super expensive
and no one is using them at present.
8.If the Bluetooth name has not been changed by default, connect to the Bluetooth name "BT201-BLE"
9.BLE test instructions demo video:Https://v.qq.com/x/page/o0766ubm78n.html
38
Shenzhen Qingyue Electronics Co., Ltd. V2.3
1.The test of this function uses lightblue, and the mobile phone can only be an iphone.
2.Because only lightblue software in the iPhone can send strings.Android doesn't.
3.AT+BD667 here is to set the name of EDR to "66667", note that there is no need to add "rn".Because
the phone can't type this, we automatically add " r n" inside.
4.This function can be used or not.The actual test can be tested by using the Wechat applet "Search
BT201 Bluetooth Assistant"
1. Here we present three features in order to meet the different needs of many customers.
(1) Some customers want to write and listen to different features, so that the interaction between
mobile phone and Bluetooth can be more reliable.
(2) Some customers only need to transmit a small amount of data, so they need to write and listen on
a signature.
2.When setting up user settings, it's better to set up all four of them, whether you use them or not.
3.If there is no APP customer, it is recommended to use signature 1 and signature 2.Separate two distinct
features
4.If you want to change our chips for the products already produced, you just need to modify the UUID.
39
Shenzhen Qingyue Electronics Co., Ltd. V2.3
5.Feature 3 is designed for mobile phone to send AT commands directly to control Bluetooth chip.
Uart baud rate 9600 The minimum packet interval of 20 milliseconds is set to 30 milliseconds.
Uart baud rate 19200 The minimum packet interval of 16 milliseconds is set to 20 milliseconds.
Uart baud rate 38400 The minimum packet interval of 10 milliseconds is set to 15 milliseconds.
Uart baud rate 57600 Minimum 8 milliseconds packet interval is set to 10 milliseconds.
Uart baud rate 115 200 The minimum packet interval of 6 milliseconds is set to 8 milliseconds.
Uart baud rate 256000 The minimum packet interval of 4 milliseconds is set to 6 milliseconds.
Set the data of Bluetooth BLE broadcasting package to "9988776655", and note
AT+UR9988776655rn
that it is a string.
Set the data of Bluetooth BLE broadcasting package to "123456789A", and note
AT+UR123456789Arn
that it is a string.
Query the broadcast package data of the chip, and the chip will return "TR +
AT+TR\r\n
9988776655"
1.Bluetooth BLE broadcasting package is actually a bit complicated, but users can not care, we reserve
10 bytes of space for customers to fill.
2.When users set it, they must set 10 bytes. Even if you only use one byte, you must fill all 10 bytes.
3.Once the setup is successful, the next time the chip is powered on, the data of the broadcast packet
will be changed.
4.For details, please refer to our other document, 17xxxx document in folder 02.Mobile App uses
On the phone side, Android installs NRF Connect APP.Apple installs lightblue.
40
Shenzhen Qingyue Electronics Co., Ltd. V2.3
Spp is still a classic Bluetooth 2.1 protocol. It is not recommended for use. New products are recommended
for direct use.BLE
For instructions on Bluetooth data transmission, see another document, "26_Detailed instructions on
Bluetooth data transmission and AT instructions. pdf"
1.Android mobile phone test using the "Bluetooth Serial Port" app, can be downloaded in the "App
Treasure"
2.If the Bluetooth name has not been changed by default, connect to "BT201-AUDIO" Bluetooth
3.SPP test instructions demo video:Https://v.qq.com/x/page/e0766bz15fw.html
41
Shenzhen Qingyue Electronics Co., Ltd. V2.3
1.Because what we do is a test board, the user directly tests the function, so it is not very compact.
2.In the later stage, we will have a complete set of modular products.
3.The chip has many functions and can't achieve a standard firmware. So we reserve the interface of
the upgrade program for BT201 module. The upgrade method is as follows:
1.Copy the file "updata. bfu" to TF card and U disk. There must be at least three MP3 audio files in
TF card or U disk for reading file system.
2.Turn on the prototype and insert the U disk. At this time, the program will be updated automatically.
It will take about 30 seconds to complete.
3.The phenomenon of successful upgrade is that if the horn is answered, the horn will always sound.
If there is a light, the phenomenon may be
---- The upgrade is always bright, the upgrade is finished and extinguished
4.After the introduction of this method, the machine that normally makes the prompt sound will have
the prompt sound if the U disk or TF card is inserted.
5.Attention, after the upgrade, you must delete the upgrade file in the card, or you will repeat the
upgrade.
Do not unplug TF card or U disk during upgrade, otherwise the module will be completely dead and can
only be repaired back to the factory.
6.Firmware Update Video Demo:Https://v.qq.com/x/page/f0766 kfjzob.html
Question 1 Do you have any requirements for this TF card and U disk?
Answering question TF card and U disk must be FAT or FAT32 file system, maximum support 32G.
Question 2 Why would I"Updata. bfu" file copy to TF card upgrade, then insert the prototype
upgrade, start playing music directly
Answering question 1.Note "updata.bfu".This file name must be matched one by one, no more or less
letters.
2.Updata is the file name and BFU is the suffix name of the file
3.When you are on Windows, please be sure to open "Display File Suffix Name".
Question 2 Why would IUpdata.bfu file copy to TF card upgrade.Then power the prototype, did
not enter the upgrade?
42
Shenzhen Qingyue Electronics Co., Ltd. V2.3
Answering question 1.For our upgrade, we must first electrify the template and then insert the TF
card.
2.The principle of upgrading is as follows [U disk is the same]
(1) After the chip detects the TF insertion, it will automatically initialize
the TF card and file system.
(2) All of these OK, go to the "updata. bfu" file, and if you find it, go to the
upgrade.
(3) If any of the above links goes wrong, it will lead to unsuccessful upgrading.
43
Shenzhen Qingyue Electronics Co., Ltd. V2.3
Many of the information returned here can be ignored by users, because the purpose of this is to make
it easy for customers to see when debugging for the first time.
10. FAQ
problem 1.Can this module connect to the mobile phone to play music?Do you have a call?
Answering question Yes, the module supports Bluetooth audio and Bluetooth calls.On this basis, data
transmission is also supported.
problem 2.Your board is too big to be embedded in our products. I want to buy chips by
myself. Is that OK?Is the periphery complex?
Answering question Yes, our module is just designed to facilitate user testing. The board is designed
so that customer testing is very convenient and efficient.
If you need chips, we will provide you with a reference design. It's very
simple. Just copy it directly.
problem 3.I can't read so many materials. I just need to connect my mobile phone
to play music, take a call, and press the button to control it.
Answering question Yes, our default function is OK, and other places we don't understand are
OK, because we are a full-featured product.
There is no exclusion from multiple functions.
problem 4.I don't need the call function. What should I do about it?
Answering question You can turn off the call function by serial command. Bluetooth will not have
a call after the next call, and vice versa.
problem 5.I don't need BLE data function, how to shield it?
Answering question This can't be shielded because we have two-mode Bluetooth. There must be
two Bluetooth names.
problem 6.I don't need music function, just BLE and SPP transmission function. What
should I do?
Answering question This can turn off Bluetooth's A2DP through serial AT command, and vice versa.
44
Shenzhen Qingyue Electronics Co., Ltd. V2.3
problem 1. What's the difference between KT1025A and KT1025B?Why do we make two
models?How do I choose the type?
Answering question 1.KT1025A is stereo output, the original factory's pricing strategy is
higher.Cost-insensitive recommendation
2.KT1025B is not stereo output, the original location is lower, the chip is
identical, but the price is lower.
3.Therefore, in the process of user use, if only one speaker is connected, KT1025B
is recommended.
4.The difference is that if the seven legs of the chip are to be connected with
two speakers, there is no choice but KT1025A.
5.The unit price of KT1025A is 0.3RMB higher than that of KT1025B. Please pay
attention to the selection.
problem 2. Why are KT1025A and KT1025B chips cheap?Is there a lack of performance?
Answering question (1) Chips, we use the category with the largest shipment volume, because the
shipment volume is huge, so the competition is fierce, and the cost is naturally
low.
(2) The original purpose of the chip is to make Bluetooth speakers, headphones,
storytellers and other products.Large quantity leads to low cost
(3) Only the chip has audio playback and data functions, so we have developed
software to support these functions.
(4) There is no doubt about the performance of the chip, and the customers who
understand it are very clear that we already have a large number of customers
on board.
(5) Is it true that if I only need data transmission, not audio, it will be
cheaper.Wrong, chip costs are low, but development costs are high.
45
Shenzhen Qingyue Electronics Co., Ltd. V2.3
Answering question Module we have, model called "BT201", and KT1025A chip share a test board,
software is fully compatible.
46
Shenzhen Qingyue Electronics Co., Ltd. V2.3
1.At present, there are five prompt tones supported in the chip
Music mode Music.mp3
Bluetooth mode Bt.mp3
Successful connection Connect.mp3
Connection disconnect Disconnect.mp3
Incoming call Ring.mp3
2.If you need to change the prompt tone, please provide the above file. The file must be compressed.
3.The size of 5 files can not exceed 17KB, which is limited by the memory space inside the chip.
4.he volume of the prompt sound should be edited by software.You can put it in the TF card and play it.
Is the sound appropriate?
47
Shenzhen Qingyue Electronics Co., Ltd. V2.3
Note that if Bluetooth is not used, Bluetooth antenna must not be drawn.Because if you draw it, it will
cause unnecessary trouble.
1.At present, the BQB certificate of the original chip has already come down, so there is no need to
worry about the problem of BQB certification. We will sort out the information in detail and issue
it again.
2.The form of publication is a separate document, as well as a description of videos, certificates
and tools related to authentication.
To be continued...
1.FCC frequency fixing. The original factory provides special software, which is connected by USB to
TTL.
2.The choice of serial port is the two ports of USB of our chip.
(1) So when you design the hardware.These two IO ports must be left with pads.Recommendation: VCC TX
RX GND four feet
(2) When the chip has passed FCC certification at the same time, it has to burn a separate program.
We will also provide you with it.
3.The form of publication is a separate document, as well as a description of videos, certificates
and tools related to authentication.
To be continued...
48
Shenzhen Qingyue Electronics Co., Ltd. V2.3
15. Disclaimer
49
Shenzhen Qingyue Electronics Co., Ltd. V2.3
Version history
Edition date Reason
1. Primary release of BLE transmission function OK SPP transmission function
V1.0 2018-04-27 OK serial port control function OK
1. Additional test instructions for serial debugging assistants - see Chapter
9 for details
V1.4 2018-11-01 2. Descriptions of new KT1025A and KT1025B - See Chapter 11 for details.
1. New music playback, designated track playback, see 5.1.5 for details.
2. Adding music playback and specifying folders to play circularly. See 5.1.6
for details.
3. Adding Bluetooth designated number to dial and obtaining caller number can
be seen in 6.1.3 and 6.2.2 for details.
4. Selection of new boot-ups and priority of online playback devices are
detailed in 4.2.5.
5. The new Bluetooth half-second message is closed. See 4.2.6 for details.
6. Setting up new music playing mode by adding status query, time query and
playback serial number query
7. The message inserted and pulled out by the new music device is returned,
V1.5 2018-11-12 and the message played by music is finished.
1. Query the long file name of the new audio file and return the playing time
V1.6 2018-11-15 of the new music
1. Closing and opening of new BLE and new EDR, see 6.1.3 for details.
2. Adding BLE status query and adding a UUID to control Bluetooth chip for mobile
V1.7 2018-11-20 phone. See 7.5 for details.
50
Shenzhen Qingyue Electronics Co., Ltd. V2.3
3. Modify the way of active return of Bluetooth status, see 6.2.1 and 6.2.2
for details.
1. Adding new users to modify UUID, see Chapter 7.6 to improve known bugs
2. Add recording function and delete file function. See 5.1.9 Add prompt sound
shutdown interface for details.
V1.8 2018-11-30 3. Changing the default serial port baud rate to 115200
1. Modify the DAC to a bug with high configuration.Increase information returned
by errors
V1.9 2018-12-29 2. Perfecting Documentation
1. The new Bluetooth Background Instruction does not automatically switch, see
4.2.11 for details.
2. Adding Bluetooth related control commands, see 6.1.5 for details.
V2.0 2019-01-05 3. Perfecting descriptive errors in documents
1. Added AT+C?Designation, as detailed in 4.2.13
2. Modifying Descriptive Errors in Documents
V2.1 2019-03-24 3. This version is very small and downward compatible.
1. Customization of the new Bluetooth broadcasting package, as detailed in
Chapter 7.8
2. Adding read-specified file serial port to send out, see 5.1.11 and 5.1.10
for details.
3. Add and delete files of TF card or U disk, see 5.1.12 for details.
4. Perfect descriptive bugs in documents.Before the software version is
V2.2 2019-04-26 compatible at the same time
1. Adding the specified folders and file names for recording, as detailed in
Chapter 5.1.13 - The main updates are recording and reading TXT.
2. Improving the encapsulation in the database, as well as the specifications
and encapsulation references of KT1025A and KT1025B
3. Improving document descriptive bugs
4. Detailed understanding of the new model can be found in Section 4.3.2.
5. The MAC settings of the new bluetooth, as well as detailed instructions,
V2.3 2019-05-07 are detailed in 6.1.6.
51
Shenzhen Qingyue Electronics Co., Ltd. V2.3
53
Shenzhen Qingyue Electronics Co., Ltd. V2.3
54