bbcmicrobit / bbcmicrobit/micropython

tutorials→music: Speaker, really?

Open
#722 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
646
Forks
290
PR merge metrics
No merged PRs in 30d

Description

https://github.com/bbcmicrobit/micropython/blob/v1.0.1/docs/tutorials/music.rst

> It's very easy to generate bleeps and bloops from the device if you **attach a speaker**.

Tried it, micro:bit survived it. Then read the micro:bit schematic & NRF52833 datasheet:
* https://infocenter.nordicsemi.com/pdf/nRF52833_PS_v1.3.pdf#page=145
* RING0 is directly attached to P0.02/AIN0, "standard drive".
* "standard drive" = 4 mA sink/source.
* Typical Speakers have 4…8 Ohms. (3.3 V (=VDD, worst case) -0.4V) / 4 Ohms (worst case) = 0.725 A. Factor 181.
* Did not find anything about "short circuit protection" or similar.
* Is attaching a speaker directly a good idea?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.