![](http://shop.m5stack.com/cdn/shop/t/2/assets/search.png?v=120997320528896871201663122039)
![](http://shop.m5stack.com/cdn/shop/products/1_1984c17b-5714-4084-9393-52dc3021e583_1200x1200.webp?v=1677835459)
![](http://shop.m5stack.com/cdn/shop/products/4_5aa5b517-e73b-4f25-baec-53697b841db0_1200x1200.webp?v=1677835459)
![](http://shop.m5stack.com/cdn/shop/files/U055-B2_1200x1200.webp?v=1683600308)
![](http://shop.m5stack.com/cdn/shop/products/7_73c126bd-fee6-4144-8e6d-075ad85758b9_1200x1200.webp?v=1683600308)
![](http://shop.m5stack.com/cdn/shop/files/U055-B_1200x1200.webp?v=1683600308)
![](http://shop.m5stack.com/cdn/shop/products/6_1fc028bc-05be-4c82-9f95-eb8e20777f13_1200x1200.webp?v=1683600308)
![](http://shop.m5stack.com/cdn/shop/products/5_519019a3-30ae-4c59-9e36-3231a8885f91_1200x1200.webp?v=1683600308)
![](http://shop.m5stack.com/cdn/shop/products/3_3baf87bb-815b-40db-933a-94757af544d5_1200x1200.webp?v=1683600308)
![](http://shop.m5stack.com/cdn/shop/products/11_cbfde4a3-c74f-4241-b4d9-5e227192edcc_1200x1200.webp?v=1683600308)
![](http://shop.m5stack.com/cdn/shop/products/8_0de47211-6a69-4ef5-827d-b73b1245d179_1200x1200.webp?v=1683600308)
Description
HAT-SPK2 is a speaker designed specifically for the M5SticKC PLUS platform. It features a built-in MAX98357 digital audio I2S amplifier IC and a 1W speaker, providing high-quality audio output. The speaker supports audio input with a sample rate ranging from 16-bit, 32kHz to 192kHz, ensuring excellent audio reproduction.
HAT-SPK2 is equipped with built-in short circuit protection, which safeguards the speaker and the connected devices in case of a short circuit. Additionally, it includes over-temperature protection, preventing overheating and ensuring safe operation even during extended use.
This speaker module is suitable for a wide range of audio applications. Whether you're building a portable music player, a sound effects generator, or any other project that requires clear and amplified audio output, the HAT-SPK2 provides a reliable and convenient solution.
Features
- 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
Includes
- 1x HAT-SPK2
Applications
- Audio speakers
- television set
- Car audio
- Smart speakers
Specification
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 | I2C、SPI、GPIO |
Product Size | 24mm × 18.6mm ×13.7mm |
Package Size | 136mm × 92mm ×13mm |
Product Weight | 4.6g |
Package Weight | 8.1g |
![](https://cdn.shopifycdn.net/s/files/1/0056/7689/2250/files/2_b5acc256-73a6-4eb3-9c1f-61b9b661dae2_600x600.jpg?v=1677835207)
Related Link
Module Size
![module size](https://static-cdn.m5stack.com/resource/docs/products/hat/Hat-SPK2/img-8b4c1482-36ca-4a2f-9203-53a4818f3975.png)
Examples
Arduino
![](https://static-cdn.m5stack.com/resource/docs/products/hat/Hat-SPK2/arduinoCase-1677816143602M5PPT.png)
UIFlow
![](https://static-cdn.m5stack.com/resource/docs/products/hat/Hat-SPK2/uiflowCase-1677557785246image.png)
UIFlow Blocks
- Play local WAV file
![image](https://static-cdn.m5stack.com/resource/docs/products/hat/Hat-SPK2/blockIntro-18b34609-9b7f-43ae-8b95-a53e2fcfae7b.png)
- Play local WAV file
![image](https://static-cdn.m5stack.com/resource/docs/products/hat/Hat-SPK2/blockIntro-0ab372fb-38bf-4e55-ad0b-d859c3342122.png)
- Play cloud WAV file
![image](https://static-cdn.m5stack.com/resource/docs/products/hat/Hat-SPK2/blockIntro-95b4e611-35f4-4176-864b-fc08431e69a1.png)
- Play tone
![image](https://static-cdn.m5stack.com/resource/docs/products/hat/Hat-SPK2/blockIntro-fcd6d207-55da-440f-827a-f2c67bdcc392.png)
- Play tone
![image](https://static-cdn.m5stack.com/resource/docs/products/hat/Hat-SPK2/blockIntro-7ad148d4-888a-4756-b6a0-94c37133bc60.png)