Detailed development information download:https://pan.baidu.com/s/1oNnygFkeTNZxGFK9JW9xGw
Extraction code:knpu

1..product description
DY-SV8FIt is an intelligent voice playback module independently developed by the division,integratedIOSegment trigger,UARTCandidate control,ONE_lineSingle bus serial control, standardMP3wait7Setting work mode, simple dial switch settings; board5W DAvian, you can directly drive4Ω,,3~5Wtrumpet;supportMP3,WAVDecoding format, board64Mbit(8Mbyte)FlashStore, can passUSBData cable connection computer updateFlashStore audio files.
2..Product Features
1,supportMP3As well asWAVDecoding format.
2, Support sampling rate(KHz):8/11.025/12/16/22.05/24/32/44.1/48Essence
3As well as24PositionDACOutput, dynamic range support90dB, Signal ratio support85dBEssence
4, Plate64Mbit(8Mbyte)FLASHMemory cards do not require memory cards.
5Self -contained5W DAvian, you can directly drive4Ω,,3~5Wtrumpet.
6As well asUARTThe serial port controls the voice broadcast function, which can control the functions of playing, suspension, selection, volume addition and subtraction, etc. The maximum selection65535The first track, Potter rate9600 bit/sEssence
7,supportIOTrigger the playback function,8indivualIOSolo -to -mouth trigger8The first track or8indivualIOPort combination255The first track.
8,supportOne_lineSingle bus serial port control can be controlled, pause, pause, selection, volume addition and subtraction and other functions.
9,support3ConfigurationIOMake more than7Selection of work mode, dial -switch settings, simple operation.
3..Module interface and function definition

Pin definition
tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt
ttt Pinnate name ttt | ttt Pins description ttt |
ttt 5VNegative power ttt | ttt catch5VNegative power supply (GND. ttt |
ttt 5VPositive power supply ttt | ttt catch5VPositive power supply ttt |
ttt TXD/IO0 ttt | ttt IOIn the trigger mode, the input pinIO0ItemsUARTIn the control modeTXPoint, connect control terminal (MCU)ofRX ttt |
ttt RXD/IO1 ttt | ttt IOIn the trigger mode, the input pinIO1;UARTIn the control modeRXPoint, connect control terminal (MCU)ofTX ttt |
ttt IO2 ttt | ttt IOTrigger mode input pinIO2 ttt |
ttt IO3 ttt | ttt IOTrigger mode input pinIO3 ttt |
ttt IO4/ONE_LINE ttt | ttt IOTrigger mode input pinIO4ItemsOne_LineThe first -line serial control mode data receiving pin ttt |
ttt IO5 ttt | ttt IOTrigger mode input pinIO5 ttt |
ttt IO6 ttt | ttt IOTrigger mode input pinIO6 ttt |
ttt IO7 ttt | ttt IOTrigger mode input pinIO7 ttt |
ttt BUSY ttt | ttt The output low level when playing the track (0V), Play the end output high level (3.3V. ttt |
ttt GND ttt | ttt Reference ground end (and control endGNDconnect) ttt |
Dial switch mode configuration
ttttttttttttttttttttttttttttttttttttttttttttttttttttt
ttt Corresponding number to the dial -switch ttt | ttt 1 ttt | ttt CON1 ttt | ttt Dial to the digital end to a low level (0. ttt | ttt DialONThe end is high level (1. ttt |
ttt 2 ttt | ttt CON2 ttt | ttt Dial to the digital end to a low level (0. ttt | ttt DialONThe end is high level (1. ttt |
ttt 3 ttt | ttt CON3 ttt | ttt Dial to the digital end to a low level (0. ttt | ttt DialONThe end is high level (1. ttt |
Note:“Play a key combination”Refers toIO0-IO7After the output corresponding level, restore the original high level,Similar to the button to trigger once
“Play level combination”Refers toIO0-IO7Keep the level unchanged after output the corresponding level
“I/OCombination (independent) mode0”and“I/OCombination (independent) mode1”The difference is that the former mode is released after the release of the level, and the current track is continued to the end. The latter mode releases the level and immediately stops playing the track.
4..Module installation size

5.Mode operation description
5.1 I/OCombined mode0(Play key combination)
Single -chip machine controlI/ORelease after a combination of trigger (low level valid) specified (IO0-IO7Restore high levels), stop the current track after playing; play again halfway to trigger, play new tracks, and stop playing;busyEffective (low level).
Note: The track name must be according to5Blood figures are named.
Track control
5.2 IOCombined mode1(Play level combination)
Single -chip machine controlIOCombination trigger (low -level valid) specified tracks, always circularly play the specified track, level release (IO0-IO7Restore high level) to stop playing.Play the level to release the level halfway and stop playing immediately.Playback processbusyEffective (low level).
Note: The track name must be according to5Blood figures are named.
Track control
5.3 IOIndependent mode0(Reconstruction of the button independently)
IO0-IO7Independent control8First track,IORelease after triggering (low -level valid) specified tracks (IO0-IO7Restore high levels), stop the current track after playing; play again halfway to trigger, play new tracks, and stop playing;busyEffective (low level).
Note: The track name must be according to5Blood figures are named.
Track control
5.4 IOIndependent mode1(Independent control)
IO0-IO7Independent control8First track,IOTrigger (low -level valid) specified tracks, have been broadcasting specified tracks, level release (IO0-IO7Restore high level) to stop playing.Play the level to release the level halfway and stop playing immediately.Playback processbusyEffective (low level).
Note: The track name must be according to5Blood figures are named.
Track control

5.5 UARTSerial mode
5.5.1Communication format
Use full -duplex serial port communication;
Potter rate is9600, Data bit:8, Stop bit1Position, inspection positionNEssence
Start-Instruction-Data length(n.-data1-datan-The test(SM)
Directive code: fixed asAAEssence
Instruction:Used to distinguish the type of instruction.
Data length: the number of data in the instruction.
Data: Related data in instructions, when the length of the data is1hour,OnlyCMD,No data bit.
Harmony: It is the low of the sum of all the bytes before8Position,That is, the starting code is added after the data is added8Bit.
Data format: data or command sent,high8Bit data is in front, low8Later.
5.5.2letter of agreement
The following is the definition of data returned by this chip and can be recognized.
1.Play status definition: The system is in the state of stopping.
00(stop) 01(Play) 02(pause)
2.Disk definition:After switching, it is stopped.
USB:00 SD:01 FLASH:02 NO_DEVICETheFF
3.Volume: Volume Total31class,0-30Grade, call the default30class.
4.Play mode definition: Diger the default single -minded single stop.
Full circulation(00): Play a full track in order,After the playback, the circulation is played.
Single cycle(01): Always play the current song.
Single stop(02): Play the current track at one stop.
Full random random(03): Randomly play the internal track of the disc.
Directory loop(04): Play the current folder inner tracks in order,After the playback, the cycle is played, and the directory does not include the subdirectory.
Directory random(05):Play randomly in the current directory, and the directory does not include subditors.
Directory order playback(06): Play the current folder in the sequence, stop after playing, and the directory does not include subdirectory.
play in order(07): Play a full track in order and stop after playing.
5. EQDefinition: Circuit the defaultEQforNORMAL(00)Essence
t- NORMAL(00) POP(01) ROCK(02) JAZZ(03) CLASSIC(04)
6.Combination playback definition: Combination playback is combined according to the file name, and the file requirements are stored in“ZH”Under the folder, you can change the file name to the combination to the name of two bytes. Generally, it is recommended to use numbers.like:01.mp3,02.mp3,You can also name it with two letters or a Chinese character.
5.5.3Communication instruction
Control instruction
tttttttttttttttttttttttttttttttttttttttttttttttt
ttt instruction ttt | ttt Instruction code ttt | ttt return ttt |
ttt Play ttt | ttt AA 02 00 AC ttt | ttt none ttt |
ttt pause ttt | ttt AA 03 00 AD ttt | ttt none ttt |
ttt stop ttt | |