Driving a piezo with the sound function


Closed Thread
Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Jan 2009
    Location
    Miami, Florida USA
    Posts
    704


    Did you find this post helpful? Yes | No

    Default

    Hi,

    I also bought me a piezo buzzer from mouser (see link below) and using it with the commands SOUND and FREQOUT at the resonance frequency 4MHz didn't help too much. The sound was very low. It was even worst when I installed the PCB board with the buzzer attached to it inside a plastic enclosure. Inside the enclosure you can barely hear the buzzer.

    I will give it a try to Melany suggestion of using a square wave for the buzzer.

    Robert

    http://www.mouser.com/Search/Product...ub80XcMw%3d%3d

  2. #2


    Did you find this post helpful? Yes | No

    Default

    At the end of the data sheet is a suggested driver circuit. You may also want to try it. The data does not show any current requirements for thsi part so maybe the PIC can't drive it hard enough?
    Tim Barr

  3. #3
    Join Date
    Jun 2005
    Location
    West Australia
    Posts
    116


    Did you find this post helpful? Yes | No

    Default Try parallel resonance

    Hi Folks,

    I use the piezo transducer types (need to be frequency driven) and find a small coil across the transducer works well as these sensors (yes they make good vibration detectors too!!) are capacitive. Some experimentation is required for the value of the coil inductance but these can easily be made.

    Note a current limiting resistor is now needed in series to safeguard the PIC pin as the coil basically makes the output a short circuit.

    HTH,
    Bill

  4. #4
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    969


    Did you find this post helpful? Yes | No

    Default

    This is how my piezo speaker is driven. The speaker connects between BUZZ and the ground.
    Attached Images Attached Images  

  5. #5
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,157


    Did you find this post helpful? Yes | No

    Default

    Risky Jerson!

    Does anyone know the relation between the numbers and the freq. in the SOUND command?

    Ioannis

Similar Threads

  1. Delayed output 10 secs
    By lilimike in forum mel PIC BASIC Pro
    Replies: 37
    Last Post: - 14th October 2011, 06:28
  2. Wanted: Sound chip interfaced with pic
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 34
    Last Post: - 8th September 2008, 13:38
  3. Help with sound command in 2 programs
    By hyperboarder in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 5th July 2007, 20:36
  4. Sound and sound control with minimal parts
    By bartman in forum General
    Replies: 23
    Last Post: - 18th January 2005, 14:08
  5. Re: quick fix for sound command?
    By Melanie in forum Code Examples
    Replies: 0
    Last Post: - 9th July 2004, 01:44

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts