Esphome nodemcu esp32 media player

This uses the esphome media player integration to create a inexpensive media player for home assistant.
13
314
0
4943
updated November 29, 2022

Description

PDF

The purpose of this project is to create an inexpensive  audio player  for home assistant that can be plugged into an existing stereo speaker system.  With this system, you can also build a simple mono  amplified speaker  that can be used as a home assistant notifier or,  in combination with google home,  to either send arbitrary commands to google home (ie: have home assistant send commands to execute google home routines) or respond to media play requests from google home( allowing google home to play media on your much better home stereo speakers).

 Home assistant is required to implement this project. Also, nabu casa is recommended if you are using home assistant with google home. See:  https://www.nabucasa.com/

The 3d printed case is a remix which I modified to accommodate  an esp32, an led and an   i2s preamplifier:

Parts required:

Stereo  media player

      Mono speaker notifier:

                 All the above parts plus:

 

 

ASSEMBLY 

 Solder dupont connectors as shown:

solder the led to the connectors as shown:

 

 

Connect the esp32 with the uda1334a using dupont connectors as follows:

     ESP32 pin       uda 1334a pin      led pins

     Vin             Vin                5V+

     GND             GND                GND

     GPIO33          WSEL

     GPIO23                             DIN

     GPIO22          DIN  

     GPIO19          BCLK
 

 

insert into the 3d printed case:

Program the esp32 using esphome.

DONE!

here is a demo:

 

 

Connecting a pam 8403 amplifier to the DAC board  on pins Lout and Rout allows for a speaker to be connected to create a simple wifi mono powered speaker that can be used as a stand alone media player in home assistant for status announcements or other purposes like a digital radio alarm clock. For this purpose, inexpensive computer speakers can be modfied to hold the electronics. 

ie:

For those of you that also have google home, this allows you to use the media player to  send verbal TTS commands to google home to control routines etc.

ie:

 

 

Tags



Model origin

The author remixed this model.

ESP32-WROOM-32D Dupont Case
by Grunt0307 (thingiverse.com)

License


Highlighted models from creator

View more