https://github.com/dilshan/arduino-mini-amp
Arduino based stereo audio amplifier system
https://github.com/dilshan/arduino-mini-amp
ac6939 arduino arduino-nano audio power-amplifier stereo tda8425 yda138
Last synced: 6 months ago
JSON representation
Arduino based stereo audio amplifier system
- Host: GitHub
- URL: https://github.com/dilshan/arduino-mini-amp
- Owner: dilshan
- License: mit
- Created: 2022-07-26T11:23:12.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2025-10-21T14:56:18.000Z (9 months ago)
- Last Synced: 2025-10-21T16:41:05.236Z (9 months ago)
- Topics: ac6939, arduino, arduino-nano, audio, power-amplifier, stereo, tda8425, yda138
- Language: C++
- Homepage:
- Size: 2.53 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Arduino Mini Amplifier
The **Arduino Mini Amplifier** is a complete, open-source audio amplifier system that combines vintage analog audio processing with modern embedded control. It features Bluetooth and line-in audio inputs, tone adjustment, multiple stereo enhancement modes, and a 16-channel real-time audio spectrum analyzer displayed on an LCD.

At its core, this design integrates the Philips [TDA8425](https://www.alldatasheet.com/datasheet-pdf/download/19486/PHILIPS/TDA8425.html) analog audio processor - introduced in the late 1980s and known for its high-quality tone control system - with the Yamaha [YDA138](https://www.alldatasheet.com/datasheet-pdf/download/205149/YAMAHA/YDA138.html), a compact Class-D digital power amplifier that delivers up to 2×10 W RMS of clear, low-distortion stereo output.
An [ATmega328P](https://www.alldatasheet.com/datasheet-pdf/download/241077/ATMEL/ATMEGA328P.html) microcontroller platform ([Arduino Nano](https://docs.arduino.cc/resources/datasheets/A000005-datasheet.pdf)) manages all audio controls, user interface elements, and real-time visualizations.
## Features
- Based on Arduino Nano (ATmega328P)
- Bluetooth and Line-in audio input support
- 16-channel spectrum analyzer on 16×2 LCD
- Tone control (bass, treble) and mute function
- Speaker / Headphone output modes
- Stereo modes: Pseudo, Spatial, Linear, and Forced Mono
- Software control over all audio parameters via I2C
## Firmware
The firmware is written in C++ using the [Arduino framework](https://docs.platformio.org/en/latest/frameworks/arduino.html) and developed under [PlatformIO](https://platformio.org/).
To build and upload the firmware:
1. Install PlatformIO (as a [standalone tool or VS Code extension](https://platformio.org/platformio-ide)).
2. Clone this repository and open `arduino-amp-firmware` directory in PlatformIO.
3. Connect Arduino Nano (or compatible ATmega328P board) to the computer via USB.
4. From the PlatformIO toolbar or terminal, run:
```
pio run --target upload
```
This will compile and flash the firmware to the board automatically.
The firmware automatically initializes the audio processor, LCD, and input controls at startup. All adjustable parameters—such as tone, volume, and stereo mode - are stored in built-in EEPROM and restored on each power cycle.
## PCB and Hardware Design
This project is sponsored by [PCBWay](https://www.pcbway.com/). You can directly [order the PCB from PCBWay](https://www.pcbway.com/project/shareproject/Arduino_Mini_Amplifier_c5ac6d9c.html) or by uploading the Gerber files available in the [Releases](/dilshan/arduino-mini-amp/releases) section of this repository.
This amplifier has the following functional modules:
- **Audio Processor** – TDA8425-based tone and input control
- **Spectrum Analyzer** – 16-band with seperate NE5532 op-amp buffer
- **Power Amplifier** – Yamaha YDA138 Class-D stage (2 × 10 W RMS)
- **Bluetooth Source** – *AC6939* module with 78L05 regulator
- **Control Interface** – Arduino Nano, LCD, and tactile switches
- **Power Supply** – 12V DC input with multiple regulated rails
## License
This is a [certified open hardware project](https://certification.oshwa.org/lk000018.html) and all its design files, firmware source code, [documentation](https://github.com/dilshan/arduino-mini-amp/wiki), and other resource files are available at this project source repository. The content of this project is distributed under the terms of the following licenses:
- Hardware License: [CERN-OHL-W 2.0](https://ohwr.org/cern_ohl_w_v2.pdf)
- Software License: [MIT](/dilshan/arduino-mini-amp/blob/master/LICENSE)
- Documentation License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.en)
[](https://certification.oshwa.org/lk000018.html)