Categories
Description:
XY-V17D is a development board for our XY-V17B voice module. The development board integrates 5W Class D power amplifier module, 3.5mm audio interface, U disk interface,Micro USB download interface, button module in one module;It makes XY-V17B voice module testing, secondary development are easier and more convenient.
Features:
1>.Support MP3 and WAV decoding format.
2>.Support sampling frequency (KHz) : 8/11.025/12/16/22 05/24/32/44.1/48.
3>.24-bit DAC output, dynamic range support 90dB, SNR support 85dB.
4>.Fully support the FAT16/FAT32 file system, with the maximum support 32GB TF card and 32GB U-disk.
5>.Support UART serial port control voice broadcast function, can control playback, pause, selections, turn up and down volume and other functions, the largest selection of 65535 tracks.The baud rate is 9600 bit/s.
6>.Support IO trigger function, 8 IO ports can trigger 8 musics or 8 IO combinations to trigger 255 songs.
7>.Support One_line single bus serial port control, which can control playback, pause, selection, turn up and down volume and other functions.
8>.Support 3 configuration IO for mode selection.
Parameters:
1>.Product Name:UART Voice Controller
2>.Product Number:XY-V17D
3>.Working Voltage:DC 5V
4>.Work Temperature:-20℃~85℃
5>.Work Humidity:0%~95%RH
6>.Size:58*51*12mm
Function:
1>.It cannot be used alone, it can only be used together with XY-V17B;
2>.It combines the peripheral circuits required by XY-V17B to facilitate the debugging and use of XY-V17B;
3>.Support Micro USB download for TF card;
4>.Support U-disk and 3.5mm audio input;
5>.Built in 5W amplifier;
6>.Support IO0~IO7 external extension trigger.
Use steps:
1>.Install XY-V17B on module XY-V17D;
2>.Connect to 4ohm~8ohm speaker;(Speaker is not include in package!)
3>.Connect working voltage;
4>.Set work mode by jump cap CON1~CON3;
5>.Test by button on module;
Mode configuration and pin function:
Control Mode | Configuration Pin | I/O Function | |||||||||
CON3 | CON2 | CON1 | IO7 | IO6 | IO5 | IO4 | IO3 | IO2 | IO1 | IO0 | |
I/O Integrated Mode 0 | 0 | 0 | 0 | Key combination play, can play 2^8-1(255) Songs. | |||||||
I/O Integrated Mode 1 | 0 | 0 | 1 | Level combination play, can play 2^8-1(255) Songs. | |||||||
I/O Independent Mode 0 | 0 | 1 | 0 | Music 8 | Music 7 | Music 6 | Music 5 | Music 4 | Music 3 | Music 2 | Music 1 |
I/O Independent Mode 1 | 0 | 1 | 1 | Music 8 | Music 7 | Music 6 | Music 5 | Music 4 | Music 3 | Music 2 | Music 1 |
UART Mode | 1 | 0 | 0 | RXD | TXD | ||||||
One-Line Mode | 1 | 0 | 0 | TXD | |||||||
Standard MP3 Mode | 1 | 0 | 1 | RPT | EQ | P/P/MODE | PREV/V- | NEXT/V+ |
Note:
1>. "key combination play" : Return to the original high level after the corresponding level from I/O0-I/O7 output, similar to the key triggered once.Similar instantaneous switch.
2>. "Level combination play" :The trigger signal remains the same, similar to a self-locking switch.
3>.The difference between “I/O Integrated/Independent Mode 0” and “I/O Integrated/Independent Mode 1” :Mode 0 will continue playing the current song to the end after release level .Mode 1 will stop playing immediately after release level.
Mode operation instruction:
1>. I/O integrated mode 0(Key combination playing).
It will stop playing current song to the end after I/O0-7 release input signal(return to high) at 'I/O Integrated Mode';It will playing new song when get new input signal during playing and stop after end of song;It will play repeatedly if keep input;Busy pin will output valid signal(High) during playing.
Note: the song must be named for 5bit.
Music control:
IO7 | IO6 | IO5 | IO4 | IO3 | IO2 | IO1 | IO0 | Song |
1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 00001.mp3 |
1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 00002.mp3 |
1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 00003.mp3 |
1 | 1 | 1 | 1 | 1 | 0 | 1 | 1 | 00004.mp3 |
1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 00005.mp3 |
1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 00006.mp3 |
1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 00007.mp3 |
…… | …… | …… | …… | …… | …… | …… | …… | …… |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00255.mp3 |
2>. I/O integrated mode 1(Level combination playing)
It will keep playing current song when get trigger signal.It will stop playing immediately after release level.Busy pin will output valid signal(High) during playing.Note: the song must be named for 5bit.
Music control:
IO7 | IO6 | IO5 | IO4 | IO3 | IO2 | IO1 | IO0 | Song |
1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 00001.mp3 |
1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 00002.mp3 |
1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 00003.mp3 |
1 | 1 | 1 | 1 | 1 | 0 | 1 | 1 | 00004.mp3 |
1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 00005.mp3 |
1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 00006.mp3 |
1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 00007.mp3 |
…… | …… | …… | …… | …… | …… | …… | …… | …… |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00255.mp3 |
3>. I/O independent mode 0((Key independent controlling)
I/O0-I/O7 independently controls 8 songs.It will stop playing current song to the end after I/O0-7 release input signal(return to high);It will playing new song when get new input signal during playing and stop after end of song;It will play repeatedly if keep input;Busy pin will output valid signal(High) during playing.
Note: the song must be named for 5bit.
IO7 | IO6 | IO5 | IO4 | IO3 | IO2 | IO1 | IO0 | Song |
1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 00001.mp3 |
1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 00002.mp3 |
1 | 1 | 1 | 1 | 1 | 0 | 1 | 1 | 00003.mp3 |
1 | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 00004.mp3 |
1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 00005.mp3 |
1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 00006.mp3 |
1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 00007.mp3 |
0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 00008.mp3 |
4>. I/O independent mode 1(Level independent controlling)
I/O0-I/O7 independently controls 8 songs.It will keep play repeatedly specify the triggered song.It will stop playing immediately after release level.Busy pin will output valid signal(High) during playing.
Note: the song must be named for 5bit.
IO7 | IO6 | IO5 | IO4 | IO3 | IO2 | IO1 | IO0 | Song |
1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 00001.mp3 |
1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 00002.mp3 |
1 | 1 | 1 | 1 | 1 | 0 | 1 | 1 | 00003.mp3 |
1 | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 00004.mp3 |
1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 00005.mp3 |
1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 00006.mp3 |
1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 00007.mp3 |
0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 00008.mp3 |
5>. UART serial port mode
5.1>. Communication format
Adopt full duplex serial port communication;
Baud rate 9600, data bits 8, stop bit 1, check bit N.
Start code - command type - data length (n) - data 1- data n- and test (SM)
Command code: fixed to 0xAA.
Command type: used to distinguish the type of command.
Data length: the number of bytes of data in an command.
Data: the relevant data in the command, when the length of data is 1, means that there is only CMD and no data bits.
Test: it is low 8 bits of the sum of all the bytes. that is, When the starting code and the data are added, take out low 8 bits.
Data format: sent data or command, high 8-bit data is in front, low 8-bit is in the back.
5.2>. Communication protocol
The following is a data definition for the return and identification of the chip.
A. Playing State definition: the system is on the stop state when power on.
00(stop) 01(play) 02(pause)
B. Disk character definition: it is stopped after the switch disk.
USB:00 SD:01 FLASH:02 NO_DEVICE: FF.
C. Volume: the volume is 31grades, 0-30.The default is 20grade.
D. Play mode: the default is the single stop when power on.
Cycle for all songs (00) : play the whole songs in sequence and play it after the play.
Single cycle (01) : play the current song all the time.
Single stop (02) : Only play current song once and then stop.
Random play (03) : random play.
Directory loop (04) : play the songs in the current folder in order, and then play them after the play. The directory does not contain subdirectory.
Directory random (05): random play in the current folder, and the directory does not contain subdirectory.
Directory order play (06) : play the songs in the current folder in order and stop after the play. The directory does not contain subdirectory.
Sequential play (07) : play the whole songs in order and stop after it is played.
E. EQ definition: the default EQ is NORMAL(00).
NORMAL(00) POP(01) ROCK(02) JAZZ(03) CLASSIC(04)
F. Composition play definition: combination play is combined by filename. The file requirements are stored under the "XY" file. You can change the name of the file you want to combine to two bytes, which is generally recommended as a number. Such as: 01. Mp3, 02. Mp3.
5.3>. Communication command
Control command:
Command | Command code | Return |
Play | AA 02 00 AC | None |
Pause | AA 03 00 AD | None |
Stop | AA 04 00 AE | None |
Previous | AA 05 00 AF | None |
Next | AA 06 00 B0 | None |
Volume + | AA 14 00 BE | None |
Volume - | AA 15 00 BF | None |
Previous file | AA 0E 00 B8 | None |
Next file | AA 0F 00 B9 | None |
Stop playing | AA 10 00 BA | None |
Setting Command:
Command | Command code | Return | Remark |
Set Volume | AA 13 01 VOL SM | None | VOL:0x00-0xFF |
Set Loop mode | AA 18 01 Loop-mode SM | None | Loop-mode:0x00-0x07 |
Set Cycle times | AA 19 02 H L SM | None |
H:0x00-0xFF L:0x00-0xFF |
Set EQ | AA 1A 01 EQ SM | None | EQ:0x00-0x04 |
Specified Song | AA 07 02 S.N.H S.N.LSM | None |
S.N.H:0x00-0xFF S.N.L:0x00-0xFF |
Specified Path | AA 08 Length Drive Path SM | None |
Length:0x00-0xFF Drive:0x00-0xFF Path:0x00-0xFF |
Switch Specified Drive | AA 0B 01 Drive SM | None | Drive:0x00-0xFF |
Specified song to be interplay | AA 16 03 Drive S.N.H S.N.L SM | None |
Drive:0x00-0xFF S.N.H:0x00-0xFF S.N.L:0x00-0xFF |
Specified path to be interplay | AA 17 Length Drive Path SM | None |
Length:0x00-0xFF Drive:0x00-0xFF Path:0x00-0xFF |
Select but no play | AA 1F 02 S.N.H S.N.L SM | None |
S.N.H:0x00-0xFF S.N.L:0x00-0xFF |
Query Command:
Command | Command code | Return |
Query play status | AA 01 00 AB | AA 01 01, play status, SM |
Query current online drive | AA 09 00 B3 | AA 09 01, drive, SM |
Query current play drive | AA 0A 00 B4 | AA 0A 01, drive, SM |
Query Number of songs | AA 0C 00 B6 | AA 0C 02S.N.H S.N.L SM |
Query current song | AA 0D 00 B7 | AA 0D 02 S.N.H S.N.L SM |
Query folder directory song | AA 11 00 BB | AA 11 02 S.N.H S.N.L SM |
Query folder Number of songs | AA 12 00 BC | AA 12 02 S.N.H S.N.L SM |
6>. One_line Single bus serial port mode
Waveform:
Command format:
Command(HEX) | Function | Note |
00 | No. 0 | The number 0-9 has corresponding functions, such as selecting music, setting the volume, setting EQ, setting cycle mode, setting channel, setting the repertoire, and sending the digital at first and then send function command. |
01 | No. 1 | |
02 | No. 2 | |
03 | No. 3 | |
04 | No. 4 | |
05 | No. 5 | |
06 | No. 6 | |
07 | No. 7 | |
08 | No. 8 | |
09 | No. 9 | |
0A | Number reset | Sent the number of Cleared |
0B | Confirm choosing song | Cooperate with Numbers to achieve. |
0C | Volume setting | |
0D | EQ setting | |
0E | Loop mode setting | |
0F | Channel setting | |
10 | Interplay song setting | |
11 | Play | |
12 | Pause | |
13 | Stop | |
14 | Previous | |
15 | Previous directory | |
16 | Next directory | |
17 | SD card selection | |
18 | SD card selection | |
19 | U disk selection | |
1A | FLASH selection | |
1B | System sleep | |
1C | Stop Playing |
Note: "selection" and "interplay" are played according to the track name, for example, the track is named "00123. Mp3", and the selected data is "0x01", "0x02" "0x03" "0x0B", and the selection is completed.
Package:
1>.1pcs XY-V17D UART Voice Controller;
Pin Definition:
Details:
Size:
Connected with the Mini Voice Board:
Working Principle:
Tested by ICStation's Outstanding Partner adrirobot:
Quantity | 3+ | 5+ | 10+ |
Price | $2.15 | $2.10 | $2.00 |
First we should say that ICStation doesn't accept any form of pay on delivery.Items used to be shipped after receiving the order info and payment.
1) Paypal Payment
PayPal is a secure and trusted payment processing service that allows you to shop online. PayPal can be used at icstation.com to purchase items by Credit Card (Visa, MasterCard, Discover, and American Express), Debit Card , or E-check (i.e. using your regular Bank Account).
We are PayPal Verified
2) West Union
We know that some of you do not have the Paypal account.
Bank Transfer / Wire Transfer / T/T payment methods are accepted for orders which the total price is up to US$500. The bank will charge about US$60 for the transfer fee if we do the payment in these ways.
For other payment method, please contact us at orders@icstation-team.com for more details.
1. Yanwen / YunExpress / 4PX / China Post Airmail Service
(1) Due to the high risk of package lost recently, we have to stop using the free shipping way these days. Hope for your kind understanding! And the $5 is for tracking number and delivery insurance ^0^ Enjoy order from us.
Free Shipping for all orders over $20 ^0^ (with free tracking number and delivery insurance fee)
(2) Shipping time
Shipping time is 7-20 business days to most of countries; please view below table for exactly shipping time to your location.
7-15 working days to: Most of Asia countries
10-16 working days to: USA , Canada , Australia , UK , Most of Europe countries
13-20 working days to: Germany , Russia
18-25 working days to: France , Italy , Spain , South Africa
20-45 working days to: Brazil , Most of South America countries
2. DHL/FedEx Express
(1)Shipping Fee: Free for the order which meet the following requirements
Total price of the order >= 200USD or Total weight of the order >= 2.2KG
When the order meets to one of the above requirement, it will be shipped for FREE via EMS/DHL/UPS Express to below country.
Asia: Japan , South Korea , Mongolia . Malaysia , Singapore , Thailand , Vietnam , Cambodia , Indonesia , Philippines
Oceania: Australia , New Zealand , Papua New Guinea
Europe& America: Belgium, Britain, Denmark, Finland, Greece, Ireland, Italy, Luxembourg, Malta, Norway, Portugal, Switzerland, Germany, Sweden, France, Spain, USA, Austria, Canada
Note: Shipping Fee to other countries, please contact orders@icstation-team.com
(2) Shipping Time & Delivery Time
Because the package would be returned to the sender if it had not been signed by the receiver , please pay attention to the arriving time of the package.
Note:
1) APO and PO Box Addresses
3. Note
1) Delivery Time of mixed orders with items in different Shipping Status should be calculated using the longest estimate times listed.
2) Chinese Holiday Reminder: During annual Chinese holidays, services from certain suppliers and carriers may be affected, and delivery for orders placed around the following times may be delayed by 3 - 7 days: Chinese New Year; Chinese National Day,etc.
3) Once your order is shipped, you will receive an email notification from icstation.com
4) Track the order which with tracking number via below links: