Piezo Buzzer

Piezo Buzzer

Image courtesy of Newark

Piezo buzzers generate sound waves using the piezoelectric effect, instead of the electromagnet that is used in traditional speaker. Simply send them a square wave to generate a sound at the frequency you specify.  Don’t forget to use a current-limiting resistor.

Buy a piezo buzzer from Amazon, Adafruit, or Newark.