

The Buzzer 12mm by SparkFun Electronics is a small, cylindrical sound-emitting device designed to produce sound when an electrical signal is applied. It is commonly used in applications requiring audible alerts, such as alarms, notifications, timers, and user feedback systems. Its compact size and ease of use make it a popular choice for hobbyists and professionals alike.








Below are the key technical details for the Buzzer 12mm:
| Parameter | Value |
|---|---|
| Operating Voltage | 3V to 12V DC |
| Rated Voltage | 5V DC |
| Current Consumption | ≤ 30mA |
| Sound Output | 85 dB at 10cm (at 5V DC) |
| Resonant Frequency | 2.3 kHz |
| Dimensions | 12mm diameter, 9mm height |
| Operating Temperature | -20°C to +60°C |
| Weight | ~2 grams |
The Buzzer 12mm has two pins for electrical connections:
| Pin | Description | Polarity |
|---|---|---|
| Pin 1 | Positive terminal (+) | Positive |
| Pin 2 | Negative terminal (-) | Ground |
Note: The positive terminal is usually marked with a "+" symbol or a longer pin.
The following example demonstrates how to connect and control the Buzzer 12mm using an Arduino UNO:
// Buzzer 12mm Example Code
// This code generates a tone on the buzzer connected to pin 8 of the Arduino UNO.
#define BUZZER_PIN 8 // Define the pin connected to the buzzer
void setup() {
pinMode(BUZZER_PIN, OUTPUT); // Set the buzzer pin as an output
}
void loop() {
digitalWrite(BUZZER_PIN, HIGH); // Turn the buzzer ON
delay(500); // Wait for 500 milliseconds
digitalWrite(BUZZER_PIN, LOW); // Turn the buzzer OFF
delay(500); // Wait for 500 milliseconds
}
Tip: To produce different tones, you can use the
tone()function in Arduino. For example:tone(BUZZER_PIN, 2300);generates a 2.3 kHz tone.
No Sound from the Buzzer
Low or Distorted Sound
Buzzer Overheats
Intermittent Sound
Q1: Can I use the Buzzer 12mm with a 3.3V microcontroller?
A1: Yes, the buzzer can operate at 3.3V, but the sound output may be lower compared to 5V operation.
Q2: How do I produce different tones with the buzzer?
A2: Use a square wave signal with varying frequencies. In Arduino, you can use the tone() function to generate specific frequencies.
Q3: Is the Buzzer 12mm waterproof?
A3: No, the Buzzer 12mm is not waterproof. Avoid exposing it to moisture or water.
Q4: Can I use the buzzer for continuous sound output?
A4: Yes, the buzzer can operate continuously as long as the voltage and current are within the specified range.
By following this documentation, you can effectively integrate the Buzzer 12mm into your projects and troubleshoot any issues that arise.