HDSD JQ8900 16p MANUAL
HDSD JQ8900 16p MANUAL
HDSD JQ8900 16p MANUAL
1
————————————————————————————
A、Module characteristics
Sound formation:MP3/WAV
Support FAT file system
Supports sample rate (KHz):8/11.025/12/16/22.05/24/32/44.1/48
24-bit DAC output, internal hard-DSP decoding, non-PWM output, dynamic range support
90dB, SNR support 85dB
Multiple control modes, UART serial mode, one-line serial port mode, AD button control
mode
Fully support TF card, U disk And SPIFLASH
Support USB sound card, card reader, HID control
Support SPIFLASH simulation into U disk, directly update the voice in SPIFLASH like U disk
Support the following function control mode :Last song, next song, play, pause, stop, song
selection .
It supports the following access to information, play track number, total tracks and total
catalog tracks.
Support various information queries and easily obtain the current status of the voice chip
Supports the specified track insertion, that is, you can pause the currently playing music, play
the inserted tracks, and return to the original track breakpoint after playing
Support Chinese and English path insertion, in addition to the specified track insertion, it also
supports the specified path insertion, sending the inserted path can be achieved
Support for cross-drive character insertion, such as insert content stored in SPIFLASH
Supports the specified Chinese and English path playback, without knowing the serial number
of the content to be played, and directly sending the path where it is located
Intelligent combination playback is supported, song combination in a specific folder can be
combined by sending the title of the track
Support for 30-level volume adjustment
Support 5 kinds of EQ adjustment
Support 7 playback mode controls, can adapt to different applications
Support cycle times to be set, more applications, more user-friendly
Support system deep sleep, the current is as low as 600 microamps after sleep, can wake up
by one-line string and command IO
Support specified time fast forward and backward
Support for repeating at specified time periods
Support for specifying playback from the specified point in time
Support external input audio and MP3 audio mixing, External input, MP3 output and MP3
mixing, these three output switches
————————————————————————————————————————————
深圳市佳仁科技有限公司 地址:深圳市龙岗区布吉街道京南路锦龙大厦 8 楼
公司座机:0755-28685464 手机:15816591967 微信同号 技术支持 QQ:769503664
JQ8900-16P 语音模块使用说明书 V 2.1
—————————————————————————————
Dedicated BUSY signal output indication.
Support various status change information returns, such as device insertion, etc
Mature instructions and instruction parsing to make the application more stable
Dedicated matching host computer, quick to get started, easy to debug, automatic command
generation
————————————————————————————————————————————
深圳市佳仁科技有限公司 地址:深圳市龙岗区布吉街道京南路锦龙大厦 8 楼
公司座机:0755-28685464 手机:15816591967 微信同号 技术支持 QQ:769503664
JQ8900-16P 语音模块使用说明书 V 2.1
—————————————————————————————
And then double-click on the new disk and copy the sound you want to place.
D、Hardware parameter
Name Parameter
1、Support all bit rates 11172-3 and ISO13813-3 layer3 audio decoding
MP3 file format 2、Supports sample rate (KHz):8/11.025/12/16/22.05/24/32/44.1/48
3、Support these sound effects: Normal、Jazz、Classic、Pop、Rock
USB port 2.0(standard)
UART port Standard serial port, TTL level
Size 20.32*15.5mm
Work
-40℃~85℃
temperature
Humidity 5%~95%
The IO port button triggers the naming rule for playing file names.
There are 7 trigger IO ports in the chip,it can support up to 19 segments of voice trigger playback,
7 IO ports for one-to-one trigger playback and 3*4 matrix mode.
IO1 to the
IO1 short circuit to ground to
ground IO4-IO1 IO4 short circuit to IO1 to play voice 11
play voice 1
IO2 to the IO2 short circuit to ground to IO4-IO2 IO4 short circuit to IO2 to play voice 12
————————————————————————————————————————————
深圳市佳仁科技有限公司 地址:深圳市龙岗区布吉街道京南路锦龙大厦 8 楼
公司座机:0755-28685464 手机:15816591967 微信同号 技术支持 QQ:769503664
JQ8900-16P 语音模块使用说明书 V 2.1
—————————————————————————————
ground play voice 2
IO3 to the IO3 short circuit to ground to
IO4-IO7 IO4 short circuit to IO7 to play voice 13
ground play voice 3
IO4 to the IO4 short circuit to ground to
IO5-IO1 IO5 short circuit to IO1 to play voice 14
ground play voice 4
IO5 to the IO5 short circuit to ground to
IO5-IO2 IO5 short circuit to IO2 to play voice 15
ground play voice 5
IO6 to the IO6 short circuit to ground to
IO5-IO7 IO5 short circuit to IO7 to play voice 16
ground play voice 6
IO7 to the IO7 short circuit to ground to
IO6-IO1 IO6 short circuit to IO1 to play voice 17
ground play voice 7
IO1short circuit to IO3 to play
IO1-IO3 IO6-IO2 IO6 short circuit to IO2 to play voice 18
voice 8
IO2 short circuit to IO3 to play
IO2-IO3 IO6-IO7 IO6 short circuit to IO7 to play voice 19
voice 9
IO3 short circuit to IO7 to play
IO3-IO7
voice 10
Note: When using matrix playback mode, only 19 voice files can be stored in memory at most. If
more than 19 voice files are stored, they will be scrambled.
Play mode description
————————————————————————————————————————————
深圳市佳仁科技有限公司 地址:深圳市龙岗区布吉街道京南路锦龙大厦 8 楼
公司座机:0755-28685464 手机:15816591967 微信同号 技术支持 QQ:769503664
JQ8900-16P 语音模块使用说明书 V 2.1
—————————————————————————————
Other playback modes can be configured by the software provided by our company, as shown
After configuring each IO port, click Generate to automatically generate a config.txt file in the
directory where the software is located, and then copy the config.txt file to the memory.
Playback mode Functional description
Playback starts as soon as the button is pressed, no matter how
long it takes to play once. During playback, pressing the button
Pulse repeatable
interrupts the currently playing voice and executes a new
command.
Playback starts as soon as the button is pressed, no matter how
Pulse is not long it takes to play once. During the playback process, pressing
repeatable the button is invalid, and pressing the button after the playback is
completed will be effective.
Press the button to start playback, press it all the way to play it, if
Level keep loopable
it is released, it will stop playing immediately.
Press the button to start playing, and keep playing until you press
Level non-retentive
it. After releasing, the current voice will stop playing after playing.
Last song Pressing the button will play the last song and loop accordingly.
Next song Pressing the button will play the next song and loop accordingly.
Volume plus Press the button and the volume will increase.
Volume minus Press the button and the volume will decrease.
ON/OFF mode Press the button to play, then press stop, and then cycle.
Play/pause Press to play, press pause, then press to play from breakpoint.
————————————————————————————————————————————
深圳市佳仁科技有限公司 地址:深圳市龙岗区布吉街道京南路锦龙大厦 8 楼
公司座机:0755-28685464 手机:15816591967 微信同号 技术支持 QQ:769503664
JQ8900-16P 语音模块使用说明书 V 2.1
—————————————————————————————
Last song/volume Short press to play the last track, long press the volume to
minus decrease.
Next song/volume Short press to play the next song, long press the volume to
plus increase.
Last song/Fast
Short press to play the last track, long press to fast backward.
Backward
Next song/Fast
Short press to play the next song, long press fast forward.
Forward
11 Play
————————————————————————————————————————————
深圳市佳仁科技有限公司 地址:深圳市龙岗区布吉街道京南路锦龙大厦 8 楼
公司座机:0755-28685464 手机:15816591967 微信同号 技术支持 QQ:769503664
JQ8900-16P 语音模块使用说明书 V 2.1
—————————————————————————————
12 Pause
13 Stop
14 Last
15 Next
16 Last directory
17 Next directory
18 Select SD card
19 Select U disk
1A Select FLASH
1B System sleep
Control description:
0x00~0x09:Represent numbers only:0~9.
0x0a: Single-byte control instruction to clear the last received number.
0x0b~0x10:For multi-byte control instructions, it needs to be used with 0x00~0x09.
0x11~0x1c:For single-byte control instructions, only one control command needs to be sent.
One-line serial port MP3 file naming rules:
The file name must be 5 digits, which is the track number of the file.The selection and
playback instruction (0xb) is identified by this number. As shown in the figure below.
If you use other forms of naming, you cannot play the file using the song play command.
The file needs to be placed in the root directory, that is, open the disc character.
E.g3:Start playing
The steps are as follows:
“Start playing”control instructions.
Send the code : 0x11 Just send a 0x11.
The sending function of single chip computer is as follows:
SendData(0x11);
C51 Send subfunction description:Delay1us delay function needs to be modified for different
frequencies and types of MCU.
void Delay1us ( int T )//Delay function
{
while ( T-- );
}
void SendData ( u8 addr )//Send function.
{
————————————————————————————————————————————
深圳市佳仁科技有限公司 地址:深圳市龙岗区布吉街道京南路锦龙大厦 8 楼
公司座机:0755-28685464 手机:15816591967 微信同号 技术支持 QQ:769503664
JQ8900-16P 语音模块使用说明书 V 2.1
—————————————————————————————
u8 i;
EA = 0;/*Turn off interrupts when sending to prevent interrupts from affecting timing */
1.Communication Format
Start Code - Instruction Type - Data Length (n) - Data 1 - Data n - Sum Check (SM)
Instruction Code: Fixed to AA
————————————————————————————————————————————
深圳市佳仁科技有限公司 地址:深圳市龙岗区布吉街道京南路锦龙大厦 8 楼
公司座机:0755-28685464 手机:15816591967 微信同号 技术支持 QQ:769503664
JQ8900-16P 语音模块使用说明书 V 2.1
—————————————————————————————
Instruction type: Used to distinguish instruction type
Data length: the number of bytes of data in an instruction
Data: Relevant data in instructions. When the length of data is 1, it means that only CMD has no
data bits.
Sum check: 8 bits lower than the sum of all previous bytes, that is, 8 bits lower when the starting
code is added to the data
Data format: Sending data or commands, high 8-bit data before, low 8-bit after
2.Communication mechanism
1. As slave processing, we default to wait for power on. All playback operations are controlled by
the host.
2. Slave computers will not initiate communication on their own initiative. All communications are
initiated by the host.
3. Serial port is 3.3V TTL level. If the host system is 5V level, please series 1K resistance in the
middle.
4. If not specified, all data in the protocol are hexadecimal data.
3.Agreement
Following is the data definition that this chip returns and recognizes
Play State Definition: System Power-on is in Stop State
00 (stop) 01 (play) 02 (pause)
Disk Character Definition: Stop after Switching Disk Characters
USB:00 SD:01 FLASH:02 NO_DEVICE:FF
Volume: Volume is 31, 0-30, power-on default is 20-level
Play Mode Definition: Power-on defaults to single stop
Whole Circle (00): Play the whole track in sequence, and then play it in circle after playback
Mono Loop (01): Always Loop the Current Track
Single Stop (02): Stop playing the current track once
Total Random (03): Random Play of Tracks in Characters
Catalog Loop (04): Play the tracks in the current folder in sequence, and play them in a loop after
playing. The catalog does not contain subdirectories
Random Directory (05): Play in the current directory randomly, the directory does not contain
subdirectories
Catalog sequential playback (06): Play the tracks in the current folder in order, stop after playback,
the directory does not contain subdirectories
Sequential Play (07): Play the whole track in sequence and stop after play
EQ definition: NORMAL(00) POP(01) ROCK(02) JAZZ(03) CLASSIC(04)
Power-on default EQ is NORMAL(00)
DAC Output Channel Definition: Power-on defaults to MP3 Play Channel (00)
————————————————————————————————————————————
深圳市佳仁科技有限公司 地址:深圳市龙岗区布吉街道京南路锦龙大厦 8 楼
公司座机:0755-28685464 手机:15816591967 微信同号 技术支持 QQ:769503664
JQ8900-16P 语音模块使用说明书 V 2.1
—————————————————————————————
MP3 Play Channel (00): Play MP3 Channel, DAC Output Sound for Music Play Sound
AUX Channel (01): DAC's output sound is the input sound of P26 and P27
MP3+AUX(02): AUX channel MP3 is opened at the same time, DAC output sound is music playback
sound and mixed output of P26, P27 input sound.
Definition of Combination Play: Combination Play is a combination of file names. File
requirements are stored in the "ZH" folder. The name of the file to be combined can be changed
to the name of two bytes. Generally, it is recommended to use digital representation. For example:
01.mp3, 02.mp3, can also be named with two letters or a Chinese character.
4. Communication command
Query playback status (01)
Directive: AA 01 00 AB
Return: AA 01 01 playback status SM
Note: You can query the current playback status at any time.
Play(02)
Directive:AA 02 00 AC
Return:null
Note: Any time this command is issued, the current track will be played from scratch.
Pause(03)
Directive:AA 03 00 AD
Return:null
Stop(04)
Directive:AA 04 00 AE
Return:null
Last song(05)
Directive:AA 05 00 AF
Return:null
Next song(06)
Directive:AA 06 00 B0
Return:null
Designated tracks(07)
Directive:AA 07 02 High repertoire and low repertoire SM
Return:null
For example: AA 07 02 00 08 BB Specifies the playback of the eighth current disc symbol, with the
number of tracks ranging from 1 to 65535
Specify Disk Character, Specify Path Play(08)
Directive:AA 08 Length disc path SM
Return:null
————————————————————————————————————————————
深圳市佳仁科技有限公司 地址:深圳市龙岗区布吉街道京南路锦龙大厦 8 楼
公司座机:0755-28685464 手机:15816591967 微信同号 技术支持 QQ:769503664
JQ8900-16P 语音模块使用说明书 V 2.1
—————————————————————————————
Description: Length = disc length + path length = 1 + path length
For example: /广告/小米手机.mp3, can be in the following format
/广告*/小米*???, A folder representing the first two words of "广告",* is wildcard,
“小米*???”The first two words of the document are "小米", and the last three? The format of
symbol is not limited. This chip supports MP3 and WAV formats.
Mould taking by upper computer ,The data are as follows:
The instructions generated by the host computer are:0xAA, 0x08, 0x10, 0x01, 0x2F, 0xB9, 0xE3,
0xB8, 0xE6, 0x2A, 0x2F, 0xD0, 0xA1, 0xC3, 0xD7, 0x2A, 0x3F, 0x3F, 0x3F, 0x77,
Query the current online disc character(09)
Directive:AA 09 00 B3
Return: AA 09 01 disc character SM
Note: Online disc characters are distinguished by bits:USB:BIT(0) SD:BIT(1) FLASH:BIT(2)
This function can know the current online disc character. Before switching the disc character, it is
recommended to query the online disc character first.
Query the current player character(0A)
Directive:AA 0A 00 B4
Return:AA 0A 01 disc character SM
Switch to the specified disc character(0B)
Directive:AA 0B 01 disc character SM
Return:null
Description: Character switching instruction, if the current Character is online, you can switch to
the corresponding Character to wait for playback. After switching, the track is No. 1. It is
recommended to check whether the Character is online before switching.
For example:
AA 0B 01 00 B6 switch to U disk and stop after switch
AA 0B 01 01 B7 switch to TF card and stop after switch
AA 0B 01 02 B8 switch to FLASH card and stop after switch
Query the General tracks(0C)
Directive:AA 0C 00 B6
Return:AA 0C 02 High total track and low total track SM
Query the current track(0D)
Directive:AA 0D 00 B7
Return:AA 0D 02 High track and low track SM
Last folder directory(0E)
————————————————————————————————————————————
深圳市佳仁科技有限公司 地址:深圳市龙岗区布吉街道京南路锦龙大厦 8 楼
公司座机:0755-28685464 手机:15816591967 微信同号 技术支持 QQ:769503664
JQ8900-16P 语音模块使用说明书 V 2.1
—————————————————————————————
Directive:AA 0E 00 B8
Return:
Note: After switching, the first one in the folder will be played.
Next folder directory(0F)
Directive:AA 0F 00 B9
Return:
Note: After switching, the first one in the folder will be played.
End play(10)
Directive:AA 10 00 BA
Description: This instruction can terminate the current operation ahead of time, will terminate the
current play, if it is in the plug-in, etc., will end the plug-in ahead of time and return to the original
state.
Inquire the first track of folder directory(11)
Directive:AA 11 00 BB
Return:AA 11 02 High track and low track SM
Description: Number of the first song in the current catalogue
Search for folder directory catalogs(12)
Directive:AA 12 00 BB
Return:AA 12 02 High track and low track SM
Note: This track does not contain the number of files in the subdirectory
Volume Setting(13):
Directive:AA 13 01 VOL SM
Return:null
For example: AA 1301 14D2 sets the volume to level 20
Volume plus(14):
Directive:AA 14 00 BE
Return:null
Volume minus (15):
Directive:AA 15 00 BF
Return:null
Designated episode(16) :
Directive:AA 16 03 disc character High track and low track SM
Return:null
For example:AA 16 03 00 00 09 CC No. 9 on the socket U disk
Description:Return to the insertion point after the insertion and continue playing.
Specified Path Interpolation(17) :
Directive:AA 17 Length disc path SM
————————————————————————————————————————————
深圳市佳仁科技有限公司 地址:深圳市龙岗区布吉街道京南路锦龙大厦 8 楼
公司座机:0755-28685464 手机:15816591967 微信同号 技术支持 QQ:769503664
JQ8900-16P 语音模块使用说明书 V 2.1
—————————————————————————————
Return:null
Description: Length = disc length + path length = 1 + path length
The instructions generated by the host computer are:0xAA, 0x17, 0x10, 0x02, 0x2F, 0xB9, 0xE3,
0xB8, 0xE6, 0x2A, 0x2F, 0xD0, 0xA1, 0xC3, 0xD7, 0x2A, 0x3F, 0x3F, 0x3F, 0x87,
————————————————————————————————————————————
深圳市佳仁科技有限公司 地址:深圳市龙岗区布吉街道京南路锦龙大厦 8 楼
公司座机:0755-28685464 手机:15816591967 微信同号 技术支持 QQ:769503664
JQ8900-16P 语音模块使用说明书 V 2.1
—————————————————————————————
I、serial port
The chip's serial port is 3.3V TTL level, so the default interface level is 3.3V.If the system is 5V. It is
suggested that a 1K resistor be connected in series to the docking interface of the serial port.This
can meet the general requirements, if applied to strong electromagnetic interference occasions,
————————————————————————————————————————————
深圳市佳仁科技有限公司 地址:深圳市龙岗区布吉街道京南路锦龙大厦 8 楼
公司座机:0755-28685464 手机:15816591967 微信同号 技术支持 QQ:769503664
JQ8900-16P 语音模块使用说明书 V 2.1
—————————————————————————————
please refer to the "Notes" instructions.The chip has been tested normally in 5V and 3.3V systems,
and everything is normal. They are all connected directly, without a series of 1K resistors.
————————————————————————————————————————————
深圳市佳仁科技有限公司 地址:深圳市龙岗区布吉街道京南路锦龙大厦 8 楼
公司座机:0755-28685464 手机:15816591967 微信同号 技术支持 QQ:769503664
JQ8900-16P 语音模块使用说明书 V 2.1
—————————————————————————————
For the first time, it is suggested to use the matching "serial debugging tool", which can
debug the functions of the module and obtain the corresponding functional instructions.
When the module is powered on, the LED flashes and then goes out. If the power-on LED is
not bright, please check whether the power supply voltage is normal. The supply voltage is
between 3.3 and 5.2, and 5.0V is recommended.
TX and RX of PC serial port need to be crossed and connected with module, that is, RX of PC serial
port to module and TX of PC serial port to module.
The IO level of this module is 3.3V. If the IO of the single chip computer connected to it is 5V, it is
necessary to connect a 1K resistance between the TX of the single chip computer and the RX of
the module. Otherwise, the module may work abnormally.
After the module connects to the computer through the USB cable, it is in the U-disk mode. At this
time, it does not accept any control instructions. Please switch to other power supply.
Flash copywriting in voice industry is based on "unit". The storage unit of computer is "byte", "bit"
and "byte" are eight times the relationship, that is, 1 byte = 8 bits, so the 32M of our voice module
is displayed on the computer as 4M.
————————————————————————————————————————————
深圳市佳仁科技有限公司 地址:深圳市龙岗区布吉街道京南路锦龙大厦 8 楼
公司座机:0755-28685464 手机:15816591967 微信同号 技术支持 QQ:769503664