Creative Commons images are CC BY-NC-SA 3.0

1.95

added to your
shopping cart

quantity
In stock 907 in stock
1.95 1+ units
1.76 10+ units
1.56 100+ units

Description: This is a small 12mm round speaker that operates around the audible 2kHz range. You can use these speakers to create simple music or user interfaces.

Each speaker is PTH solderable and requires an operating voltage of 3.5-5V with a mean current of 35mA max. These speakers also have a typical sound output of 95 dBA and a coil resistance of 42 ±6.3 ohms.

Documents:

Comments 20 comments

  • I bought two of these. One matches the description and datasheet. It works well.
    The other has no markings, does not match the description nor the datasheet. It does not work.
    Based on my experience, you have a 50/50 chance of getting a working buzzer. My next order will be with someone else.

  • Here’s a quick Arduino sketch to have this component make an arbitrary tone by hooking it up to a digital I/O pin. It’s not super precise, and you may need to adjust DELAY_OFFSET to fine-tune the pitch depending on your processor’s speed. It gets the job done though.
    #define DELAY_OFFSET 11
    #define BEEP_PIN 20
    // declare it for good measure
    void beep(unsigned long hz, unsigned long ms);
    void setup() {
    pinMode(BEEP_PIN, OUTPUT);
    }
    void loop() {
    beep(440, 250);
    delay(750);
    }
    void beep(unsigned long hz, unsigned long ms) {
    // reference: 440hz = 2273 usec/cycle, 1136 usec/half-cycle
    unsigned long us = (500000 / hz) - DELAY_OFFSET;
    unsigned long rep = (ms * 500L) / (us + DELAY_OFFSET);
    for (int i = 0; i < rep; i++) {
    digitalWrite(BEEP_PIN, HIGH);
    delayMicroseconds(us);
    digitalWrite(BEEP_PIN, LOW);
    delayMicroseconds(us);
    }
    }
    Of course, beep() is the important function. You can probably figure out the rest. This is great for simple audible indicators. The example above assumes you connected it to digital pin 20, then simply beeps 440Hz for 250ms once per second. Use a guitar tuner or some other similar device to tweak DELAY_OFFSET as necessary to achieve exactly 440Hz if it’s important to you. I used 11 for a Teensy++ configured to run at 8MHz. It shouldn’t be off by very much if it is at all for your board.

    • Good heavens, I just realized that I pretty much re-created the tone() function that is part of the Arduino IDE. D'oh. This one may not have PWM interference problems though. On the other hand, it is an asynchronous/blocking function.
      This ought to teach me to look stuff up first…

  • It is not a buzzer, it is a speaker. If I had read the comments, I’d have seen that I’m not the first to be misled by the product description. Shame on me for not looking closer. OTOH, often the reason I order from sparkfun instead of mouser or digikey is because of sparkfun’s clear product descriptions, pictures, and examples…that save me from having to wade through a bewildering array of product options on those other sites. Sparkfun’s lack of response to multiple comments about misleading product description is disappointing, and, frankly, below what I expect from sparkfun. Hope you guys take the 5 minutes it would require to clarify the product description web page.

  • A bit quiet, it’ll get your attention if it’s sitting on your desk while you’re working, but don’t expect much. It gets noticeably louder if you put a bit of scotch tape over hole.

  • It’s not a buzzer. It appears that you need to drive it with an ac signal as it only “clicks” when you apply a dc voltage. Misleading description. Not worth returning for $1.95.

  • I’d like to find something to drive a dog off a couch. I needed something that will emit in the 20khz to 40khz range. Will this work?

  • Hey, I tried to modify this code http://ardx.org/src/circ/CIRC06-code.txt to include an A#. I found the frequency, and then the ‘timehigh’ required for the note, and I changed the char names [] and int tones [] to include the a#, and I changed the for{} below to go up to 9. However, I am still getting an error, which I do not understand. Can anyone help?

  • I built the board up last night, and so far everything seems functional except the knock sensor. Both the buzzers measure 18 ohms, and the buzzer works fine. However i cannot get a usable reading off of the knock sensor. Considering that the original knock sensor was based on a piezo element, and this is clearly a coil device, is it possible that it just is not sensitive enough?
    Any suggestions?
    tom w wolf

    • It’s just not sensitive enough. One day, I got an 8-ohm cone speaker where the coil was right in the foreground, I knocked on it, nothing. Try the PC Mount Piezo Buzzer from RadioShack, about the same size, works as a knock sensor, and of course, overpriced. It’ll actually work, though.

  • How do you drive these? By feeding it at a certain frequency around 2kHz?
    How loud are these? I need to generate something like a whistle tone (so not constant frequency) that should be audible outdoor at around 50 meters.

    • How loud?
      In my experience not nearly enough.
      I am driving mine at 2kHz (2000Hz as opposed to 2048Hz) because of the settings of the timer I use and the volume is pretty low.
      I was hoping to make it a beeping tone to help find the rocket once it has landed but with the volume I get out of it I will have to find the rocket first in order to assess if it is beeping.
      Now, admittedly the response curve has peaks and I might be just on the edge of the high-response peak - but if so you can forget your whistle tone as a slight variation of frequency cuts it by 20dB according to the datasheet, and the low noise is, well, low.

      • In the past I’ve used a Piezo beeper on a rocket for exactly that purpose (finding a small rocket in sagebrush can be challenging to say the least). The Piezos have a loud, piercing tone (think smoke alarm) and very low power consumption. SparkFun doesn’t sell one, but you can find them a lot of other places including Radio Shack.

  • I bought a few of these hoping to get piezo discs out of them, with which to make contact microphones. Unfortunately for me, these are NOT piezobuzzers. Inside is a tiny ferrite-core electromagnet (shielded!), which sits under a very thin metal disc with a little magnet glued to the middle.

  • Somewhat confused about this item :-\
    Is it a buzzer, ie I apply a constant 5V current and it makes a sound, or is it a speaker in the sense I have to send pulses of current?
    The title (Buzzer - PC Mount 12mm 2.048kHz) would suggest a buzzer that emits a tone of 2048Hz, yet the appearance of the PCB underneath would suggest it’s a passive speaker.

    • This is more of a generic speaker than an actual buzzer. If you feed it a constant voltage, you will hear nothing.

  • Got one with markings, works great with the arduino “Melody” example, slightly bending one of the pins allows you to plug directly into digital pin 12 and ground.


Related Products