I2S digital audio amplifier board for ESP32 Vroom need recommendation

vibnwis
Posts: 89
Joined: Thu Aug 24, 2017 1:13 am

I2S digital audio amplifier board for ESP32 Vroom need recommendation

Postby vibnwis » Mon Oct 09, 2017 7:42 am

HI there,
To reduce the risk of getting a wrong one that does not work with ESP32, may I ask if anyone has any recomendations please? I have seen a few from Adafruit ,
1. https://www.adafruit.com/product/3346. <- two channels
2. https://www.adafruit.com/product/3006 <- single channel. can get two to make two channels.

Please feel free to comment.

Thank you
Lim

User avatar
Jakobsen
Posts: 89
Joined: Mon Jan 16, 2017 8:12 am

Re: I2S digital audio amplifier board for ESP32 Vroom need recommendation

Postby Jakobsen » Mon Oct 09, 2017 8:53 am

Hi Lim
Depends on what audio application you want to end up with. Today any I2S input amp is easy to get up and running. But if you want to increase output power, number of channels, do some audio design, things get a bit more complex.
To get started go with the 2 ch adafruit amp.
For next level stuff please try to describe where you want to end - I will be more then happy to guide you.
Regards Jakobsen
Analog Digital IC designer / DevOps @ Merus Audio, Copenhagen, Denmark.
We do novel and best in class Audio amplifiers for consumer products.
Programmed assembler for C-64 back in 1980's, learned some electronics - hacking since then

User avatar
Jakobsen
Posts: 89
Joined: Mon Jan 16, 2017 8:12 am

Re: I2S digital audio amplifier board for ESP32 Vroom need recommendation

Postby Jakobsen » Mon Oct 09, 2017 9:07 am

Hi
I have just reviewed Adafruits class D line up. They do not sell any Merus Audio stuff, jet. Until then go with MAX9744 based 20W amp.
Regards /Jakobsen
Analog Digital IC designer / DevOps @ Merus Audio, Copenhagen, Denmark.
We do novel and best in class Audio amplifiers for consumer products.
Programmed assembler for C-64 back in 1980's, learned some electronics - hacking since then

vibnwis
Posts: 89
Joined: Thu Aug 24, 2017 1:13 am

Re: I2S digital audio amplifier board for ESP32 Vroom need recommendation

Postby vibnwis » Mon Oct 09, 2017 11:23 am

Hi Jakobsen,
I had a look on the Adafruit 20W Digital Audio Amplifier. Really appreciate your help.

I want to get ESP32 to work as bluetooth audio receiver in general. Since ESP32 has I2S, and audio reproduction over bluetooth is digital and streaming out through I2S, it makes total sense to attach a I2S audio amplifier. I did get what you said about https://www.adafruit.com/product/3346, can you elaborate please? From my research (also endorsed by you ) https://www.adafruit.com/product/3346 would be enough including the output power 2x3W. Also, I would like to stick to 5V or below, instead of 12V input.

Hear from you soon.
Cheers!
Lim

vibnwis
Posts: 89
Joined: Thu Aug 24, 2017 1:13 am

Re: I2S digital audio amplifier board for ESP32 Vroom need recommendation

Postby vibnwis » Mon Oct 09, 2017 12:16 pm

Found this board, however the input voltage is above 5V.
https://www.aliexpress.com/item/ESS-ES9 ... 79bdb25b8f

mgleason_3
Posts: 44
Joined: Mon Nov 07, 2016 5:04 pm

Re: I2S digital audio amplifier board for ESP32 Vroom need recommendation

Postby mgleason_3 » Mon Oct 09, 2017 11:03 pm

Pointing out a couple things you may already know:
  1. The ESPs I2S apparently has a noise issue https://esp32.com/viewtopic.php?f=17&t= ... oise#p4523
  2. The ESP32 has a built in DAC - though it's only 8-bit/low quality viewtopic.php?t=1339
One simple option to avoid the noise would be to use one of the many bluetooth amplifiers (bypassing the ESP32 completely) like https://www.amazon.com/TDA7492P-Amplifi ... B01N3UM7TM

User avatar
Jakobsen
Posts: 89
Joined: Mon Jan 16, 2017 8:12 am

Re: I2S digital audio amplifier board for ESP32 Vroom need recommendation

Postby Jakobsen » Tue Oct 10, 2017 8:29 am

Hi
Noise issue is all gone :-) Check my post viewtopic.php?f=17&t=3176
And some I2S dac/amplifer will be insensitive to that any way.
The 2x3W will do the job and get you going - But if you want party music level you need a stronger output stage.
The Aliexpress option you mention is only a dac - you are need something that will drive couple of speakers.
Regards /Jørgen
Analog Digital IC designer / DevOps @ Merus Audio, Copenhagen, Denmark.
We do novel and best in class Audio amplifiers for consumer products.
Programmed assembler for C-64 back in 1980's, learned some electronics - hacking since then

pataga
Posts: 73
Joined: Sat Aug 12, 2017 5:53 am

Re: I2S digital audio amplifier board for ESP32 Vroom need recommendation

Postby pataga » Tue Oct 10, 2017 11:27 am

I made my own TAS5753MD based board. According to the datasheet, PVDD minimum is 4.5V, but I've only tested it at > 7V ( 2S and 3S lipoly battery packs).

Unfortunately, I wasn't able to use TI's Purepath console software to do all the nice software enhancements like equalization, gain limiting etc. Because the console software will only generate register configuration files if connected to TIs purepath motherboard and the TAS5753 daughter eval board.

So I just have it up and running in default stereo mode with all options at default or disabled. Sounds pretty good, I have no idea how much better it could be if "tuned" correctly with PPC software.

If you're thinking of a product and are willing to purchase the PPC motherboard and evalboard, this might be an option

Bear in mind that the TAS5753MD requires MCLK, but if fs = 44.1kHz or 48khz, it works if BCK >= 64fs and MCLK is connected to BCK.
There was no direct way to set the clock speed in the i2s driver, so I modified BuddyCasino's internet radio streaming project configuration code to force 32bit instead of 16bit even though it's not a Merus board. That indirectly sets up BCK = 64fs instead of 32fs.

I can send you the eagle project files for the board if you like.
IMG_20171010_163914.jpg
IMG_20171010_163914.jpg (144.32 KiB) Viewed 14253 times

vibnwis
Posts: 89
Joined: Thu Aug 24, 2017 1:13 am

[resolved]Re: I2S digital audio amplifier board for ESP32 Vroom need recommendation

Postby vibnwis » Tue Oct 10, 2017 11:35 am

Hi All,
Many thanks for all the useful answers and offers. For the moment, I am looking at simple and easy solution just enough for get on the job.
FYI, I have ordered the 2x3W i2S audio amplifier from Adafruit.
Thanks once again.
Best regards
Lim

Who is online

Users browsing this forum: Bing [Bot] and 106 guests