[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-721117-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-721117-en":130,"doc-similar-721117":166},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","adafruit-max98357-i2s-class-d-mono-amp","Adafruit MAX98357 I2S Class-D Mono Amp","","Guide for building and using the Adafruit MAX98357 I2S Class-D mono amplifier with microcontrollers and microcomputers that support digital audio. Explains I2S audio basics, class-D operation, speaker drive requirements (4Ω or higher, bridge-tied outputs, direct speaker connection), gain and shutdown/mode pin behavior, and key specifications such as power, PSRR, and supported sample rates. Includes wiring and test plans across Raspberry Pi, Arduino, and CircuitPython.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/adafruit-max98357-i2s-class-d-mono-amp/721117/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/adafruit-max98357-i2s-class-d-mono-amp/721117.png","ImageObject",300,407,{"name":42,"@type":43},"Ben ","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-22","2026-11-18",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",5,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What type of input does the MAX98357 amplifier require?","Question",{"text":63,"@type":64},"It uses digital I2S audio input only; it does not use analog inputs. I2S is a sound protocol used to pass audio data via several pins.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"What speaker impedance and connection method are supported?",{"text":68,"@type":64},"The amplifier is designed for moving-coil loudspeakers with 4Ω impedance or more. Outputs are bridge-tied with no ground connection, so the speakers must be driven directly.",{"name":70,"@type":61,"acceptedAnswer":71},"How do the Gain pin and ShutDown/Mode pin affect audio output?",{"text":72,"@type":64},"The Gain pin selects amplifier gain levels (by default 9dB) using pull-up/pull-down or wiring. The ShutDown/Mode pin enables shutdown and selects which I2S audio channel is piped to the mono output (default is the L+R/2 stereo mix).","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},721117,1795041909,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,100,104,109,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":97,"show_sort_weight":98,"slug":99},"Comic",60,"comic",{"id":101,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":102,"slug":103},6,50,"technology",{"id":105,"doc_module":4,"doc_module_name":25,"category_name":106,"show_sort_weight":107,"slug":108},7,"Healthcare",40,"healthcare",{"id":110,"doc_module":4,"doc_module_name":25,"category_name":111,"show_sort_weight":112,"slug":113},8,"Research & Report",30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":55,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":101,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":80,"read_time":144,"preview_page_count":55,"preview_urls":145},2336478951081,"https://ap-avatar.wpscdn.com/davatar_276721f389ce27ea32af1340a28f341c","Adafruit MAX98357 I2S Class-D Mono  \nAmp  \nCreated by lady ada  \n[https://learn.adafruit.com/adafruit-max98357-i2s-class-d-mono-amp](https://learn.adafruit.com/adafruit-max98357-i2s-class-d-mono-amp)  \nLast updated on 2024-11-19 01:11:52 PM EST  \n©Adafruit Industries Page 1 of 45  \nTable of Contents  \nOverview 5  \n\n| Pinouts | 7 |\n| --- | --- |\n| • Speaker Output\u003Cbr>• Power Pins\u003Cbr>• I2S Pins\u003Cbr>• Other Pins\u003Cbr>• Gain\u003Cbr>• SD / MODE\u003Cbr>Assembly | 11 |\n| • Prepare the header strip:\u003Cbr>• Add the breakout board:\u003Cbr>• And Solder!\u003Cbr>Raspberry Pi Wiring | 15 |\n| Raspberry Pi Setup | 16 |\n| • Setup Virtual Environment\u003Cbr>• Installer script\u003Cbr>• Detailed Install\u003Cbr>• Update /etc/modprobe.d (if it exists)\u003Cbr>• Disable headphone audio (if it's set)\u003Cbr>• Create asound. conf file\u003Cbr>• Add Device Tree Overlay\u003Cbr>Raspberry Pi Test | 23 |\n| • Speaker Tests!\u003Cbr>• Simple white noise speaker test\u003Cbr>• Simple WAV speaker test\u003Cbr>• Simple MP3 speaker test\u003Cbr>• Volume adjustment\u003Cbr>Pi I2S Tweaks | 25 |\n| • Reducing popping\u003Cbr>• Step 1\u003Cbr>• Add software volume control\u003Cbr>Play Audio with PyGame | 30 |\n| • Install PyGame\u003Cbr>• Run Demo\u003Cbr>Arduino Wiring & Test | 32 |\n| • Wiring\u003Cbr>• Basic Test\u003Cbr>• DMA Test\u003Cbr>CircuitPython Wiring & Test | 35 |\n\n• Wiring  \n• Code Examples  \n• Tone Generation  \n• Wave File  \n©Adafruit Industries Page 2 of 45  \n• Where's my I2S?  \nI2S Audio FAQ 42  \n\n| Downloads | 43 |\n| --- | --- |\n\n• Schematic  \n• Fabrication Print  \n• 3D Model  \n©Adafruit Industries Page 3 of 45  \n©Adafruit Industries Page 4 of 45  \nOverview  \nIf your microcontroller or microcomputer has digital audio capability, this amp is for you! It takes standard I2S digital audio input and, not only decodes it into analog, but also amplifies it directly into a speaker. Perfect for adding compact amplified sound, it takes 2 breakouts (I2S DAC + Amp) and combines them into one.  \nI2S (not to be confused with I2C) is a digital sound protocol that is used on circuit boards to pass audio data around. Many high end chips and processors manage all of the audio in digital I2S format. Then, to input or output data, three or four pins are used (data in, data out, bit clock and left-right channel select) . Usually, for audio devices, there's a DAC chip that will take I2S in and convert it to analog that can drive a headphone.  \nThis small mono amplifier is surprisingly powerful -able to deliver 3.2 Watts of power into a 4 ohm impedance speaker (5V power @ 10% THD) . Inside the miniature chip is a class D controller, able to run from 2.7V-5 . 5VDC. Since the amp is a class D, it's incredibly efficient-making it perfect for portable and battery-powered projects. It has built in thermal and over-current protection but we could barely tell it got hot.  \nThe audio input is I2S standard, you can use 3.3V or 5V logic data. The outputs are\"Bridge Tied\" -that means they connect directly to the outputs, no connection to ground. The output is a ~300KHz square wave PWM that is then 'averaged out' by the speaker coil -the high frequencies are not heard. All the above means that you can't connect the output into another amplifier, it should drive the speakers directly.  \n©Adafruit Industries Page 5 of 45  \nThere's a Gain pin that can be manipulated to change the gain. By default, the amp will give you 9dB of gain. By connecting a pullup or pull down resistor, or wiring directly, the Gain pin can be set up to give 3dB, 6dB, 9dB, 12dB or 15dB.  \nthe ShutDown/Mode pin can be used to put the chip in shutdown or set up which I2S audio channel is piped to the speaker. By default, the amp will output (L+R)/2 stereo mix into mono out. By adding a resistor, you can change it to be just left or just right output  \nWorks great with Raspberry Pi, Arduino Zero, and any other microcontroller or microcomputer with I2S audio outputs  \nSpecs:  \n• Output Power: 3. 2W at 4Ω , 10% THD, 1. 8W at 8Ω , 10% THD, with 5V supply  \n• PSRR: 77 dB typ @ 1KHz  \n• I2S sample rates from 8kHz to 96kHz  \n• No MCLK req","cbCaidyPb2C4rjrM","https://ap.wps.com/l/cbCaidyPb2C4rjrM","pdf",5220116,45,"English","# Overview\n## Pinouts\n## Assembly\n## Raspberry Pi Setup\n## Raspberry Pi Test\n## Pi I2S Tweaks\n## Play Audio with PyGame\n## Arduino Wiring & Test\n## CircuitPython Wiring & Test\n## I2S Audio FAQ\n## Downloads","[{\"question\":\"What type of input does the MAX98357 amplifier require?\",\"answer\":\"It uses digital I2S audio input only; it does not use analog inputs. I2S is a sound protocol used to pass audio data via several pins.\"},{\"question\":\"What speaker impedance and connection method are supported?\",\"answer\":\"The amplifier is designed for moving-coil loudspeakers with 4Ω impedance or more. Outputs are bridge-tied with no ground connection, so the speakers must be driven directly.\"},{\"question\":\"How do the Gain pin and ShutDown/Mode pin affect audio output?\",\"answer\":\"The Gain pin selects amplifier gain levels (by default 9dB) using pull-up/pull-down or wiring. The ShutDown/Mode pin enables shutdown and selects which I2S audio channel is piped to the mono output (default is the L+R/2 stereo mix).\"}]","Adafruit MAX98357 I2S Class-D Mono Amp | PDF",113,[146,150,154,158,162],{"page_no":22,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/5a01c896d6e19fe1767e3f5e1b997cf6.webp",983,1390,{"page_no":26,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/9eb08bc95807756b8d392f76e46ea5c2.webp",982,1388,{"page_no":30,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/306193930aeabca20015a866f72e1c7e.webp",981,1387,{"page_no":33,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/4511f1b5990d2c313dc57e74484420ad.webp",980,1385,{"page_no":55,"url":163,"width":164,"height":165},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/ce2d1f998f98696b8179ea74d6905f02.webp",979,1384,{"list":167,"token":11},[168,174,180,186,192,198,204,210,217,223],{"doc_id":169,"doc_title":170,"file_type":137,"home_preview_img_url":171,"slug":172,"view_count":105,"category_name":29,"create_tm":173},721112,"Adafruit MAX98357 I2S Class-D Amps - Stereo and Mono","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024419629/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111399&Signature=58%2FVzz4yDaSzUPC5aEyC0xNqelw%3D","adafruit-max98357-i2s-class-d-amps-stereo-and-mono",1795041842,{"doc_id":175,"doc_title":176,"file_type":137,"home_preview_img_url":177,"slug":178,"view_count":105,"category_name":29,"create_tm":179},721113,"SmartElex I2S Audio Breakout - MAX98357A","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024419631/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111399&Signature=kt8oLuSSmb1cs4bjUFB7PkDbdjY%3D","smartelex-i2s-audio-breakout-max98357a",1795041844,{"doc_id":181,"doc_title":182,"file_type":137,"home_preview_img_url":183,"slug":184,"view_count":33,"category_name":29,"create_tm":185},719965,"TPA3116D2 15-W, 30-W, 50-W Filter-Free Class-D Stereo Amplifier Family - Features - AM Avoidance","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230023666476/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111399&Signature=Uxx5Zv59oRbamwRus8%2FloCi5GH4%3D","tpa3116d2-15-w-30-w-50-w-filter-free-class-d-stereo-amplifier-family-features-am-avoidance",1795033741,{"doc_id":187,"doc_title":188,"file_type":137,"home_preview_img_url":189,"slug":190,"view_count":110,"category_name":29,"create_tm":191},561644,"2.0 Watt Audio Power Amplifier - Features - Product Brief","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229947654870/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111399&Signature=7dckjJ3gf%2B94QPQsL%2BwGshoQMbU%3D","20-watt-audio-power-amplifier-features-product-brief",1791806458,{"doc_id":193,"doc_title":194,"file_type":137,"home_preview_img_url":195,"slug":196,"view_count":101,"category_name":29,"create_tm":197},719966,"TPA311xD2-Q1 100-W and 50-W Class-D Stereo Automotive Amplifiers","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024380197/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111399&Signature=M4NiuUj02iDD7yengxVKITiSI3k%3D","tpa311xd2-q1-100-w-and-50-w-class-d-stereo-automotive-amplifiers",1795033743,{"doc_id":199,"doc_title":200,"file_type":137,"home_preview_img_url":201,"slug":202,"view_count":105,"category_name":29,"create_tm":203},691511,"Adafruit MLX90640 IR Thermal Camera","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002678685/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111399&Signature=9u1%2FE%2FavHT86Ab0DJ2%2BxKNxfymg%3D","adafruit-mlx90640-ir-thermal-camera",1794174814,{"doc_id":205,"doc_title":206,"file_type":137,"home_preview_img_url":207,"slug":208,"view_count":110,"category_name":29,"create_tm":209},562138,"IRAUDAMP7D - Reference Design - Scalable Output Power Class D Audio Power Amplifier Using the IRS2092 Protected Digital Audio Driver","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229947670111/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111399&Signature=%2Bd6cyKD%2BCGKJYo0MQDYN4LeOGCw%3D","iraudamp7d-reference-design-scalable-output-power-class-d-audio-power-amplifier-using-the-irs2092-protected-digital-audio-driver",1791807804,{"doc_id":211,"doc_title":212,"file_type":137,"home_preview_img_url":213,"slug":214,"view_count":215,"category_name":29,"create_tm":216},563081,"TDA8954 - Class-D Power Amplifier - Product Data Sheet","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229947850000/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111399&Signature=jhsUzUNL5SKEm5FG2BwzhsIJ6hQ%3D","tda8954-class-d-power-amplifier-product-data-sheet",11,1791810487,{"doc_id":218,"doc_title":219,"file_type":137,"home_preview_img_url":220,"slug":221,"view_count":105,"category_name":29,"create_tm":222},720403,"Adafruit Metro RP2350 - Board setup and CircuitPython guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230023673595/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111399&Signature=URKpjfpMmHNT6NSio%2BwGNq7Iwlk%3D","adafruit-metro-rp2350-board-setup-and-circuitpython-guide",1795037124,{"doc_id":224,"doc_title":225,"file_type":137,"home_preview_img_url":226,"slug":227,"view_count":228,"category_name":29,"create_tm":229},269487,"Prop-Maker Lightsaber - Build Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229898972572/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111399&Signature=y1JcF2TblcC469FAA%2FBtPOAqrTI%3D","prop-maker-lightsaber-build-guide",15,1789452359]