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