Difference between revisions of "Plugin65"

From Let's Control It
Jump to navigation Jump to search
(Created page with "= Introduction = The ESP module can control the MP3-player module "DRPlayer DRF0299". == Hardware == Circuit wiring: 1st-GPIO -> ESP TX to module RX 5V to module VCC (ca...")
 
Line 1: Line 1:
 
= Introduction =
 
= Introduction =
The ESP module can control the MP3-player module "DRPlayer DRF0299".  
+
The ESP module can control the MP3-player module "DRPlayer DRF0299" and the "YX5300" module with 3.5mm output for speaker(s).
  
 
== Hardware ==
 
== Hardware ==
Line 7: Line 7:
  
 
  1st-GPIO -> ESP TX to module RX
 
  1st-GPIO -> ESP TX to module RX
  5V to module VCC (can be more than 100mA)
+
  5V to module VCC (can be more than 100mA), YX5300 supports 3.3-5V.
 
  GND to module GND
 
  GND to module GND
 
  Speaker to module SPK_1 and SPK_2 (not to GND!)
 
  Speaker to module SPK_1 and SPK_2 (not to GND!)
 
  (optional) module BUSY to LED driver (low active)
 
  (optional) module BUSY to LED driver (low active)
  
 
+
= ESP Easy =
= Software =
 
 
 
== ESP Easy ==
 
 
Use the device tab on the ESP Easy webinterface and create a new task by editing one of the available tasks. Select "Notify - " from the dropdown box.
 
Use the device tab on the ESP Easy webinterface and create a new task by editing one of the available tasks. Select "Notify - " from the dropdown box.
  
Line 22: Line 19:
 
Enter the GPIO pin for serial TX.
 
Enter the GPIO pin for serial TX.
  
== Commands ==
+
= Commands =
  
  play,<track>        Plays the n-th track 1...3000 on SD-card in root folder. The track number is the physical ordenr - not the order displayed in file explorer!
+
  play,<track>        Plays the n-th track 1...3000 on SD-card in root folder. The track number is the physical order - not the order displayed in file explorer!
 
  stop                Stops actual playing sound
 
  stop                Stops actual playing sound
 
  vol,<volume>        Set volume level 1...30
 
  vol,<volume>        Set volume level 1...30
  eq,<type>          Set the equalizer type 0=Normal, 1=Pop, 2=Rock, 3=Jazz, 4=classic, 5=Base
+
  eq,<type>          Set the equalizer type 0=Normal, 1=Pop, 2=Rock, 3=Jazz, 4=classic, 5=Base (IS NOT SUPPORTED BY YX5300)

Revision as of 14:37, 10 July 2017

Introduction

The ESP module can control the MP3-player module "DRPlayer DRF0299" and the "YX5300" module with 3.5mm output for speaker(s).

Hardware

Circuit wiring:

1st-GPIO -> ESP TX to module RX
5V to module VCC (can be more than 100mA), YX5300 supports 3.3-5V.
GND to module GND
Speaker to module SPK_1 and SPK_2 (not to GND!)
(optional) module BUSY to LED driver (low active)

ESP Easy

Use the device tab on the ESP Easy webinterface and create a new task by editing one of the available tasks. Select "Notify - " from the dropdown box.

File:Plugin65 Screen.png

Enter the GPIO pin for serial TX.

Commands

play,<track>        Plays the n-th track 1...3000 on SD-card in root folder. The track number is the physical order - not the order displayed in file explorer!
stop                Stops actual playing sound
vol,<volume>        Set volume level 1...30
eq,<type>           Set the equalizer type 0=Normal, 1=Pop, 2=Rock, 3=Jazz, 4=classic, 5=Base (IS NOT SUPPORTED BY YX5300)