{"id":2945,"date":"2024-04-07T13:26:58","date_gmt":"2024-04-07T11:26:58","guid":{"rendered":"https:\/\/www.espthings.io\/?p=2945"},"modified":"2024-04-10T18:50:43","modified_gmt":"2024-04-10T16:50:43","slug":"louder-esp32-a-hi-fi-class-d-audio-amplifier-running-esphome","status":"publish","type":"post","link":"https:\/\/www.ingeniousmakers.com\/index.php\/2024\/04\/07\/louder-esp32-a-hi-fi-class-d-audio-amplifier-running-esphome\/","title":{"rendered":"Louder ESP32, a Hi-Fi Class-D audio amplifier running ESPHome!"},"content":{"rendered":"<p>While scouring the internet in search of an ESP32 amplifier capable of running ESPHome firmware, I discovered the Louder ESP32. This neat unit comprises an external I2S DAC, perfectly able to drive full-sized speakers, and a PSRAM chip. This pairing furnishes the compact ESP32 module with the needed memory (provided by PSRAM) and the capacity to develop high-quality Hi-Fi products.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2947\" src=\"https:\/\/www.espthings.io\/wp-content\/uploads\/2024\/04\/IMG_7975-1024x898.png\" alt=\"\" width=\"550\" height=\"482\" srcset=\"https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2024\/04\/IMG_7975-1024x898.png?v=1712487492 1024w, https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2024\/04\/IMG_7975-300x263.png?v=1712487492 300w, https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2024\/04\/IMG_7975-768x674.png?v=1712487492 768w, https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2024\/04\/IMG_7975-1536x1347.png?v=1712487492 1536w, https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2024\/04\/IMG_7975-2048x1796.png?v=1712487492 2048w, https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2024\/04\/IMG_7975-720x631.png?v=1712487492 720w, https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2024\/04\/IMG_7975-520x456.png?v=1712487492 520w, https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2024\/04\/IMG_7975-320x281.png?v=1712487492 320w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_1 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69d5d31acef41\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69d5d31acef41\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.ingeniousmakers.com\/index.php\/2024\/04\/07\/louder-esp32-a-hi-fi-class-d-audio-amplifier-running-esphome\/#Squeezelite-ESP32\" >Squeezelite-ESP32<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.ingeniousmakers.com\/index.php\/2024\/04\/07\/louder-esp32-a-hi-fi-class-d-audio-amplifier-running-esphome\/#ESPHome\" >ESPHome<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.ingeniousmakers.com\/index.php\/2024\/04\/07\/louder-esp32-a-hi-fi-class-d-audio-amplifier-running-esphome\/#Testing\" >Testing<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.ingeniousmakers.com\/index.php\/2024\/04\/07\/louder-esp32-a-hi-fi-class-d-audio-amplifier-running-esphome\/#Where_to_get\" >Where to get<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.ingeniousmakers.com\/index.php\/2024\/04\/07\/louder-esp32-a-hi-fi-class-d-audio-amplifier-running-esphome\/#ESPHome_config\" >ESPHome config<\/a><ul class='ez-toc-list-level-5' ><li class='ez-toc-heading-level-5'><ul class='ez-toc-list-level-5' ><li class='ez-toc-heading-level-5'><ul class='ez-toc-list-level-5' ><li class='ez-toc-heading-level-5'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.ingeniousmakers.com\/index.php\/2024\/04\/07\/louder-esp32-a-hi-fi-class-d-audio-amplifier-running-esphome\/#louderesp32h\" >louderesp32.h<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-5'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.ingeniousmakers.com\/index.php\/2024\/04\/07\/louder-esp32-a-hi-fi-class-d-audio-amplifier-running-esphome\/#Esphome_yaml\" >Esphome yaml<\/a><\/li><\/ul><\/li><\/ul><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.ingeniousmakers.com\/index.php\/2024\/04\/07\/louder-esp32-a-hi-fi-class-d-audio-amplifier-running-esphome\/#Links\" >Links<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Squeezelite-ESP32\"><\/span>Squeezelite-ESP32<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The Louder ESP32 depends on Squeezelite-ESP32, a multimedia software suite that was initially a renderer (or player) for LMS (Logitech Media Server). Furthermore, it supports Spotify&#8217;s over-the-air player via SpotifyConnect, an AirPlay controller compatible with iPhone, iTunes, and so on. It even offers multiroom synchronization capabilities, albeit limited to AirPlay 1. Of course, it also support the traditional Bluetooth connectivity, making it compatible with iPhone and Android devices.<\/p>\n<p>Eager to gauge the board&#8217;s performance using Squeezelite-ESP32, I flashed this firmware and set the appropriate DAC Options in the NVS Editor section. In no time at all, I had it up and running, and I was immediately impressed by its power and audio quality.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"ESPHome\"><\/span>ESPHome<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>However fantastic that may sound, since all my ESP32 devices run ESPHome, I didn&#8217;t want this board to be the odd one out. Thus, with some kind guidance from the boards developer (Andriy) for the information on how to initialize and activate the DAC, a touch of ChatGPT magic, and a dose of my own creativity, I successfully got the amplifier to work on ESPHome.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Testing\"><\/span>Testing<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The Louder ESP32 comes with an external 4MB of usable PSRAM. It&#8217;s AMP provides 2x 4\u03a9\/15W at a voltage input of 12V or alternatively, 2x 8\u03a9\/23W at a voltage input of 22V. This combination of high power output and substantial PSRAM memory space means that the Louder ESP32 is uniquely positioned to handle audio applications with exceptional ease and proficiency. Throughout my testing, I detected no discernible noise, crackling, or any other audio distortions. My tests were specifically conducted using the Klipsch R-50M speaker set and a 19v laptop power supply. The audio quality turned out to be nothing short of astounding! Under a full load (100% volume), the board drew an average power of less than 20 watts. In standby mode, it maintained a low average power draw of just 1.1 watts.<\/p>\n<p>As I only had a single unit available for testing, I was unable to evaluate the audio synchronization capabilities on both Squeezelite and ESPHome (using Music Assistant). This is an area I plan to revisit in a future article.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Where_to_get\"><\/span>Where to get<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"color: #ff0000;\"><strong>This board is sadly sold out, there is a new product (Louder Esparagus) coming soon&#8230;. Check: <a href=\"https:\/\/www.crowdsupply.com\/sonocotta\/esparagus-media-center\">https:\/\/www.crowdsupply.com\/sonocotta\/esparagus-media-center<\/a><\/strong><\/span><\/p>\n<p>Available for just <strong>USD 15.00<\/strong> (without the ESP32 MIni D1), <strong>USD 21.00 including the ESP32<\/strong> or <strong>USD 26.00 including ESP32 and the W5500 ethernet module<\/strong> on <strong><a href=\"https:\/\/www.tindie.com\/products\/sonocotta\/louder-esp32\/\">Tindie<\/a><\/strong>, this board offers a truly astounding price-quality ratio. I purchased this with my own money, and I can readily advocate to anyone looking for a small yet powerful Class-D audio amplifier to consider it as well!<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2946\" src=\"https:\/\/www.espthings.io\/wp-content\/uploads\/2024\/04\/CleanShot-2024-04-07-at-12.52.38.png\" alt=\"\" width=\"1001\" height=\"675\" srcset=\"https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2024\/04\/CleanShot-2024-04-07-at-12.52.38.png?v=1712487200 1001w, https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2024\/04\/CleanShot-2024-04-07-at-12.52.38-300x202.png?v=1712487200 300w, https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2024\/04\/CleanShot-2024-04-07-at-12.52.38-768x518.png?v=1712487200 768w, https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2024\/04\/CleanShot-2024-04-07-at-12.52.38-720x486.png?v=1712487200 720w, https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2024\/04\/CleanShot-2024-04-07-at-12.52.38-520x351.png?v=1712487200 520w, https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2024\/04\/CleanShot-2024-04-07-at-12.52.38-320x216.png?v=1712487200 320w\" sizes=\"auto, (max-width: 1001px) 100vw, 1001px\" \/><\/p>\n<div class=\"video-container\"><div class=\"lyte-wrapper\" style=\"width:640px;max-width:100%;margin:5px;\"><div class=\"lyMe hidef\" id=\"WYL_yzx_xf33BAk\"><div id=\"lyte_yzx_xf33BAk\" data-src=\"\/\/i.ytimg.com\/vi\/yzx_xf33BAk\/hqdefault.jpg\" class=\"pL\"><div class=\"tC\"><div class=\"tT\"><\/div><\/div><div class=\"play\"><\/div><div class=\"ctrl\"><div class=\"Lctrl\"><\/div><div class=\"Rctrl\"><\/div><\/div><\/div><noscript><a href=\"https:\/\/youtu.be\/yzx_xf33BAk\" rel=\"nofollow\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i.ytimg.com\/vi\/yzx_xf33BAk\/0.jpg\" alt=\"YouTube video thumbnail\" width=\"640\" height=\"340\" \/><\/a><\/noscript><\/div><\/div><div class=\"lL\" style=\"max-width:100%;width:640px;margin:5px;\"> <a href=\"https:\/\/youtu.be\/yzx_xf33BAk\" target=\"_blank\">Watch this video on YouTube<\/a>.<br\/><span class=\"lyte_disclaimer\">Please <a href=\"https:\/\/www.youtube.com\/@Ingenious-Makers?sub_confirmation=1\">subscribe<\/a> to our YouTube channel and hit the bell, comment etc.to support us!<\/span><\/div><\/div>\n<h2><span class=\"ez-toc-section\" id=\"ESPHome_config\"><\/span>ESPHome config<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h5><span class=\"ez-toc-section\" id=\"louderesp32h\"><\/span>louderesp32.h<span class=\"ez-toc-section-end\"><\/span><\/h5>\n<p>(put this file in your \/config\/esphome\/ folder)<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"cpp\">\/\/###########################################################################\r\n\/\/## ESPHome custom component for the Louder ESP32                         ##\r\n\/\/## Get it here: https:\/\/www.tindie.com\/products\/sonocotta\/louder-esp32\/  ##\r\n\/\/## Check the blog article on https:\/\/www.espthings.io\/louder-esp32       ##\r\n\/\/###########################################################################\r\n#include \"esphome.h\"\r\n#include &lt;Wire.h&gt;\r\n\r\n#define DEVICE_CTRL_2_REGISTER 0x03\r\n#define PWDN_PIN 33\r\n#define I2C_ADDR 0x2D\r\n\r\nclass TAS5805 : public Component, public Switch  {\r\n  public:\r\n    void setup() override {\r\n      pinMode(PWDN_PIN, OUTPUT);\r\n      digitalWrite(PWDN_PIN, LOW);\r\n      delay(200);\r\n      digitalWrite(PWDN_PIN, HIGH);\r\n\r\n      Wire.begin();\r\n      Wire.beginTransmission(I2C_ADDR);\r\n      if (Wire.endTransmission() != 0) {\r\n        ESP_LOGE(\"TAS5805\", \"TAS5805 not found at address 0x2D\");\r\n        return;\r\n      }\r\n      Wire.beginTransmission(I2C_ADDR);\r\n      Wire.write(DEVICE_CTRL_2_REGISTER);\r\n      Wire.write(0x02);\r\n      Wire.endTransmission();\r\n      delay(50);\r\n      Wire.beginTransmission(I2C_ADDR);\r\n      Wire.write(DEVICE_CTRL_2_REGISTER);\r\n      Wire.write(0x03);\r\n      Wire.endTransmission();\r\n\r\n      ESP_LOGI(\"TAS5805\", \"TAS5805 initialized.\");\r\n    }\r\n \r\n    void write_state(bool state) override {\r\n      uint8_t value = state ? 0x03 : 0x00;\r\n      Wire.beginTransmission(I2C_ADDR);\r\n      Wire.write(DEVICE_CTRL_2_REGISTER);\r\n      Wire.write(value);\r\n      Wire.endTransmission();\r\n      publish_state(state);\r\n    }\r\n};<\/pre>\n<h5><span class=\"ez-toc-section\" id=\"Esphome_yaml\"><\/span>Esphome yaml<span class=\"ez-toc-section-end\"><\/span><\/h5>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"yaml\">#############################################################################\r\n### ESPHome config for the Louder ESP32 Hi-Fi Class-D audio amplifier     ###\r\n### Check out our blog article at: https:\/\/www.espthings.io\/louder-esp32  ###\r\n#############################################################################\r\nsubstitutions:\r\n  devicename: \"louder-esp32\"\r\n  long_devicename: \"Speakers bedroom\"\r\n  pcb_version: \"12\/23 REV E\"\r\n\r\nesphome:\r\n  name: \"${devicename}\"\r\n  name_add_mac_suffix: false\r\n  comment: \"${long_devicename} Louder ESP32 ${pcb_version}\"\r\n  includes:\r\n    - louderesp32.h\r\n  platformio_options:\r\n    lib_deps: \"Wire\"\r\n  on_boot:\r\n    priority: 800\r\n    then:\r\n    ## Set a volume limit just to be safe...\r\n    - media_player.volume_set:\r\n        id: louderesp32\r\n        volume: 10%\r\n\r\nesp32:\r\n  board: mhetesp32minikit\r\n\r\nwifi:\r\n  ssid: !secret esphome_wifi_ssid\r\n  password: !secret esphome_wifi_password\r\n  ap:\r\n    ssid: \"$devicename Fallback Hotspot\"\r\n    password: !secret esphome_ap_password\r\n\r\ncaptive_portal:\r\n\r\n### Optional if you want ethernet (then remove all wifi config) ###\r\n#ethernet:\r\n#  type: W5500\r\n#  clk_pin: GPIO18\r\n#  mosi_pin: GPIO23\r\n#  miso_pin: GPIO19\r\n#  cs_pin: GPIO05\r\n#  interrupt_pin: GPIO35\r\n#  reset_pin: GPIO14\r\n\r\nlogger:\r\n  level: DEBUG\r\n\r\napi:\r\n  encryption:\r\n    key: !secret esphome_api_key\r\n\r\nota:\r\n  password: !secret esphome_ota_password\r\n\r\npsram:\r\n  mode: octal\r\n  speed: 80MHz\r\n\r\nswitch:\r\n  - platform: custom\r\n    lambda: |-\r\n      auto tas5805 = new TAS5805();\r\n      App.register_component(tas5805);\r\n      return {tas5805};\r\n    switches:\r\n      name: \"Enable Amp\"\r\n\r\ni2c:\r\n  sda: GPIO21\r\n  scl: GPIO27\r\n  scan: True\r\n  id: i2c_component\r\n\r\ni2s_audio:\r\n  i2s_lrclk_pin: GPIO25\r\n  i2s_bclk_pin: GPIO26\r\n\r\nmedia_player:\r\n  - platform: i2s_audio\r\n    name: $long_devicename\r\n    id: louderesp32\r\n    dac_type: external\r\n    i2s_dout_pin: GPIO22\r\n    mode: stereo<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Links\"><\/span>Links<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>ESPhome config: <a href=\"https:\/\/github.com\/HA-TB303\/ESPHome-Louder-ESP32\">https:\/\/github.com\/HA-TB303\/ESPHome-Louder-ESP32<\/a><\/p>\n<p>ESPHome: <a href=\"https:\/\/esphome.io\/\">https:\/\/esphome.io<\/a><\/p>\n<p>ESPHome feature request: <a href=\"https:\/\/github.com\/esphome\/feature-requests\/issues\/2666\">https:\/\/github.com\/esphome\/feature-requests\/issues\/2666<\/a><\/p>\n<p>Louder ESP32: <a href=\"https:\/\/www.tindie.com\/products\/sonocotta\/louder-esp32\">https:\/\/www.tindie.com\/products\/sonocotta\/louder-esp32<\/a><\/p>\n<p>Squeezelite-ESP32: <a href=\"https:\/\/sle118.github.io\/squeezelite-esp32-installer\">https:\/\/sle118.github.io\/squeezelite-esp32-installer<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>While scouring the internet in search of an ESP32 amplifier capable of running ESPHome firmware, I discovered the Louder ESP32. This neat unit comprises an external I2S DAC, perfectly able to drive full-sized speakers, and a PSRAM chip. This pairing furnishes the compact ESP32 module&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":2947,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[38],"tags":[42,49,105,106],"class_list":["post-2945","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","tag-esphome","tag-home-assistant","tag-louder-esp32","tag-music-assistant"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Louder ESP32, a Hi-Fi Class-D audio amplifier running ESPHome! - ingeniousmakers.com<\/title>\n<meta name=\"description\" content=\"While scouring the internet in search of an ESP32 amplifier capable of running ESPHome firmware, I discovered the Louder ESP32. This neat unit comprises an external I2S DAC, perfectly able to drive full-sized speakers, and a PSRAM chip. This pairing furnishes the compact ESP32 module with the needed memory (provided by PSRAM) and the capacity to develop high-quality Hi-Fi products.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.ingeniousmakers.com\/index.php\/2024\/04\/07\/louder-esp32-a-hi-fi-class-d-audio-amplifier-running-esphome\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Louder ESP32, a Hi-Fi Class-D audio amplifier running esphome!\" \/>\n<meta property=\"og:description\" content=\"While scouring the internet in search of an ESP32 amplifier capable of running ESPHome firmware, I discovered the Louder ESP32. This neat unit comprises an external I2S DAC, perfectly able to drive full-sized speakers, and a PSRAM chip. This pairing furnishes the compact ESP32 module with the needed memory (provided by PSRAM) and the capacity to develop high-quality Hi-Fi products.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.ingeniousmakers.com\/index.php\/2024\/04\/07\/louder-esp32-a-hi-fi-class-d-audio-amplifier-running-esphome\/\" \/>\n<meta property=\"og:site_name\" content=\"ingeniousmakers.com\" \/>\n<meta property=\"article:published_time\" content=\"2024-04-07T11:26:58+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-10T16:50:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2024\/04\/IMG_7975-1024x898.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"898\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"michel\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"Louder ESP32, a Hi-Fi Class-D audio amplifier running esphome!\" \/>\n<meta name=\"twitter:description\" content=\"While scouring the internet in search of an ESP32 amplifier capable of running ESPHome firmware, I discovered the Louder ESP32. This neat unit comprises an external I2S DAC, perfectly able to drive full-sized speakers, and a PSRAM chip. This pairing furnishes the compact ESP32 module with the needed memory (provided by PSRAM) and the capacity to develop high-quality Hi-Fi products.\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"michel\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/index.php\\\/2024\\\/04\\\/07\\\/louder-esp32-a-hi-fi-class-d-audio-amplifier-running-esphome\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/index.php\\\/2024\\\/04\\\/07\\\/louder-esp32-a-hi-fi-class-d-audio-amplifier-running-esphome\\\/\"},\"author\":{\"name\":\"michel\",\"@id\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/#\\\/schema\\\/person\\\/f1d70771f1c76600487075757975bf43\"},\"headline\":\"Louder ESP32, a Hi-Fi Class-D audio amplifier running ESPHome!\",\"datePublished\":\"2024-04-07T11:26:58+00:00\",\"dateModified\":\"2024-04-10T16:50:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/index.php\\\/2024\\\/04\\\/07\\\/louder-esp32-a-hi-fi-class-d-audio-amplifier-running-esphome\\\/\"},\"wordCount\":568,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/index.php\\\/2024\\\/04\\\/07\\\/louder-esp32-a-hi-fi-class-d-audio-amplifier-running-esphome\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/wp-content\\\/uploads\\\/2024\\\/04\\\/IMG_7975.png?v=1712487492\",\"keywords\":[\"esphome\",\"home assistant\",\"Louder ESP32\",\"Music Assistant\"],\"articleSection\":[\"News\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.ingeniousmakers.com\\\/index.php\\\/2024\\\/04\\\/07\\\/louder-esp32-a-hi-fi-class-d-audio-amplifier-running-esphome\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/index.php\\\/2024\\\/04\\\/07\\\/louder-esp32-a-hi-fi-class-d-audio-amplifier-running-esphome\\\/\",\"url\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/index.php\\\/2024\\\/04\\\/07\\\/louder-esp32-a-hi-fi-class-d-audio-amplifier-running-esphome\\\/\",\"name\":\"Louder ESP32, a Hi-Fi Class-D audio amplifier running ESPHome! - ingeniousmakers.com\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/index.php\\\/2024\\\/04\\\/07\\\/louder-esp32-a-hi-fi-class-d-audio-amplifier-running-esphome\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/index.php\\\/2024\\\/04\\\/07\\\/louder-esp32-a-hi-fi-class-d-audio-amplifier-running-esphome\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/wp-content\\\/uploads\\\/2024\\\/04\\\/IMG_7975.png?v=1712487492\",\"datePublished\":\"2024-04-07T11:26:58+00:00\",\"dateModified\":\"2024-04-10T16:50:43+00:00\",\"description\":\"While scouring the internet in search of an ESP32 amplifier capable of running ESPHome firmware, I discovered the Louder ESP32. This neat unit comprises an external I2S DAC, perfectly able to drive full-sized speakers, and a PSRAM chip. This pairing furnishes the compact ESP32 module with the needed memory (provided by PSRAM) and the capacity to develop high-quality Hi-Fi products.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/index.php\\\/2024\\\/04\\\/07\\\/louder-esp32-a-hi-fi-class-d-audio-amplifier-running-esphome\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.ingeniousmakers.com\\\/index.php\\\/2024\\\/04\\\/07\\\/louder-esp32-a-hi-fi-class-d-audio-amplifier-running-esphome\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/index.php\\\/2024\\\/04\\\/07\\\/louder-esp32-a-hi-fi-class-d-audio-amplifier-running-esphome\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/wp-content\\\/uploads\\\/2024\\\/04\\\/IMG_7975.png?v=1712487492\",\"contentUrl\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/wp-content\\\/uploads\\\/2024\\\/04\\\/IMG_7975.png?v=1712487492\",\"width\":2658,\"height\":2331},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/index.php\\\/2024\\\/04\\\/07\\\/louder-esp32-a-hi-fi-class-d-audio-amplifier-running-esphome\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Louder ESP32, a Hi-Fi Class-D audio amplifier running ESPHome!\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/#website\",\"url\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/\",\"name\":\"Ingeniousmakers.com\",\"description\":\"Make it or break it!\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/#organization\",\"name\":\"Ingeniousmakers.con\",\"url\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/cropped-cropped-logo_landscape_no_payoff_transparent.png\",\"contentUrl\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/cropped-cropped-logo_landscape_no_payoff_transparent.png\",\"width\":1905,\"height\":671,\"caption\":\"Ingeniousmakers.con\"},\"image\":{\"@id\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCeMzk2C5tbMkpsByg7Nbgyw\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/#\\\/schema\\\/person\\\/f1d70771f1c76600487075757975bf43\",\"name\":\"michel\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b08aad91cb210b8eeb8cccdd43555d1fa747a0c865eaab78016c4305357e29cc?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b08aad91cb210b8eeb8cccdd43555d1fa747a0c865eaab78016c4305357e29cc?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b08aad91cb210b8eeb8cccdd43555d1fa747a0c865eaab78016c4305357e29cc?s=96&r=g\",\"caption\":\"michel\"},\"sameAs\":[\"https:\\\/\\\/www.ingeniousmakers.com\"],\"url\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/index.php\\\/author\\\/michel\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Louder ESP32, a Hi-Fi Class-D audio amplifier running ESPHome! - ingeniousmakers.com","description":"While scouring the internet in search of an ESP32 amplifier capable of running ESPHome firmware, I discovered the Louder ESP32. This neat unit comprises an external I2S DAC, perfectly able to drive full-sized speakers, and a PSRAM chip. This pairing furnishes the compact ESP32 module with the needed memory (provided by PSRAM) and the capacity to develop high-quality Hi-Fi products.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.ingeniousmakers.com\/index.php\/2024\/04\/07\/louder-esp32-a-hi-fi-class-d-audio-amplifier-running-esphome\/","og_locale":"en_US","og_type":"article","og_title":"Louder ESP32, a Hi-Fi Class-D audio amplifier running esphome!","og_description":"While scouring the internet in search of an ESP32 amplifier capable of running ESPHome firmware, I discovered the Louder ESP32. This neat unit comprises an external I2S DAC, perfectly able to drive full-sized speakers, and a PSRAM chip. This pairing furnishes the compact ESP32 module with the needed memory (provided by PSRAM) and the capacity to develop high-quality Hi-Fi products.","og_url":"https:\/\/www.ingeniousmakers.com\/index.php\/2024\/04\/07\/louder-esp32-a-hi-fi-class-d-audio-amplifier-running-esphome\/","og_site_name":"ingeniousmakers.com","article_published_time":"2024-04-07T11:26:58+00:00","article_modified_time":"2024-04-10T16:50:43+00:00","og_image":[{"width":1024,"height":898,"url":"https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2024\/04\/IMG_7975-1024x898.png","type":"image\/png"}],"author":"michel","twitter_card":"summary_large_image","twitter_title":"Louder ESP32, a Hi-Fi Class-D audio amplifier running esphome!","twitter_description":"While scouring the internet in search of an ESP32 amplifier capable of running ESPHome firmware, I discovered the Louder ESP32. This neat unit comprises an external I2S DAC, perfectly able to drive full-sized speakers, and a PSRAM chip. This pairing furnishes the compact ESP32 module with the needed memory (provided by PSRAM) and the capacity to develop high-quality Hi-Fi products.","twitter_misc":{"Written by":"michel","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.ingeniousmakers.com\/index.php\/2024\/04\/07\/louder-esp32-a-hi-fi-class-d-audio-amplifier-running-esphome\/#article","isPartOf":{"@id":"https:\/\/www.ingeniousmakers.com\/index.php\/2024\/04\/07\/louder-esp32-a-hi-fi-class-d-audio-amplifier-running-esphome\/"},"author":{"name":"michel","@id":"https:\/\/www.ingeniousmakers.com\/#\/schema\/person\/f1d70771f1c76600487075757975bf43"},"headline":"Louder ESP32, a Hi-Fi Class-D audio amplifier running ESPHome!","datePublished":"2024-04-07T11:26:58+00:00","dateModified":"2024-04-10T16:50:43+00:00","mainEntityOfPage":{"@id":"https:\/\/www.ingeniousmakers.com\/index.php\/2024\/04\/07\/louder-esp32-a-hi-fi-class-d-audio-amplifier-running-esphome\/"},"wordCount":568,"commentCount":2,"publisher":{"@id":"https:\/\/www.ingeniousmakers.com\/#organization"},"image":{"@id":"https:\/\/www.ingeniousmakers.com\/index.php\/2024\/04\/07\/louder-esp32-a-hi-fi-class-d-audio-amplifier-running-esphome\/#primaryimage"},"thumbnailUrl":"https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2024\/04\/IMG_7975.png?v=1712487492","keywords":["esphome","home assistant","Louder ESP32","Music Assistant"],"articleSection":["News"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.ingeniousmakers.com\/index.php\/2024\/04\/07\/louder-esp32-a-hi-fi-class-d-audio-amplifier-running-esphome\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.ingeniousmakers.com\/index.php\/2024\/04\/07\/louder-esp32-a-hi-fi-class-d-audio-amplifier-running-esphome\/","url":"https:\/\/www.ingeniousmakers.com\/index.php\/2024\/04\/07\/louder-esp32-a-hi-fi-class-d-audio-amplifier-running-esphome\/","name":"Louder ESP32, a Hi-Fi Class-D audio amplifier running ESPHome! - ingeniousmakers.com","isPartOf":{"@id":"https:\/\/www.ingeniousmakers.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.ingeniousmakers.com\/index.php\/2024\/04\/07\/louder-esp32-a-hi-fi-class-d-audio-amplifier-running-esphome\/#primaryimage"},"image":{"@id":"https:\/\/www.ingeniousmakers.com\/index.php\/2024\/04\/07\/louder-esp32-a-hi-fi-class-d-audio-amplifier-running-esphome\/#primaryimage"},"thumbnailUrl":"https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2024\/04\/IMG_7975.png?v=1712487492","datePublished":"2024-04-07T11:26:58+00:00","dateModified":"2024-04-10T16:50:43+00:00","description":"While scouring the internet in search of an ESP32 amplifier capable of running ESPHome firmware, I discovered the Louder ESP32. This neat unit comprises an external I2S DAC, perfectly able to drive full-sized speakers, and a PSRAM chip. This pairing furnishes the compact ESP32 module with the needed memory (provided by PSRAM) and the capacity to develop high-quality Hi-Fi products.","breadcrumb":{"@id":"https:\/\/www.ingeniousmakers.com\/index.php\/2024\/04\/07\/louder-esp32-a-hi-fi-class-d-audio-amplifier-running-esphome\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.ingeniousmakers.com\/index.php\/2024\/04\/07\/louder-esp32-a-hi-fi-class-d-audio-amplifier-running-esphome\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.ingeniousmakers.com\/index.php\/2024\/04\/07\/louder-esp32-a-hi-fi-class-d-audio-amplifier-running-esphome\/#primaryimage","url":"https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2024\/04\/IMG_7975.png?v=1712487492","contentUrl":"https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2024\/04\/IMG_7975.png?v=1712487492","width":2658,"height":2331},{"@type":"BreadcrumbList","@id":"https:\/\/www.ingeniousmakers.com\/index.php\/2024\/04\/07\/louder-esp32-a-hi-fi-class-d-audio-amplifier-running-esphome\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.ingeniousmakers.com\/"},{"@type":"ListItem","position":2,"name":"Louder ESP32, a Hi-Fi Class-D audio amplifier running ESPHome!"}]},{"@type":"WebSite","@id":"https:\/\/www.ingeniousmakers.com\/#website","url":"https:\/\/www.ingeniousmakers.com\/","name":"Ingeniousmakers.com","description":"Make it or break it!","publisher":{"@id":"https:\/\/www.ingeniousmakers.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.ingeniousmakers.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.ingeniousmakers.com\/#organization","name":"Ingeniousmakers.con","url":"https:\/\/www.ingeniousmakers.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.ingeniousmakers.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2025\/03\/cropped-cropped-logo_landscape_no_payoff_transparent.png","contentUrl":"https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2025\/03\/cropped-cropped-logo_landscape_no_payoff_transparent.png","width":1905,"height":671,"caption":"Ingeniousmakers.con"},"image":{"@id":"https:\/\/www.ingeniousmakers.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.youtube.com\/channel\/UCeMzk2C5tbMkpsByg7Nbgyw"]},{"@type":"Person","@id":"https:\/\/www.ingeniousmakers.com\/#\/schema\/person\/f1d70771f1c76600487075757975bf43","name":"michel","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/b08aad91cb210b8eeb8cccdd43555d1fa747a0c865eaab78016c4305357e29cc?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/b08aad91cb210b8eeb8cccdd43555d1fa747a0c865eaab78016c4305357e29cc?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b08aad91cb210b8eeb8cccdd43555d1fa747a0c865eaab78016c4305357e29cc?s=96&r=g","caption":"michel"},"sameAs":["https:\/\/www.ingeniousmakers.com"],"url":"https:\/\/www.ingeniousmakers.com\/index.php\/author\/michel\/"}]}},"_links":{"self":[{"href":"https:\/\/www.ingeniousmakers.com\/index.php\/wp-json\/wp\/v2\/posts\/2945","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ingeniousmakers.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ingeniousmakers.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ingeniousmakers.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ingeniousmakers.com\/index.php\/wp-json\/wp\/v2\/comments?post=2945"}],"version-history":[{"count":31,"href":"https:\/\/www.ingeniousmakers.com\/index.php\/wp-json\/wp\/v2\/posts\/2945\/revisions"}],"predecessor-version":[{"id":2998,"href":"https:\/\/www.ingeniousmakers.com\/index.php\/wp-json\/wp\/v2\/posts\/2945\/revisions\/2998"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ingeniousmakers.com\/index.php\/wp-json\/wp\/v2\/media\/2947"}],"wp:attachment":[{"href":"https:\/\/www.ingeniousmakers.com\/index.php\/wp-json\/wp\/v2\/media?parent=2945"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ingeniousmakers.com\/index.php\/wp-json\/wp\/v2\/categories?post=2945"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ingeniousmakers.com\/index.php\/wp-json\/wp\/v2\/tags?post=2945"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}