Skip to main content

Buzzer

2026


Chapter 7 Reloaded: Police Siren with Flashing Lights

I wasn’t happy with the original Chapter 7 siren, so I gave it the full treatment: a wailing PWM siren plus rotating NeoPixel police lights — all running cleanly across both cores using the Jorvik profile.

Chapter 7: Buzzer

In this chapter we connect both active and passive buzzers to the Pico. We start with a simple button-controlled doorbell, improve the passive buzzer with bit-banging, and finally create a clean sweeping alert tone using the Pico’s PWM hardware. We also look at inductive-load protection and why a diode is essential.