BY8001 16P Voice Module Manual V1.2英文版x V1.2英文版
User Manual:
Open the PDF directly: View PDF
.
Page Count: 13
| Download | |
| Open PDF In Browser | View PDF |
Shenzhen Balway Electronic BY8001-16P voice module manual V1.2 Shenzhen Balway Electronic Technology Co., Ltd. - Page 1- Shenzhen Balway Electronic BY8001-16P voice module manual V1.2 BY8001-16P voice module manual 1、Overview BY8001-16P card MP3 module is Shenzhen Electronic Technology Co., independent research and development of a new type of high-quality compact. Using BY8001-SSOP24 MP3 main chip, support MP3, WAV format double decoding. Module built TF deck, the card can be replaced voice content; also U can be an external disk or USB data cable to connect the computer to replace the TF content. The built-in 3W amplifier module can directly drive 3W speakers, easier to use. 2、Product Features supports MP3, WAV audio formats with high quality, beautiful sound. supports MP3, WAV audio formats with high quality, beautiful sound. 24-bit DAC output, support dynamic range 90dB, SNR support 85dB. Supports 15 paragraph one trigger voice playback, 3 IO port select eight kinds of hardware trigger wider application. support asynchronous serial UART Control: Support play, pause, and down song, volume addition and subtraction, playing selections, advertising spots and so on. built-in volume, track, EQ down memory function. configuration TF (Micro SD) card connector, the card can replace voice content, maximum support 32G memory card. read U disk support, maximum support 32G; TF can also directly replace the contents inside the USB data cable. comes with 3W amplifier, external speakers directly to complete the play; customers can also add a single, dual-channel amplifier. standard 2.54mm pin spacing DIP16 package, compact appearance. 3、Technical Specifications Name Parameter MP3, WAV file format supports sample rates 8 ~ 48K, the bit rate of 8 ~ 320Kbps audio files USB 2.0 interface standard (Micro USB interface to connect a computer to download the voice can also be read U disk contents) UART interface standard serial port, 3.3V TTL level, baud rate 9600 Input voltage 3.6V-5V (recommended value 4.2V) Quiescent current 16MA (entire module) Power amplifier connected 3W / 4Ω or 2W / 8Ω speaker Size 22mm * 21mm Operating temperature -40 ℃~70 ℃ Humidity 5%~95% - Page 2- Shenzhen Balway Electronic BY8001-16P voice module manual V1.2 4、Module pin map 1 2 3 4 5 6 7 8 BUSY RX TX DACR DACL SPK1 SPK2 VCC DM DP GND IO1 IO2 IO3 IO4 IO5 16 15 14 13 12 11 10 9 BY8001-16P Pin No. Pin Name Function Description Remarks 1 BUSY when playing high output, low stop busy signal 2 RX UART asynchronous serial data output 3.3V TTL level 3 TX UART asynchronous serial data input 3.3V TTL level 4 DACR DAC right channel output external amplifier, headphones 5 DACL DAC left channel output external amplifier, headphones 6 SPK1 external mono speaker then 3W / 4Ω or 2W / 8Ω, passive speaker 7 SPK2 external mono speaker then 3W / 4Ω or 2W / 8Ω, passive speaker 8 VCC the positive power supply 3.6-5V 9 IO5 trigger input port 5 grounding trigger 10 IO4 trigger input port 4 grounding trigger 11 IO3 trigger input port 3 grounding trigger 12 IO2 trigger input port 2 grounding trigger 13 IO1 trigger input port 1 grounding trigger 14 GND negative power systematically 15 DP USB data cable 16 DM USB data cable Read U disk or connected to the computer with a USB cable to replace the TF card contents - Page 3- Shenzhen Balway Electronic BY8001-16P voice module manual V1.2 5、Module package size 6、IO port button trigger Description This module has five trigger IO ports, supports up to 15 segments one trigger button to play. By three IO ports through 3.3K resistor to ground or not connected to eight kinds of control mode selection for a variety of applications. Resistor settings control mode in front of the module, marked with ABC character defaults module 010, the customer can go back voluntarily modify: Section 21 key one application: IO1 One play, song 1 IO1* IO5 One play, song 9 IO2 One play, song 2 IO2* IO3 One play, song 10 IO3 One play, song 3 IO2* IO4 One play, song 11 IO4 One play, song 4 IO2* IO5 One play, song 12 IO5 One play, song 5 IO3* IO4 One play, song 13 IO1* IO2 One play, song 6 IO3* IO5 One play, song 14 IO1* IO3 One play, song 7 IO4* IO5 One play, song 15 IO1* IO4 One play, song 8 - Page 4- Shenzhen Balway Electronic BY8001-16P voice module manual V1.2 3 IO port selection control mode application (3.3K ground zero, to float a), the default value 010: IOA IOB IOC 0 0 0 Key grounded, triggering stop playing again, half-way trigger is invalid; long time exceed the current song, loop, finished playing again in the middle lift stop 0 0 1 Key grounding, ON / OFF function. Click the play, during playback, the trigger again to stop, and then trigger the stop state is played from the beginning, once you finish playing the current song stops 0 1 0 Ground button, click on the ring, ring in the process, the press will be interrupted, and then re-start play, finished play once then stop 0 1 1 Ground button, click on the ring, then the process can not be interrupted in the ring until the ring have been exhausted, then finished only effective response 1 0 0 Hold trigger level player, has been pressing the play button, the button to stop playing immediately lift (not available in this mode for serial control) 1 0 1 Level hold loop trigger playback button has been pressing the Loop button lift to stop playing (not available in this mode for serial control) 1 1 0 Standard MP3 mode (not available in this mode for serial control) 1 1 1 One key trigger function (the button is pressed both effective without release) IO1 Play / Pause / long press 2 seconds to stop the current song IO2 under a (short press) / Volume + (long press) IO3 on a (short press) / Volume - (long press) IO4 Volume + IO5 Volume - Application-specific features IO1 Key grounded, triggering stop playing again, half-way trigger is invalid; long time exceed the current song, loop, finished playing again in the middle lift stop IO2 pressed a short / long press the volume + IO3 on a short press / long press volume - IO4 Ground key trigger to play the current song during playback, then will break, and then re-start play the current song finishes playing it again to stop IO5 Press play all the songs in the order cycle, then stops. 7、Applications industrial control areas: industrial control equipment; Intelligent Transportation Equipment: toll stations, car parks, car voice prompts; advertising industry: advertising language broadcast; access control, time and attendance: The door has been opened, such as voice prompts; security industry: the human body sensors prompt, safe and voice prompts, Tips; advanced toys: Swing machine, hit the crash, game consoles; Medical Electronics: Equipment voice prompts; Communication Education: Educational equipment, electronic communications; - Page 5- Shenzhen Balway Electronic BY8001-16P voice module manual V1.2 8、Serial Control Protocol BY8301 built-in standard asynchronous serial UART interface, are 3.3V TTL level interface. Can be converted to RS232 level through the MAX3232 chip. Communication data format is: Start bit: 1; data bits: 8; Parity: None; Stop Bits: 1. Using the computer serial debugging assistant, you need to set the correct serial port parameters, settings shown: Protocol command format: Start code length opcodes parameters check code end code 0X7E see below see below see below see below 0XEF Note: all the data as a hexadecimal number."Length" refers to the length of the + operator code + Parameter Length + checksum,"Checksum" refers to the value of the length of the operation code, parameters negated, customers can get through checksum calculator. For example, playing instructions for 7E 03 01 02 EF Length 03 is thus obtained: is "03", "01", "02" 3-digit length; checksum 02 is obtained by: First, open the calculator programmer mode selection; Then select the hex, double word; Finally, click to calculate 3 Xor 1 = 2 Command sent successfully returned OK, stop the song finishes playing return STOP. - Page 6- Shenzhen Balway Electronic BY8001-16P voice module manual V1.2 8.1 Instruction List Communications Control Instructions (Another company a voice module FLASH plug BY8301-16P) Detailed CMD Corresponding function Parameters 0x01 Play no 0x02 Pause no 0x03 Under no 0x04 On no 0x05 Volume increase no 0x06 Volume reduction no 0x07 Standby / work no, enters standby current 10MA 0x09 Reset, no no 0x0A Fast-forward, no 0x0B Rewind no 0x0E Stop no 0x31 Set the volume 0-30 adjustable (off memory) 0x32 Setting EQ 0-5 (NO\POP\ROCK\JAZZ\CLASSIC\BASS) (off memory) 0x33 Setting cycle mode 0-4 (All/Folder/single player/random/broadcast again) 0x34 Folder switching 0 (a folder), 1 (next folder) 0x35 Device switching 0x41 Choose to play tracks 0(U),2(FLASH) 1-255 first (off memory) 0x42 Specify a folder track is playing high eight for the folder number (00-99), the low eight song name (001-255) 0x43 Spots feature 1-65536 0x44 Spots designated folder inside the high eight for the folder number (00-99), the low eight songs song name (001-255) Combination play Combination play different tracks will be sent continuously aired stop, maximum support 10 segments Communications query Detailed CMD Corresponding function Parameter 0x 10 Query playing status 0 (stop) 1 (Play) 2 (Pause) 3 (fast forward) 4 (rewind) 0x 11 Query volume. 0-30 (off memory) 0x 12 Query the current EQ 0-5 (NO\POP\ROCK\JAZZ\CLASSIC\BASS) (off memory) 0x 13 Query the current play mode 0-4 (All/Folder/single player/random/broadcast again) 0x 14 Query version 1.0 0x 15 Query version 1-65535 0x 16 Query U disk total file totals 1-65535 0x 18 The total number of files query FLASH 0(U 盘),1(SD) 0x 19 Query the current playback device 1-65536 0x 1A Current track queries U disk 1-65536 0x 1C Query the currently playing song time Anti-back time (in seconds) 0x 1D Query the current total time Anti-back time (in seconds) - Page 7- Shenzhen Balway Electronic BY8001-16P voice module manual V1.2 playing songs 0x 1E Query the currently playing song song In return the song name 0x 1F Query the current playback folder within the total number of 0-65536 Note: Continuous transmission interval 20MS above, the combination of playback within 6MS two commands between the two commands. 8.2 Control instructions detailed instructions 8.2.1 Play Startcode Length Opcode Checksum End code 7E 03 01 02 EF Send the command to Play music, pause or stop state to start playback. 8.2.2 Pause Startcode Length Opcode Checksum End code 7E 03 02 01 EF Send the command to pause playback music. 8.2.3 Next song Startcode Length Opcode Checksum End code 7E 03 03 00 EF This command can trigger the next song Play music while playing the last piece of music, send the command to trigger the first song Play music. 8.2.4 On song Startcode Length Opcode Checksum End code 7E 03 04 07 EF This command can trigger the next song Play music while playing the first song to music, send the command can be triggered to play the last piece of music. 8.2.5 Volume + Startcode Length Opcode Checksum End code 7E 03 05 06 EF Chip has 30 adjustable volume, send a command, a volume increase. 8.2.6 Volume Startcode Length Opcode Checksum End code 7E 03 06 05 EF Chip has 30 adjustable volume, send a command, a volume reduction. 8.2.7 Standby / normal operation Startcode Length Opcode Checksum End code 7E 03 07 04 EF Send this instruction chip into standby status at work, in the standby state needs to send commands to wake the chip to work properly again. 8.2.8 Reset Startcode Length Opcode Checksum End code 7E 03 09 0A EF - Page 8- Shenzhen Balway Electronic BY8001-16P voice module manual V1.2 Under normal circumstances do not need to use this command, send the command resets the chip, all parameters reply to factory settings (Tone The largest, returns to the first, no EQ); special attention after using this function before you need to specify the playback device Normal operation, after sending a reset command, two seconds later to send the specified command SD card playback 7E 04 35 01 30 EF Followed by additional control command operations. 8.2.9 Fast Forward Startcode Length Opcode Checksum End code 7E 03 0A 09 EF Sends a command to fast forward the music for some time. 8.2.10 Rewind Startcode Length Opcode Checksum End code 7E 03 0B 08 EF Sends a command to rewind the music for some time. 8.2.11 Stop Startcode Length Opcode Checksum End code 7E 03 0E 0D EF Send this instruction in music playback or pause state can stop the music. 8.2.12 Set Volume Startcode Length Opcode 7E 04 31 Volume Level 19 Checksum End code 2C EF 0-30 adjustable volume, real-time modification of the directive can adjust the volume, the volume can be powered down memory paradigm hair Send volume level is 25. 8.2.12 Setting EQ Startcode Length Opcode Parameters Checksum End code 7E 04 32 00 36 EF Send this instruction can change EQ. 8.2.13 Setting cycle mode Startcode Length Opcode Parameters Checksum End code 7E 04 33 02 35 EF Send this instruction cycle mode can be set, for example to set single cycle mode. 8.2.14 Folder Switching Startcode Length Opcode Parameters Checksum End code 7E 04 34 01 31 EF Send the command to switch folders Play, sending one to the next folder, and 0 on a folder. Note: FALSH not have this feature. 8.2.15 Switching equipment Startcode Length Opcode Parameters - Page 9- Checksum End code Shenzhen Balway Electronic 7E BY8001-16P voice module manual V1.2 04 35 01 30 EF When the system has multiple devices, you can send the command to select the device to be read, for example select TF card player. 8.2.16 Select a track Play Startcode Length Opcode Tracks high Tracks low Checksum End code 7E 05 41 00 01 45 EF Send this command to specify the corresponding storage track is playing, play the first example of a song. Note: Tracks for 1-65536 8.2.17 Specify the folder track playback Startcode Length Opcode Tracks high Tracks low Checksum End code 7E 05 42 00 02 45 EF Sowing the corresponding tracks corresponding instruction can specify a folder within a folder 8 high number, low 8 to the song title.Examples for the specified folder 00 in the first two Play. Note: If you want to use this feature, the folder must be named 00-99, songs must be named 001 XXX.MP3-255 XXX.MP3, No Mistakes will not be played. FALSH not have this feature. 8.2.18 Spots feature Startcode Length Opcode Tracks high Tracks low Checksum End code 7E 05 43 00 03 45 EF When receiving the instruction of this article, we pause a track, and then to implement this directive specified Play tracks, When finished playing, then Play the original Pause tracks. Note: FALSH not have this feature. 8.2.19 Spots designated folder songs Startcode Length Opcode Tracks high Tracks low Checksum End code 7E 05 44 01 06 46 EF When receiving the instruction of this article, we pause a track, and then to implement this directive specified in the file.Corresponding track is playing, when finished playing, then Play the original Pause tracks. High eight for the folder number, the lower 8 bitsThe song title. Note: If you want to use this feature, the folder must be named 00-99, songs must be named 001 XXX.MP3-255 XXX.MP3, NoMistakes will not be played. FALSH not have this feature. 8.2.20 Combination Play Continuous transmission: 7E 05 41 00 01 45 EF 7E 05 41 00 02 46 EF 7E 05 41 00 03 47 EF 7E 05 41 00 40 EF Play 1,2,3,4 song aired stop, up to 10 continuous playback. Two commands at intervals shorter than 6MS. 8.3 Query command Description For example: sending a query playing status command 7E 03 10 13 EF, return OK 0001, said in the playing state. After sending the query command returns the corresponding value, not described in detail. - Page 10- Shenzhen Balway Electronic BY8001-16P voice module manual V1.2 9、Application Circuit Note that all the main chip IO port voltage is 3.3V, note that the voltage matches other microcontrollers connected! 9.1.21 Road buttons control application circuit K1-K15 corresponding voice segment 1-15 1 2 3 4 5 6 7 8 SPK1 2W/8R 5V BUSY RX TX DACR DACL SPK1 SPK2 VCC DM DP GND IO1 IO2 IO3 IO4 IO5 16 15 14 13 12 11 10 9 IO1 IO2 IO3 IO4 IO5 1 1 1 1 1 2 2 2 2 2 IO1 IO1 IO1 IO1 IO2 IO2 IO2 IO3 IO3 IO4 K1 K2 K3 K4 K5 BY 8001-16P GND 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 K6 K7 K8 K9 K10 K11 K12 K13 K14 K15 IO2 IO3 IO4 IO5 IO3 IO4 IO5 IO4 IO5 IO5 GND 15-way switch button is equivalent to the amount of control. 9.2.Microcontroller serial control application circuit 5V 3.3V R1 MCU 1 2 3 4 5 6 7 8 1K SPK1 2W/8R 5V BUSY RX TX DACR DACL SPK1 SPK2 VCC DM DP GND IO1 IO2 IO3 IO4 IO5 16 15 14 13 12 11 10 9 MCU SPK1 2W/8R BY 8001-16P 单片机5V供电RX串1K电阻 5V 1 2 3 4 5 6 7 8 BUSY RX TX DACR DACL SPK1 SPK2 VCC GND 16 15 14 13 12 11 10 9 BY 8001-16P 单片机3.3V供电 GND DM DP GND IO1 IO2 IO3 IO4 IO5 GND GND The above is a standard UART asynchronous serial connectivity applications, this application is quite flexible, including play, pause, up and down the song, volume addition and subtraction, Play selections, advertising spots and so on. Available microcontroller, computer serial port control 485 can also be controlled by TTL to RS485 adapter plate. 9.3.MCU IO port directly connected to the control application circuit GND SPK1 2W/8R 5V 1 2 3 4 5 6 7 8 BUSY RX TX DACR DACL SPK1 SPK2 VCC DM DP GND IO1 IO2 IO3 IO4 IO5 BY 8001-16P 16 15 14 13 12 11 10 9 GND 5V MCU IO1 IO2 IO3 IO4 IO5 R1 R2 R3 R4 R5 1K 1K 1K 1K 1K SPK1 2W/8R 5V 1 2 3 4 5 6 7 8 BUSY RX TX DACR DACL SPK1 SPK2 VCC DM DP GND IO1 IO2 IO3 IO4 IO5 BY 8001-16P 单片机5V供电IO口串1K电阻 GND 16 15 14 13 12 11 10 9 3.3V MCU IO1 IO2 IO3 IO4 IO5 单片机3.3V供电 GND By the microcontroller through a low pulse signal (equivalent to pressing the lift button) can trigger IO1-IO5, achieve one Play six segments voice, and above 3IO selectable control modes. 9.4.For some customers may use the trigger level to play, you can use the relay control can also be used optocoupler control, providing connection diagram below: - Page 11- Shenzhen Balway Electronic BY8001-16P voice module manual V1.2 Relay 12V KC1 1 GND IO1 2 3 12V KC1 1 6 2 3 5 4 6 K1 5 1 4 KEY 2 2 1 GND IO1 1 IO2 2 3 HK4100F-DC12V 1 6 2 3 5 4 6 K1 5 4 1 KEY 2 2 1 HK4100F-DC12V Left IO port down play, the figure for the Play in the first paragraph; right is IO combination play, the relay is energized IO1,IO2 short-circuit Play in paragraph 6. Optocoupler 12V U1 IO1 EL357N 4 1 R1 3 GND K1 1K 1 12V KEY 2 2 1 U2 2 EL357N K1 IO5 4 1 R1 IO2 3 2 GND 1K 1 1 KEY 2 2 GND Left IO port down play, the figure for the Play in the first paragraph; right is IO combination play, the rules of connections is the low number of connections IO port optocoupler 3 feet, 4 feet high number of connections, the figure for the first 12 Play segment. Given above is 12V trigger level can also be converted to a single-chip high-low trigger. 9.5.External amplifier application circuit C1 双声道功放 C2 10UF 10UF 5V 1 2 3 4 5 6 7 8 BUSY RX TX DACR DACL SPK1 SPK2 VCC DM DP GND IO1 IO2 IO3 IO4 IO5 16 15 14 13 12 11 10 9 单声道功放 C1 10UF C2 10UF 5V 1 2 3 4 5 6 7 8 BY 8001-16P BUSY RX TX DACR DACL SPK1 SPK2 VCC GND The module power is mainly the customer can own an external amplifier. External headphone application circuit: 4 5 3 2 1 J1 C1 47UF C2 47UF 5V PHONOJACK 16 15 14 13 12 11 10 9 BY 8001-16P GND 1 2 3 4 5 6 7 8 DM DP GND IO1 IO2 IO3 IO4 IO5 BUSY RX TX DACR DACL SPK1 SPK2 VCC DM DP GND IO1 IO2 IO3 IO4 IO5 16 15 14 13 12 11 10 9 BY8001-16P GND 10、Manual version Version Date Description V1.0 2014-3-25 The initial version V1.1 2014-10-8 Add some application circuit - Page 12- Shenzhen Balway Electronic BY8001-16P voice module manual V1.2 Shenzhen Electronic Balway Technology Co., Ltd. is a set of voice solutions, voice semi-finished speech development, production and service in one of technology-based enterprises, the main research has been focused on speech technology, voice chip solution, MP3 module, voice prompts board, voice finished products such as software and hardware design, development and customization. And to undertake electronic product development and small batch production, post-production and mature manner using OEM supplier, the business scope of automotive electronics, security, home security, communications, home appliances, medical equipment, industrial automation and control, education, equipment, toys and gifts consumer products and other fields. Shenzhen Best Electronic Technology specializes in the development, design, production and sales of voice products. The main circuit board for research and development of products BY series of voice, voice chip solution, MP3 voice module, greeting module, TF card MP3 module, USB MP3 module, 12V playback boards, high-power multi-channel playback control panels, door voice Reminder, advertising tips, a truck speed limiter, as well as customers with special needs to develop a voice product development programs, and implement the program, to complete product development, testing, until the actual application of the guidance products and other services. After years of development, the company has formed a complete system of technology development process, can quickly develop customer demand for products, uphold the high degree of enthusiasm and sophisticated technology, has always been to serve our customers for the purpose, committed to market strategy. For the needs of the market, in the company's meticulous efforts of all staff, the products will be comprehensive, thorough, to meet customer demand, improve efficiency, and cost-effective. We adhere to the people-oriented service attitude, to reach a two-way communication with customers, providing high-quality products and excellent service of the people. Shenzhen Electronic Technology Co., Ltd. is currently the sales and service strategy to enhance customer service quality, to help develop the most competitive end products, we uphold a positive innovation, courage, customer satisfaction, teamwork, the market has been gradually from China extended to all regions of the globe. The company's competitive advantages include the following four points: (A) professional and innovative research and development capabilities, high-quality research and development and engineering and technical teams; (B) the strong long-term relationship market, the price has the absolute advantage; (C) the full range of technical support and improve the marketing system; (D) stable product delivery and quality assurance. Shenzhen Balway Electronic Technology Co., Ltd. Website:www.balway.com E-mail: balway@163.com TEL: 0755-33142633 Rm.303, Huafujin Mansion, No.81 building,Baishilong, New Yixiu village, Minzhi Street, Bao'an District, Shenzhen,518131 - Page 13-
Source Exif Data:
File Type : PDF File Type Extension : pdf MIME Type : application/pdf PDF Version : 1.5 Linearized : No Page Count : 13 Page Layout : OneColumn Page Mode : UseNone Title : Microsoft Word - BY8001-16P voice module manual V1.2英文版.docx Author : Administrator Creator : Microsoft Word - BY8001-16P voice module manual V1.2英文版.docx Producer : novaPDF Professional Desktop Ver 7.7 Build 394 (Windows 7 Ultimate Edition (SP 1) - Version: 6.1.7601 (x86)) Create Date : 2015:04:16 09:32:26+08:00EXIF Metadata provided by EXIF.tools