Skip to content

About

Библиотека AlashUartMP3 — это удобное решение для управления MP3-плеерами через UART-интерфейс на платформах Arduino и ESP32. Разработанная командой Alash Electronics, эта библиотека обеспечивает простое и эффективное взаимодействие с MP3-модулями, такими как модули на чипе JQ8400.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

AlashUartMP3

🌐 English | Русский

Arduino library for controlling UART-based MP3 player modules (e.g. boards built on the JQ8400 chip).

Installation

  • Download: https://github.com/Alash-electronics/AlashUartMP3
  • In the Arduino IDE: Sketch → Include Library → Add .ZIP Library…
  • Select the downloaded AlashUartMP3.zip
  • Examples are now available under File → Examples → AlashUartMP3 → HelloWorld

Usage

AlashUartMP3 works with any object that implements the Stream interface — a hardware Serial port, SoftwareSerial, or an ESP32's extra hardware UARTs.

Basic wiring

#include <AlashUartMP3.h>
AlashUartMP3 mp3(mySerial);

ESP32

#include <AlashUartMP3.h>
AlashUartMP3 mp3(Serial2);

Other initialization examples

#include <AlashUartMP3.h>
AlashUartMP3 mp3(mySerial); // SoftwareSerial

#include <AlashUartMP3.h>
AlashUartMP3 mp3(Serial);   // hardware Serial

#include <AlashUartMP3.h>
AlashUartMP3 mp3(Serial2);  // ESP32 second hardware UART

Examples

  • HelloWorld / HelloWorld_ESP32 — minimal init and playback
  • FullDemo — walkthrough of the full API
  • PlayByNumber — play a specific track by index
  • RandomPlay — shuffle playback
  • SpecialAnnouncement — interrupt playback with a priority track

Other Arduino libraries from Alash-electronics

github.com/Alash-electronics

About

Библиотека AlashUartMP3 — это удобное решение для управления MP3-плеерами через UART-интерфейс на платформах Arduino и ESP32. Разработанная командой Alash Electronics, эта библиотека обеспечивает простое и эффективное взаимодействие с MP3-модулями, такими как модули на чипе JQ8400.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages