OngoingLosssless Audio Player
PROLosssless Audio Player
License
:MIT License
Description
ESP32-S3 Portable Audio Player - Project Description
Project Overview
A battery-powered, portable audio player based on the ESP32-S3 microcontroller featuring high-quality audio playback, color display, SD card storage, and USB charging capabilities.
1. Core Features
-
High-quality stereo audio playback (MP3, WAV, FLAC support)
-
1.8" color LCD display (128×160 ST7735) with album art
-
6-button tactile interface for navigation and control
-
MicroSD card storage (up to 128GB)
-
Rechargeable Li-ion battery (2500mAh, 5-9 hours runtime)
-
USB Type-C charging (1A)
-
Stereo headphone amplification (1W per channel)
-
WiFi/Bluetooth capable for streaming (optional)
-
8MB PSRAM for large audio buffers
2. Hardware Components
2.1 Main Components
| Component | Model | Purpose | Key Specifications |
|---|---|---|---|
| Microcontroller | ESP32-S3-WROOM-1-N8R8 | Main processor | 240 MHz dual-core Xtensa, 8MB Flash, 8MB PSRAM |
| Audio DAC | PCM5102A | Digital-to-analog converter | 32-bit, 384 kHz, 112 dB SNR, I2S interface |
| Audio Amplifier | TPA6211A1 (×2) | Stereo headphone amp | 1W per channel @ 16Ω, Class AB |
| Display | ST7735 LCD | User interface | 1.8" TFT, 128×160 pixels, 262K colors, SPI/I2C |
| Storage | MicroSD Card | Music library | Up to 128GB, SDMMC 4-bit interface |
| Battery | Li-ion 18650 | Power source | 3.7V nominal, 2500mAh, single cell |
| Charge Controller | TP4056 | USB charging manager | 1A charging, CC/CV, status outputs |
| Boost Converter | TPS61023 or MT3608 | Battery to 5V | 2A output, 93-95% efficiency |
| Voltage Regulator | AZ1117EH-3.3 | 5V to 3.3V conversion | 1A LDO, SOT-223 package |
| Level Shifter | TXS0108E | 3.3V ↔ 5V logic translation | 8-channel bidirectional |
2.2 Supporting Components
-
Buttons: 6× tactile switches (Left, Right, Up, Down, Center, Menu)
-
Connectors: USB Type-C (charging), 3.5mm headphone jack, MicroSD slot
-
Power switch: SPST slide switch for main power control
-
Passive components: Capacitors, resistors, inductors per IC datasheets
3. Power System
3.1 Power Architecture
Battery → Switch → Boost (5V) → LDO (3.3V) → All components
Dual input system:
-
Battery path: 3.0-4.2V → Boost → 5V
-
USB path: 5V direct (for charging + operation)
-
Schottky OR-ing prevents backfeeding
3.2 Power Specifications
| Parameter | Value | Notes |
|---|---|---|
| Battery voltage | 3.0 - 4.2V | Li-ion single cell |
| Battery capacity | 2500 mAh | 18650 form factor |
| System voltage | 3.3V | Main digital rail |
| USB input | 5V / 1A | Type-C connector |
| Peak current draw | 1.7A from battery | Max volume + WiFi active |
| Typical current draw | 400 mA from battery | 50% volume playback |
| Idle current | 90 mA from battery | Paused, display dimmed |
| Charging current | 1A | Via TP4056 (RPROG = 1.2kΩ) |
| Charging time | ~2.5 hours | Empty to full |
| Battery runtime | 5-6 hours typical | Medium volume |
| Battery runtime | 8-9 hours | Low volume |
3.3 Battery Management
Charging (TP4056):
-
Constant current / constant voltage charging
-
4.2V end voltage (±1%)
-
Status pins: CHRG (charging), STDBY (charge complete)
-
Both monitored via TXS0108 level shifter
Battery Monitoring:
-
Voltage sense via GPIO1 ADC (100kΩ + 100kΩ divider)
-
Software percentage calculation (3.0V = 0%, 4.2V = 100%)
-
Low battery warning at 20% (3.4V)
-
Critical shutdown at 5% (3.2V)
Protection:
-
Boost converter UVLO at ~2.8V (prevents over-discharge)
-
TP4056 over-charge protection (4.2V max)
-
Software volume limiting when battery low
4. Audio System
4.1 Audio Path
SD Card → ESP32-S3 (decode) → I2S → PCM5102A DAC → TPA6211A1 Amps → Headphones
4.2 Audio Specifications
| Parameter | Value |
|---|---|
| Sample rate | 8 kHz - 192 kHz |
| Bit depth | 16/24/32-bit |
| DAC SNR | 112 dB |
| THD+N | -93 dB |
| Output power | 1W per channel @ 16Ω |
| Headphone impedance | 16-32Ω recommended |
| Frequency response | 20 Hz - 20 kHz (±0.5 dB) |
| Channels | Stereo (Left + Right) |
4.3 Supported Formats
-
MP3: MPEG-1/2 Layer III, all bitrates
-
WAV: Uncompressed PCM, 16/24-bit
-
FLAC: Lossless compression
-
AAC: Advanced Audio Coding (via ESP32 decoder)
Design Drawing
The preview image was not generated, please save it again in the editor.BOM
Bom empty
CloneProject Members
Intellectual Property Statement & Reproduction Instructions
This is an open-source hardware project. All intellectual property rights belong to the creator. The project is shared on the platform for learning, communication, and research only; any commercial use is prohibited. If your intellectual property rights are infringed on EasyEDA, please notify us by submitting relevant materials in accordance with the Rules for Complaints and Appeals of IPR Infringement.
Users must independently verify the circuit design and suitability when replicating this project. All risks and consequences are borne by the user, and the platform assumes no liability.
Empty


Comment