Stufin
Home Quick Cart Profile

9V Small Piezo Buzzer

Buy Now

Component Name

9V Small Piezo Buzzer

Description

The 9V Small Piezo Buzzer is a compact, low-power audio signaling device designed for various applications in the Internet of Things (IoT), robotics, and electronic projects. This buzzer uses piezoelectric technology to produce a high-pitched tone when an electric current is applied to it.

Functionality

The primary function of the 9V Small Piezo Buzzer is to produce a audible alert or signal in response to an electrical input. When a voltage is applied across the buzzer's terminals, the piezoelectric material inside the device deforms, generating a mechanical stress that produces a high-frequency sound wave. This sound wave is then emitted through the buzzer's casing, making it audible to the human ear.

Key Features

  • Operating Voltage: 9V DC
  • Current Consumption: Low current consumption, typically in the range of 10-30 mA
  • Frequency: Produces a high-pitched tone, typically in the range of 2-4 kHz
  • Sound Level: The buzzer produces a moderate sound level, suitable for indoor applications
  • Piezoelectric Material: Utilizes a high-quality piezoelectric material for efficient energy conversion
  • Compact Size: Small size, making it ideal for space-constrained applications
  • Low Power Consumption: Designed for low power consumption, making it suitable for battery-powered devices
  • Simple Interface: Easy to use, with a simple two-wire interface (positive and negative terminals)
  • Reliability: Constructed with durable materials to ensure long-term reliability and performance
  • Mounting Options: Can be mounted using a variety of methods, including PCB mounting, wire wrapping, or adhesives

Applications

The 9V Small Piezo Buzzer is suitable for a wide range of applications, including

Alarms and warning systems

Medical devices

Industrial control systems

Robotics and automation

IoT projects (e.g., smart home devices, wearables)

Educational projects and prototypes

Precautions

Handle the buzzer with care to avoid damaging the piezoelectric material

Avoid applying excessive voltage or current, which can damage the device

Use a suitable resistor or current-limiting device to prevent overcurrent

Ensure proper mounting and insulation to prevent electrical noise or interference

By following proper usage guidelines and precautions, the 9V Small Piezo Buzzer can provide reliable and efficient audio signaling in a variety of applications.

Pin Configuration

  • 9V Small Piezo Buzzer Documentation
  • Overview
  • The 9V Small Piezo Buzzer is a compact, low-voltage buzzer designed for a wide range of applications, including alarm systems, electronic devices, and robotics. This documentation provides a detailed explanation of the buzzer's pins and how to connect them.
  • Pinout
  • The 9V Small Piezo Buzzer has two pins:
  • Pin 1: Positive Terminal (+)
  • Function: Connects to the positive voltage supply (VCC)
  • Description: This pin is the positive terminal of the buzzer and is connected to the positive voltage source (typically 9V) to drive the piezoelectric element.
  • Pin 2: Negative Terminal (-)
  • Function: Connects to the negative voltage supply (GND)
  • Description: This pin is the negative terminal of the buzzer and is connected to the negative voltage source (GND) to complete the circuit.
  • Connection Diagram
  • To connect the 9V Small Piezo Buzzer, follow these steps:
  • 1. Connect Pin 1 (+) to a 9V Power Source
  • Connect the positive terminal of the buzzer (Pin 1) to a 9V power source, such as a 9V battery or a voltage regulator output.
  • 2. Connect Pin 2 (-) to Ground (GND)
  • Connect the negative terminal of the buzzer (Pin 2) to the ground (GND) of your circuit or power source.
  • Example Connection Diagram:
  • 9V Battery Pin 1 (+) Buzzer Pin 2 (-) GND
  • Operating Conditions
  • Operating Voltage: 6V to 12V (recommended 9V)
  • Current Consumption: Typically 10mA to 20mA
  • Frequency: Self-oscillating at approximately 2.4 kHz
  • Sound Level: Up to 80 dB @ 10 cm
  • Note:
  • Make sure to connect the buzzer to a suitable power source and follow proper wiring and safety guidelines to avoid damage or injury.
  • The buzzer may produce a slight humming noise when not in use due to the self-oscillating nature of the piezoelectric element.
  • By following these connection guidelines and operating conditions, you can successfully integrate the 9V Small Piezo Buzzer into your project and achieve a loud and clear audible alert.

Code Examples

9V Small Piezo Buzzer Documentation
Overview
The 9V Small Piezo Buzzer is a compact, low-voltage buzzer suitable for a wide range of IoT applications. It operates on a 9V power supply and produces a high-pitched sound when an electrical signal is applied to its terminals.
Pinout
The buzzer has two terminals:
Positive terminal (marked with a "+" or "P" symbol): connected to the positive power supply voltage (9V)
 Negative terminal (marked with a "-" or "N" symbol): connected to the ground or a switching device
Technical Specifications
Operating voltage: 9V
 Frequency: 2-4 kHz
 Sound pressure level: 80-90 dB
 Current consumption: 10-20 mA
 Dimensions: 12 mm (diameter) x 6 mm (height)
Example Code
Here are a few examples of how to use the 9V Small Piezo Buzzer in different contexts:
Example 1: Simple Buzzer Circuit with Arduino
In this example, we'll connect the buzzer to an Arduino board and control it using digital output pins.
```c
const int buzzerPin = 13; // Digital output pin for the buzzer
void setup() {
  pinMode(buzzerPin, OUTPUT);
}
void loop() {
  digitalWrite(buzzerPin, HIGH); // Turn the buzzer on
  delay(1000); // Wait for 1 second
  digitalWrite(buzzerPin, LOW); // Turn the buzzer off
  delay(1000); // Wait for 1 second
}
```
Example 2: Alarm System with Raspberry Pi
In this example, we'll use the buzzer as part of a simple alarm system with a Raspberry Pi. The buzzer will sound when a switch is triggered.
```python
import RPi.GPIO as GPIO
import time
GPIO.setmode(GPIO.BCM)  # Set the GPIO mode to Broadcom
buzzer_pin = 17  # GPIO pin for the buzzer
switch_pin = 23  # GPIO pin for the switch
GPIO.setup(buzzer_pin, GPIO.OUT)  # Set the buzzer pin as an output
GPIO.setup(switch_pin, GPIO.IN, pull_up_down=GPIO.PUD_UP)  # Set the switch pin as an input with pull-up resistor
try:
    while True:
        if GPIO.input(switch_pin) == False:  # Check if the switch is triggered
            GPIO.output(buzzer_pin, GPIO.HIGH)  # Turn the buzzer on
            time.sleep(1)  # Wait for 1 second
            GPIO.output(buzzer_pin, GPIO.LOW)  # Turn the buzzer off
            time.sleep(1)  # Wait for 1 second
except KeyboardInterrupt:
    GPIO.cleanup()  # Clean up GPIO on exit
```
Example 3: IoT Alarm System with ESP32
In this example, we'll use the buzzer as part of an IoT alarm system with an ESP32 board. The buzzer will sound when a motion sensor detects movement.
```c
#include <WiFi.h>
const char ssid = "your_wifi_ssid";
const char password = "your_wifi_password";
const int buzzerPin = 22; // Digital output pin for the buzzer
const int motionPin = 15; // Digital input pin for the motion sensor
WiFiClient client;
void setup() {
  Serial.begin(115200);
  pinMode(buzzerPin, OUTPUT);
  pinMode(motionPin, INPUT);
  WiFi.begin(ssid, password);
  while (WiFi.status() != WL_CONNECTED) {
    delay(1000);
    Serial.println("Connecting to WiFi...");
  }
  Serial.println("Connected to WiFi");
}
void loop() {
  int motionDetected = digitalRead(motionPin);
  if (motionDetected == HIGH) {  // Check if motion is detected
    digitalWrite(buzzerPin, HIGH);  // Turn the buzzer on
    delay(1000);  // Wait for 1 second
    digitalWrite(buzzerPin, LOW);  // Turn the buzzer off
    delay(1000);  // Wait for 1 second
  }
  delay(50);  // Wait for 50 milliseconds
}
```
Remember to adjust the pin connections and settings according to your specific setup.