Electronics

Buzzer 5V 12x8.5mm DIP Passive

AED 4.20

1

Description

A 5V passive buzzer is an electronic device that is used to generate sound or an audible alert in response to an electrical current. It does not contain its own oscillator or tone generator, so it requires an external signal to create an audible tone. it is commonly used in a wide variety of electronic projects and applications, including alarms, notifications, and warning signals.

Package Includes:

  • 1 x 5V Passive Buzzer

Features:

  • Type: Through-hole or DIP component
  • Operating Voltage: 5V
  • Sound output: Tone or beep
  • No built-in oscillator or tone generator
  • Requires external signal to produce sound
  • Simple and affordable
  • Ideal for low-power applications
  • Commonly used in alarms, notifications, and warning signals.

Description:

A 5V passive buzzer is an electronic component that produces sound when an electrical current is passed through it. This type of buzzer is designed to be operated with a 5V power supply and has a diameter of 12mm, a height of 8.5mm, and a spacing of 7mm between its feet. Its maximum operating current is less than 250mA. The small size and low voltage requirement make this type of buzzer ideal for use in portable and low-power applications, such as alarms, timers, and other electronic devices that require audio output.

Principle of Work:

The 5V passive buzzer is a type of transducer that converts an electrical signal into an audible sound. It consists of an electromagnet, a diaphragm, and a housing. When an electrical current flows through the electromagnet, it creates a magnetic field that causes the diaphragm to vibrate rapidly. This vibration produces sound waves that can be heard as a tone or beep. Unlike an active buzzer, the 5V passive buzzer does not have a built-in oscillator or tone generator. It requires an external signal, such as a square wave, to create a tone. When the external signal is applied to the buzzer, the frequency of the signal determines the frequency of the tone produced. This makes the 5V passive buzzer a simple and affordable component that is commonly used in a wide variety of electronic projects and applications, including alarms, notifications, and warning signals.

 

Pinout:

  • The 5V passive buzzer typically has two pins or leads, which are used to connect it to a circuit. The pinout may vary depending on the manufacturer, but the most common configuration is:

    • Positive lead or pin (+): This pin is usually longer and marked with a plus sign (+). It is connected to the positive voltage supply in the circuit.
    • Negative lead or pin (-): This pin is usually shorter and marked with a minus sign (-). It is connected to the ground or negative voltage supply in the circuit.

    The buzzer will produce a sound when a voltage is applied across the positive and negative pins. The polarity of the voltage does not matter for a passive buzzer, as it is an AC component that will produce a sound regardless of the polarity. However, it is still recommended to follow the correct polarity to avoid damaging the buzzer or other components in the circuit.

Applications: 

  • Alarms: The buzzer can be used to provide an audible warning or alarm in security systems, fire alarms, and other safety applications.
  • Notifications: The buzzer can be used to provide an audible alert or notification in electronic devices, such as timers, clocks, and alarms.
  • Warning Signals: The buzzer can provide a warning signal in industrial and automotive applications, such as reversing sensors, safety warnings, and fault alarms.
  • Entertainment: The buzzer can be used to produce sound effects in toys, games, and other entertainment applications.
  • Education: The buzzer can be used as a simple output device for educational electronics projects, such as demonstrating the concept of sound or tone generation.
  • DIY Electronics: The buzzer can be used in many DIY electronics projects, such as building a simple music player or synthesizer, creating an electronic instrument, or designing a custom alarm or warning system.

Circuit:

  • Connect the positive pin of the buzzer to pin 8 of the Arduino Uno.
  • Connect the negative pin of the buzzer to the GND pin of the Arduino Uno.

Library:

No need for any Library to work

Code:  

int buzzerPin = 8;

void setup() {
  pinMode(buzzerPin, OUTPUT);
}

void loop() {
  tone(buzzerPin, 1000);   // play a 1 kHz tone for 500 ms
  delay(500);
  noTone(buzzerPin);       // stop the tone for 500 ms
  delay(500);

  tone(buzzerPin, 2000);   // play a 2 kHz tone for 500 ms
  delay(500);
  noTone(buzzerPin);       // stop the tone for 500 ms
  delay(500);

  tone(buzzerPin, 3000);   // play a 3 kHz tone for 500 ms
  delay(500);
  noTone(buzzerPin);       // stop the tone for 500 ms
  delay(500);
}

This code uses the tone() function to generate different tones with the buzzer. The first parameter of the tone() function is the pin number to which the buzzer is connected (in this case, pin 8), and the second parameter is the frequency of the tone in hertz (Hz). The noTone() function is used to stop the tone after a certain duration. In this example, the code plays a 1 kHz tone, a 2 kHz tone, and a 3 kHz tone, each for 500 ms, with a gap of 500 ms between them. You can modify the frequency and duration of the tones to produce different melodies or sounds.

Technical Details:

  • Type: Through-hole or DIP component
  • Operating Voltage: 4-8V DC
  • Rated Voltage: 5V DC
  • Current Consumption: ≤30mA
  • Sound Pressure Level: ≥85dB at 10cm
  • Resonant Frequency: 2300±300Hz
  • Diameter: 12mm
  • Foot Spacing: 7mm
  • Height: 8.5mm
  • Tone: Continuous
  • Operating Temperature: -20°C to 60°C
  • Weight: 1.5g
  • Material: ABS plastic
  • Color: Black

Resources:

Comparisons:

Passive buzzers and active buzzers comparison:

  1. Operating principle: A passive buzzer is an electromagnetic device that requires an external signal to generate a sound. It is essentially a speaker without a built-in oscillator circuit, which means it needs a PWM signal or AC signal to produce sound. An active buzzer, on the other hand, is a type of electronic oscillator that generates a tone when a voltage is applied to it. It has an integrated oscillator circuit and produces its own waveform, making it easier to use in a circuit.
  2. Power consumption: Passive buzzers consume less power than active buzzers as they don't have any built-in oscillator circuitry. They only require a signal to be applied to produce a sound. Active buzzers, on the other hand, have an integrated oscillator circuit which requires power to operate, making them less energy-efficient.
  3. Sound quality: Active buzzers tend to produce a more consistent and higher-quality sound compared to passive buzzers. This is because the built-in oscillator circuitry in active buzzers generates a clean and stable waveform, resulting in a more accurate sound.
  4. Control: Passive buzzers require external circuitry to control their frequency and duration, making them more complicated to use. Active buzzers, on the other hand, can be easily controlled with a microcontroller, making them more convenient to use.
  5. Cost: Passive buzzers are generally less expensive than active buzzers due to their simple design and lack of oscillator circuitry. Active buzzers tend to be more expensive due to their integrated oscillator and higher-quality sound.