Hello. I am working on a project where I want to disconnect the speaker wire from a Halloween prop and connect it to a 3w amp and then output to a better speaker. This is the project I am undertaking: https://www.youtube.com/watch?v=1ozdvts2L2E and it looks to work well.
I found this PAM8403 amp: Amazon.com: HiLetgo Mini 3W+3W DC 5V Audio Amplifier Handy Digital Power Amp Module Board Dual-channel PAM8403 Stereo Amplifiers with Potentiometer for DIY portable : Electronics
I am trying to find a way to connect it to an esp32 so I can view and change the volume in esphome. I have been searching for the answer but did not find an answer/example, so I am hoping somebody could help.
Would it be possible to do this using a PAM8403 or is there a better way to do this?
Thanks!