MP3 Player Control With Webserver Using ESP32 WIFI

by CarlosVoltT in Circuits > Electronics

235 Views, 1 Favorites, 0 Comments

MP3 Player Control With Webserver Using ESP32 WIFI

portada-820x461 (35).png

In this tutorial you will learn how to build a web server using the ESP32 to control the YX5300 module, a serial-controlled MP3 audio player

In this tutorial, you will learn how to build a web server using the ESP32 to control the YX5300 module, a serial-controlled MP3 audio player. This project will allow you to manage the playback of MP3 files stored on a microSD card, directly from a web interface accessible from any device connected to the same Wi-Fi network.

The ESP32, with its powerful processing power and wireless connectivity, will be the brain of this project, while the YX5300 module will be responsible for playing the music or sound effects you want. Through a series of serial commands sent from the ESP32, you will be able to play, pause, stop, fast forward or rewind audio tracks, as well as adjust the volume, all in a simple and effective way.

This project is ideal for applications that require a remote audio control system, such as alarm systems, voice notifications, interactive toys, or simply to add a custom sound system to your IoT projects. Throughout this tutorial, we will guide you step-by-step through configuring the hardware, programming the ESP32, and creating the web interface, so that you can replicate and adapt this project to your needs.




Electronic components




An Esp32

Female pins

Dupont cables female male

A micro SD card

A YX5300 MP3 module

Module Manual

Serial MP3 Player v1.0 Manual

Very important –> https://goo.gl/xZPiJp

Examples for arduino

SerialMP3PlayerDemoCode for Arduino-1.0

Program similar to the one in the video.

Serial Debug tool – SSCOM32

This is in Mandarin

About the Chip – YX5300




Relay Module




TECHNICAL SPECIFICATIONS

  1. Operating Voltage: 5V DC
  2. Control Signal: TTL (3.3V or 5V)
  3. Number of Relays (channels): 1 CH
  4. Max capacity: 10A/250VAC, 10A/30VDC
  5. Max current: 10A (NO), 5A (NC)
  6. Action time: 10 ms / 5 ms
  7. To activate output NO: 0 Volts

PCB

Descargar archivo gerber –> Esp32_fingerprint_PCB

Circuit