What is a Passive Buzzer?
Unlike the Active buzzer that generates sound in one frequency, the Passive Buzzer can generate a variety of sounds depending on the signal. You can do this by turning it On or Off on different frequencies or by providing a PWM signal.
This 5v Passive Buzzer can generate tones of frequency between 1.5 to 2.5 Khz.
Learn here more about the Piezoelectric Buzzer working principle.
STEP 1: Passive Buzzer Arduino Components.
STEP 2: Place the wires on the correct pins on your Arduino board.
(on the image below, pin is connected to the Pin #12, this is an error, just follow the written instruction)
STEP 3: Connect your Arduino Uno board to a power source.
- Once connected to a power source, open your Arduino IDE software.
- Copy the Arduino Passive buzzer code on the bottom of this article and paste it on the Arduino IDE software.
More Arduino Tutorials — Table of Content