Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] ATTINY13 driving a Piezo transducer directly? The port just locks high .

2009-05-07 by Dennis Clark

> The PIEZO element is just a standard one that is supposed to be resonant
> around 24khz.  I disconnected the piezo and the port started toggling, as
> it should.  Should I put a pair of HEX invertor drivers in parallel for
> each output port to drive the piezo element?
> I am trying to build a small dog whistler, and am using a 9vdc battery, a
> 78L05 regulator for 5v to the Micro.

  You'll need to do a little engineering around this I think.  The AVR can
drive 20ma as I to remember, if at your micro Vdd voltage the current
draw of your piezo is more than that you'll need a driver.  Something as
simple as a logic level FET will do the job nicely.  Piezos don't pull a
lot of current, but yours appears to pull more than your ATTINY13 can
supply.  I've driven piezos directly before, so either there is
something interesting in your design or your piezo is much more power
hungry than those I've experienced in the past.

DLC

> Doug
>
>
>


-- 
Dennis Clark
TTT Enterprises

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.