Arduino Piezo Buzzer: Play Music with the tone() Function
Build a playable electronic piano with an Arduino UNO R4 and a passive piezo buzzer. Complete with a note-to-frequency table, circuit diagram, annotated code, demo videos, and an FAQ covering the usual pitfalls — finished in about an hour.