Note
Hello, welcome to the SunFounder Raspberry Pi & Arduino & ESP32 Enthusiasts Community on Facebook! Dive deeper into Raspberry Pi, Arduino, and ESP32 with fellow enthusiasts.
Why Join?
Expert Support: Solve post-sale issues and technical challenges with help from our community and team.
Learn & Share: Exchange tips and tutorials to enhance your skills.
Exclusive Previews: Get early access to new product announcements and sneak peeks.
Special Discounts: Enjoy exclusive discounts on our newest products.
Festive Promotions and Giveaways: Take part in giveaways and holiday promotions.
π Ready to explore and create with us? Click [here] and join today!
Buzzerο
Buzzers are electronic components with an integrated structure, commonly powered by DC. They are widely used in a variety of devices, including computers, printers, photocopiers, alarms, electronic toys, automotive electronics, telephones, timers, and other electronic products or audio signaling devices.
Buzzers are categorized into two types: active and passive (as shown in the image below). To identify the type, turn the buzzer so that its pins face upward. A passive buzzer features a green circuit board, while an active buzzer is enclosed with black tape.
Difference Between an Active Buzzer and a Passive Buzzer:
An active buzzer has a built-in oscillating source, allowing it to produce sound as soon as it is powered. In contrast, a passive buzzer lacks an internal oscillating source and will not emit sound if powered by a DC signal. Instead, it requires a square wave with a frequency between 2 kHz and 5 kHz to function. Due to the additional internal circuitry, active buzzers are typically more expensive than passive buzzers.
The electrical symbol for a buzzer is shown below. It features two pins, one positive and one negative. The pin marked with a β+β on the surface indicates the anode, while the other pin represents the cathode.
You can check the pins of the buzzer, the longer one is the anode and the shorter one is the cathode. Please donβt mix them up when connecting, otherwise the buzzer will not make sound.
Example
3.1 Beep (For MicroPython User)
3.2 Play Custom Tones with a Passive Buzzer (For MicroPython User)
7.1 Creating a Light Theremin (For MicroPython User)
7.3 Building an Alarm Siren Lamp (For MicroPython User)
7.8 RFID Music Player (For MicroPython User)
7.9 Building a Fruit Piano (For MicroPython User)
7.10 Building a Reversing Aid (For MicroPython User)
8.6 Cloud Player with @MQTT (For MicroPython User)
8.14 Bluetooth Piano (For MicroPython User)
3.1 Make the Buzzer Beep! (For Arduino User)
3.2 Play Custom Tones with a Passive Buzzer (For Arduino User)