> For the complete documentation index, see [llms.txt](https://wiki.openelab.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.openelab.io/aiot/m5stack/m5stack-speaker.md). Agents can also search and read this documentation through its [MCP server](https://wiki.openelab.io/~gitbook/mcp).

# M5Stack Speaker

{% hint style="info" %}
[**View M5Stack Speaker 2 Hat MAX98357 I2S Audio Output Module on OpenELAB**](https://openelab.io/products/m5stack-speaker-2-hat)

**Store SKU / option:** `M5-U055-B`. Match the purchased model and revision to the official reference below.
{% endhint %}

### M5Stack Speaker 2 Hat (MAX98357)

***

### Product Link

{% embed url="<https://openelab.io/products/m5stack-speaker-2-hat>" %}

### Description <a href="#description" id="description"></a>

The `'HAT-SPK2` is a speaker with `M5SticKC PLUS`, built-in `MAX98357 digital audio I2S amplifier IC` and 1W speaker, supporting `16-bit, 32kHz to 192kHz sample rate audio input`, built-in `short circuit protection`' and `over-temperature protection`, suitable for a variety of audio applications.

### Features <a href="#features" id="features"></a>

* HIGH-QUALITY AUDIO OUTPUT: SUPPORTS 16-BIT, 32KHZ TO 192KHZ SAMPLE RATE AUDIO INPUT
* Multiple output modes: including mono and stereo, as well as audio input formats such as I2S, left-justified, and right-justified
* Stability and reliability: Built-in short-circuit protection and over-temperature protection
* Programming platforms: Arduino, uiflow

### Applications <a href="#applications" id="applications"></a>

* Audio speakers
* television set
* Car audio
* Smart speakers

### Specification <a href="#specification" id="specification"></a>

| Resources                   | Parameters                       |
| --------------------------- | -------------------------------- |
| Power output                | Maximum 20W                      |
| Signal-to-noise ratio       | 103dB                            |
| Distortion rate             | 0.1%                             |
| Supply voltage              | 4.5v-5.5v                        |
| Operating temperature range | 0-40°C                           |
| Enter the audio format      | I2S, left-aligned, right-aligned |
| Sample rate                 | 32kHz to 192kHz                  |
| Control interface           | I2S                              |
| Product Size                | 24mm × 18.6mm ×13.7mm            |
| Package Size                | 136mm × 92mm ×13mm               |
| Product Weight              | 4.6g                             |
| Package Weight              | 8.1g                             |

![](https://static-cdn.m5stack.com/resource/docs/products/hat/Hat-SPK2/img-a900d785-f76d-45ae-9f0e-bb63b3706d2d.webp) ![](https://static-cdn.m5stack.com/resource/docs/products/hat/Hat-SPK2/img-9279e6ec-30e3-48ad-ba80-1261e12c482c.webp) ![](https://static-cdn.m5stack.com/resource/docs/products/hat/Hat-SPK2/img-d2095389-378f-439f-89b4-a47a6fd8f3ef.webp) ![](https://static-cdn.m5stack.com/resource/docs/products/hat/Hat-SPK2/img-36ecca13-f706-4c88-92b7-59c89ce3b1d0.webp)

### Schematic <a href="#schematic" id="schematic"></a>

<figure><img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/products/hat/Hat-SPK2/%E5%8E%9F%E7%90%86%E5%9B%BE.png" alt=""><figcaption></figcaption></figure>

### Module Size <a href="#module-size" id="module-size"></a>

<figure><img src="https://static-cdn.m5stack.com/resource/docs/products/hat/Hat-SPK2/img-8b4c1482-36ca-4a2f-9203-53a4818f3975.png" alt=""><figcaption></figcaption></figure>

## Official documentation and development resources

Use [Hat SPK2](https://docs.m5stack.com/en/hat/Hat_SPK2) for the manufacturer's complete model reference, diagrams and maintained examples. The official product code is **`U055-B`**; match the board/Unit label before choosing a firmware or host example. The references below complement this guide's local instructions.

| Development need             | Model-specific reference                                                                                                     |
| ---------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
| Electrical schematic         | [Read electrical schematic](https://m5stack-doc.oss-cn-shenzhen.aliyuncs.com/580/Sch_Hat_SPK2.pdf)                           |
| Example source: SPEAKER2.ino | [Read example source: speaker2.ino](https://github.com/m5stack/M5StickC-Plus/blob/master/examples/Hat/SPEAKER2/SPEAKER2.ino) |

Keep the example's host model, interface pins and dependency versions together when reproducing a result. A schematic or SDK link does not establish that another revision uses the same wiring. Official model pages and accessible tutorial links reviewed **23 November 2026**. Other downloads above are manufacturer-listed resources; listing a file is not a test of its contents. Compilation, firmware flashing and hardware operation were **not performed** in this review.
