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-693322fa1447e474932872/]
Download the core here | 14CoreBuzzer
Starter #6 Using Buzzer in Arduino Sample Code