1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

Buzzer/Speaker...What's the diff?

Discussion in 'Microcontrollers' started by Urahara, Jul 26, 2008.

  1. 3v0

    3v0 Coop Build Coordinator Forum Supporter

    Joined:
    Jul 14, 2006
    Messages:
    9,404
    Likes:
    227
    Location:
    OKLAHOMA USA
    I am using ringtones. The speaker is on more the off.

    EDIT: This sort of thing.
    Code (text):
    #ifdef AdamsFamily  
        /* AdamsFamily */
        rom const unsigned char static Melody[] =  
        {"8c1,4f1,8a1,4f1,8c1,4b4,2g1,8f1,4e1,8g1,4e1,8e4,4a4,2f1,8c1,4f1,8a1,4f1,8c1,4b4,2g1,8f1,4e1,8c1,4d1,8e1,1f1,8c1,8d1,8e1,8f1,1-,8d1,8e1,8#f1,8g1,1-,8d1,8e1,8#f1,8g1,4-,8d1,8e1,8#f1,8g1,4-,8c1,8d1,8e1,8f1"};
        defaultoctave = 6;
        defaultduration = 4;
        beat_speed = 160;
    #endif
     
    Last edited: Jul 28, 2008
  2. Hero999

    Hero999 Banned

    Joined:
    Apr 6, 2006
    Messages:
    14,902
    Likes:
    79
    Location:
    England
  3. saturn1bguy

    saturn1bguy New Member

    Joined:
    Nov 12, 2007
    Messages:
    360
    Likes:
    1
    Location:
    Great Salt Lake
    DOH!

    Yes, I knew there was something familiar about what you folks were describing, but I couldn't put my finger on it. Sometimes a gentle reminder is all we need :)
     
  4. dave

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    -
    Likes:
    0


     
  5. Urahara

    Urahara Member

    Joined:
    Jun 9, 2008
    Messages:
    157
    Likes:
    0

    Does anybody know if the buzzer can produce a sound like this? Hv tried a few combo but still unable to get it. Otherwise, I will look for other types of buzzer/speaker to try it out. Thks!

    http://www.metronomeonline.com/
     
  6. Sceadwian

    Sceadwian Banned

    Joined:
    Oct 27, 2006
    Messages:
    14,047
    Likes:
    141
    Location:
    Rochester, US
    How exactly does bridging on a piezo element work? The outputs aren't isolated so at no point does the UC itself provide 10V P-P, the only thing I can think is that the piezo capacitance itself acts as the final required part of a switched voltage doubler? If that's the case wouldn't the effective capacitance of the element lead to a second harmonic trait? The first being the natural harmonic of the crystal and the second being a combination of the effective capacitance and the impedance at the driven frequency? Doesn't that give a VERY non linear frequency response?
     
  7. Nigel Goodwin

    Nigel Goodwin Super Moderator Most Helpful Member

    Joined:
    Nov 17, 2003
    Messages:
    39,228
    Likes:
    641
    Location:
    Derbyshire, UK
    You need to study how bridging works, outputs don't need to be isolated, and probably wouldn't work if they were.

    It's nothing to do with a piezo, it applies equally to any load.

    Bridging a PIC like this provides 10V p-p, just as any bridged circuit effectively doubles the supply voltage.
     
  8. ericgibbs

    ericgibbs Well-Known Member Most Helpful Member

    Joined:
    Jan 4, 2007
    Messages:
    21,187
    Likes:
    644
    Location:
    Ex Yorks' Hants UK
    hi Sceadwian.

    An analogy would be, if you had a loudspeaker, applied a 1.5Vdc battery voltage to the terminals, the cone would always move the same way the same distance.

    If you now reversed the battery the cone would move the opposite way for the same distance.

    If the battery connection was reversed fast enough the cone would move double the distance, its a push pull action.
     
  9. Sceadwian

    Sceadwian Banned

    Joined:
    Oct 27, 2006
    Messages:
    14,047
    Likes:
    141
    Location:
    Rochester, US
    I always over look the mechanical =O
     
  10. mudassir_semiconductor

    mudassir_semiconductor New Member

    Joined:
    May 16, 2006
    Messages:
    19
    Likes:
    0
    IF you just want to make a sound like PC, make a mono stable 555 timer circuit which gives ur the freq with respect to pot ....... add pc spk ( motherboard small spk) to the output of 555 timer u will get beep sounds...
     

Share This Page