FORGOT TO MENTION IN VIDEO: noTone(); will stop the buzzer from playing anything
Sorry about the crackling noise in background where I show code, don’t know why that happened

This tutorial will be split into several parts:
1. How piezo buzzers work
2. How to wire them – what to connect their pins to
3. How to program them
4. Editing the program and seeing the different in the tone of the buzzer

Hope you enjoy this video. Any questions:
unofficialarduinotutorials@gmail.com

Thanks for watching

Source

Leave a Reply