Parts · Lights and sound

Buzzer

Piezo buzzer

Makes a beep or a tune when a pin switches it on and off fast.

Buzzer

2Use it

Pin or legWhat it is for
Long leg (+)to the pin
Short leg (-)to GND

The idea behind it, step by step: Buzzer

Used in

3Facts

Legs2: the long one (+) to the pin

Kinds you may find

Passive buzzer (piezo)plays the note the pin sends: the one for tunes
Active buzzerbeeps by itself when it gets power: one note only