Sample Source code how to use a buzzer connected to Arduino,
Electronic Parts you need
1x Arduino Uno / Mega / Pro
1x Buzzer or Beeper
[crayon-67f074e0583e5643262962/]
Download the core here | 14CoreBuzzer
Starter #6 Using Buzzer in Arduino Sample Code