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.
In this lesson, we will build a Passive Buzzer using the same components we used on the active buzzer with a Passive Buzzer code.
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.
CODE:
https://microdaz.com/how-to-use-passive-buzzers/
More Arduino Tutorials — Table of Content
Originally published at https://microdaz.com on September 4, 2021.