Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

Schematics

This portion of the schematics shows how the speaker is connected to the target MCU.

How can the speaker generate a constant tone, for example at 440 Hz?

What is the exact nRF52833 pin the firmware needs to control to generate sound?

00std_speaker_1_cpu project

Load the project on your micro:bit.

How do modify the project to have a higher tone? A lower?

Extra credit! Modify the code to generate this sound:

00std_speaker_2_pwm project

Your instructor will discuss what a PWM peripheral on a micro-controller does.

Load and run the project.

Have you recognized the song?

Extra credit! Have your micro:bit play a different song.

  • No labels