Microphone
The micro has a built-in microphone that detects sounds. An LED on the front lights up to show when the microphone is active. The microphone is connected to the micro through a circuit that helps it capture sound signals.
Sample Code
Program Link: https://makecode.microbit.org/_Fvw5xk2vsL62
Result: Make a loud noise near the micro:bit, and it should display a large heart icon. Keep things quiet, and it should display a small heart icon. Try clapping and then staying silent to see the shapes change on the screen.
Specifications
| Item | details |
|---|---|
| Type | Knowles SPU0410LR5H-QB-7 MEMS |
| Sensitivity | -38dB ±3dB @ 94dB SPL |
| SNR | 63dB |
| AOP | 118db SPL |
| Frequency range | 100Hz ~ 80kHz |
| Polar pattern | Omnidirectional |
| More Info | Datasheet |