1. Introduction
The Liludin DY-HV8F is an intelligent voice playback module designed for various applications, including integration with Arduino and other microcontroller projects. It features a 20W Class D amplifier and supports MP3 and WAV audio formats. The module offers multiple control modes, including 10-segment triggering, UART serial port control, and ONENline single bus serial port control, all configurable via simple DIP switch settings. The HV8F model includes 64Mbit (8M bytes) of built-in FLASH memory for storing audio files, which can be updated via a USB data cable.
2. Product Overview
2.1 Features
- Intelligent voice playback module with integrated 10-segment triggering.
- Supports UART serial port control and ONENline single bus serial port control.
- Standard MP3 and other working modes with simple DIP switch settings.
- Onboard 20W Class D amplifier.
- Supports MP3 and WAV decoding formats.
- HV8F model: Integrated 64Mbit (8M bytes) FLASH memory (no TF card interface).
- HV20T model (variant): Supports up to 32GB TF cards (no built-in FLASH memory).
- Audio file updates via USB data cable (for both HV8F and HV20T).
- 10 one-to-one trigger playback function: 8 individual 10-port triggers for 8 tracks or 8 100 combination triggers for 255 tracks.
- Oneliner single bus serial port control for playback, pause, song selection, and volume adjustment.
- Up to 7 working mode selections with 3 configurations and 10 DIP switch settings.
- 8-way 10 design ESD protection.
- UART control for playback, pause, song selection, volume adjustment; supports up to 65535 songs at 9600 bit/s baud rate.
2.2 Specifications
| Parameter | Value |
|---|---|
| Model | DY-HV8F |
| Brand | Liludin |
| Application | Computer, Embedded Systems |
| Type | Module |
| Origin | Mainland China |
| Condition | New |
| Supply Voltage | DC 6-35V (12V/24V nominal) |
| Package | SMD |
| Decoding Formats | MP3, WAV |
| Sampling Rate (KHz) | 8/11.025/12/16/22.05/24/32/44.1/48 |
| DAC Output | 24 bit, 90dB dynamic range, 85dB signal-to-noise ratio |
| Amplifier Output | 20W @ 4Ω speaker, 10W @ 8Ω speaker |
| Internal Memory (HV8F) | 64Mbit (8M bytes) FLASH |
| External Memory (HV20T) | Up to 32GB TF card |
| Module Dimensions (L x W x H) | 50mm x 50mm x ~3mm (approximate height) |
| Weight | 0.016 kg |
Note: The HV8F model does not have a TF card interface. The HV20T model supports TF cards but does not have built-in FLASH memory.
3. Setup
3.1 Module Layout and Dimensions
3.2 Pin Definitions and Connections
Refer to the diagram below for the pinout and connection points of the DY-HV8F module.
| Pin Name | Pin Description |
|---|---|
| Power negative terminal | Negative pole of power supply (GND) |
| Positive power terminal | Connect to the positive pole of a 6-35V DC power supply |
| TXD/IO0 | In IO trigger mode, it is input pin IO0; In UART control mode, the TX pin is connected to the RX of the control terminal (MCU) |
| RXD/IO1 | In IO trigger mode, it is input pin IO1; In UART control mode, the RX pin is connected to the TX of the control terminal (MCU) |
| IO2 | IO trigger mode input pin IO2 |
| IO3 | IO trigger mode input pin IO3 |
| One_line/IO4 | IO trigger mode input pin IO4; One_Line One Line Serial Port Control Mode Data Reception Pin |
| IO5 | IO trigger mode input pin IO5 |
| IO6 | IO trigger mode input pin IO6 |
| IO7 | IO trigger mode input pin IO7 |
| BUSY | Output low level (0V) when playing a track, output high level (3.3V) when playing ends |
| GND | Reference ground terminal (connected to the control terminal GND) |
| Horn positive pole | Recommended to connect 4 Ω/20W or 8 Ω/10W speaker |
| Horn negative pole | Recommended to connect 4 Ω/20W or 8 Ω/10W speaker |
Figure 3.5: Pin Definition Table
3.3 IO Input/Output Characteristics
| IO Input Characteristics | ||||
|---|---|---|---|---|
| Symbol | Parameter | Minimum | Maximum | Unit |
| VIL | Low level input | 0 | 0.8 | V |
| VIH | High level input | 2.7 | 3.3 | V |
| IO Output Characteristics | ||||
| Symbol | Parameter | Minimum | Maximum | Unit |
| VOL | Low level output | 0 | 0.33 | V |
| VOH | High level output | 2.7 | 3.3 | V |
Figure 3.6: IO Input/Output Characteristics Table
3.4 Audio File Management
For the HV8F model, audio files are stored in the integrated 8M bytes FLASH memory. To update these files, connect the module to a computer using a USB data cable. The module will appear as a storage device, allowing you to drag and drop MP3 or WAV files.
For the HV20T model, insert a TF card (up to 32GB) into the module. Connect the module to a computer via a USB data cable to manage files on the TF card.
4. Operating Instructions
4.1 Volume Control
Adjust the playback volume using the onboard volume control knob. Rotate clockwise to increase volume and counter-clockwise to decrease it.
4.2 Trigger Mode Configuration (DIP Switch)
The module's operating mode is configured using the 3-position DIP switch. Each switch position corresponds to a binary value: "ON" (pulled to the ON end) represents '1' (high level), and "digital end" (pulled away from ON) represents '0' (low level).
| Control Mode | Configure Pins (CON3, CON2, CON1) | I/O Function (IO7 to IO0) | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| I/O combination mode 0 | 0 | 0 | 0 | Press button combination to play 2^8-1 (255) tracks. | |||||||
| I/O combination mode 1 | 0 | 0 | 1 | Level combination playback, capable of playing 2^8-1 (255) tracks. | |||||||
| I/O independent mode 0 | 0 | 1 | 0 | Track 8 | Track 7 | Track 6 | Track 5 | Track 4 | Track 3 | Track 2 | Track 1 |
| I/O independent mode 1 | 0 | 1 | 1 | Track 8 | Track 7 | Track 6 | Track 5 | Track 4 | Track 3 | Track 2 | Track 1 |
| UART serial port mode | 1 | 0 | 0 | RXD | TXD | ||||||
| 1-wire serial port mode | 1 | 0 | 1 | RXD | |||||||
Figure 4.2: Control Mode and I/O Function Table
Playback Mode Explanation:
Key combination playback: This mode restores the original high level after the IO0-IO7 outputs the corresponding low level. It functions similarly to a momentary button press, where the action triggers and then resets.
Level combination playback: In this mode, the low level corresponding to the output of IO0-IO7 remains unchanged. Playback continues as long as the low level is maintained and stops when the level is released.
The difference between "I/O Combination (Independent) Mode 0" and "I/O Combination (Independent) Mode 1" is that in Mode 0, the former mode continues to play the current track until the end after releasing the level, while in Mode 1, the latter mode immediately stops playing the track after releasing the level.
4.3 Serial Port Control (UART & One-Line)
When configured for UART serial port mode or One-Line serial port mode, the module can be controlled by an external MCU (Microcontroller Unit) to perform functions such as playback, pause, song selection, and volume adjustment. For UART mode, ensure your MCU's TX and RX pins are correctly connected to the module's RXD/IO1 and TXD/IO0 pins respectively. The baud rate for UART communication is 9600 bit/s.
5. Maintenance
- Keep the module dry and away from moisture to prevent damage to electronic components.
- Avoid exposing the module to extreme temperatures or direct sunlight.
- Clean the module gently with a dry, soft cloth. Do not use liquids or abrasive cleaners.
- Ensure proper ventilation if enclosing the module in a case, especially when operating at higher power outputs, to prevent overheating.
- Handle with care to avoid physical damage to the PCB or components.
6. Troubleshooting
| Problem | Possible Cause | Solution |
|---|---|---|
| No power/Module not responding | Incorrect power supply voltage or polarity; loose connections. | Verify power supply is within DC 6-35V range and connected with correct polarity. Check all power connections. |
| No sound output | Speaker not connected or faulty; volume too low; corrupted audio files; incorrect trigger mode. | Ensure speaker is correctly wired and functional. Adjust volume knob. Re-upload audio files. Check DIP switch settings for the correct trigger mode. |
| Audio files not playing correctly | Unsupported audio format; corrupted files; incorrect file naming/structure for trigger mode. | Ensure files are MP3 or WAV format. Re-upload files. Consult documentation for specific file naming conventions required by the chosen trigger mode. |
| Serial communication issues | Incorrect wiring (TX/RX swapped); wrong baud rate; module not in serial mode. | Verify TX/RX connections between MCU and module. Ensure baud rate is 9600 bit/s. Check DIP switch to confirm UART or One-Line serial mode is selected. |
7. User Tips
Based on common usage and general best practices for similar modules:
- File Naming: For trigger modes, audio files often need to be named sequentially (e.g., 001.mp3, 002.mp3). Refer to specific programming guides for your chosen microcontroller platform (e.g., Arduino) for detailed file management.
- Power Supply Stability: Use a stable power supply within the specified 6-35V DC range. Fluctuations can affect performance or damage the module.
- Speaker Impedance: Always match the speaker impedance (4Ω or 8Ω) to the module's capabilities to prevent damage and ensure optimal sound quality.
- ESD Protection: While the module has ESD protection, always handle it with anti-static precautions, especially when integrating into a larger circuit.
8. Warranty and Support
For warranty information, technical support, or further assistance, please contact the seller or manufacturer directly. Keep your purchase records for any warranty claims.