The 12V Buzzer is an electronic device designed to emit a sound when a 12V DC voltage is applied. It is commonly used in various applications such as alarms, notifications, and signaling purposes. This component is essential in systems where audible alerts are necessary to indicate certain conditions or statuses.
Parameter | Value |
---|---|
Operating Voltage | 12V DC |
Current Consumption | 30mA (typical) |
Sound Output | 85dB @ 10cm |
Frequency | 2.8kHz |
Operating Temperature | -20°C to 60°C |
Dimensions | 30mm x 20mm x 15mm |
Pin Number | Pin Name | Description |
---|---|---|
1 | VCC | Connect to 12V DC power supply |
2 | GND | Connect to ground |
To use the 12V Buzzer in a circuit, follow these steps:
+12V DC
|
|
[Buzzer]
| |
| GND
|
[NPN Transistor]
| |
| GND
|
[Arduino Digital Pin]
No Sound Emitted:
Intermittent Sound:
Low Sound Output:
If you are using the 12V Buzzer with an Arduino UNO, you can control it using a digital pin and a transistor. Below is an example code to turn the buzzer on and off:
// Define the pin connected to the transistor base
const int buzzerPin = 9;
void setup() {
// Set the buzzer pin as an output
pinMode(buzzerPin, OUTPUT);
}
void loop() {
// Turn the buzzer on
digitalWrite(buzzerPin, HIGH);
delay(1000); // Wait for 1 second
// Turn the buzzer off
digitalWrite(buzzerPin, LOW);
delay(1000); // Wait for 1 second
}
In this example, the buzzer will emit a sound for 1 second and then be silent for 1 second, repeatedly. Ensure you connect the transistor's base to the Arduino pin through a current-limiting resistor (e.g., 1kΩ) to protect the microcontroller.
By following this documentation, you should be able to effectively integrate and troubleshoot the 12V Buzzer in your projects.