Volume Control On Piezo


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2005
    Posts
    67

    Smile Volume Control On Piezo

    Hi,
    I am trying to control the volume of a piezo by PWM, but
    not a great deal of success.

    I have also tried HPWM, but the same.

    Peizo operating freq 4100 hz

    PIC 16F628A

    Int Osc, CMON = 7 Vol var word
    etc done

    For Vol=100 to 250 step 10
    PWM PortB.3,vol,10
    Pause 200
    next

    For Vol=100 to 250 step 10
    HPWM 1,vol,10
    Pause 200
    next

    Both cause a scratchy sound, with a little volume control.

    I am trying to eliminate a resistive pot, and use to PB, for up/down.

    kind regards

    Peter
    Pete

  2. #2
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Hi Peter,
    I am thinking Piezo element is a high impeadance device, you are probably feeding it through a small series capacitor, what would happen if you lower the impeadance with a resistor in parallel with the piezo element to help use up some of the power delivered through the capacitor? Then I believe the duty cycle change would have more effect.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

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


    Did you find this post helpful? Yes | No

    Default Try a parallel choke instead...

    You will have more efficiency and volume by using a small choke (coil) across the piezo to better the resonance. Some experimentation with size (micro Henry) is needed but any will show the difference from none...

    Bill

    edit... play safe and install a series resistor though, say 330 or 470 ohms.
    Last edited by wjsmarine; - 13th August 2007 at 04:39.

Similar Threads

  1. How do I give a radio control car autonomous control
    By Kenjones1935 in forum General
    Replies: 190
    Last Post: - 17th January 2010, 15:40
  2. pt2258+16f877 how can i use for 5.1 volume control ?
    By whyliving in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 26th January 2008, 17:51
  3. Control RC servo via Parallax Servo Control
    By cibotsan in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 17th September 2005, 08:18
  4. Volume Control IC's
    By HarryK in forum General
    Replies: 0
    Last Post: - 8th March 2005, 08:46
  5. Remote control
    By Radiance in forum General
    Replies: 2
    Last Post: - 6th August 2003, 15:13

Members who have read this thread : 1

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