--- In AVR-Chat@yahoogroups.com, "arhodes19044" <spamiam@c...> wrote: > I have a radioshack piezo buzzer that is rated for 3-16 volts and a 3 > or 5 MA. I tested the current it draws with my dmm and I got the > rated MA being drawn. > > I had used this device on a different project using a BX-24 which has > an 8515 as its core. > > When I use it with my 128, the sound is very faint. I tried it on 2 > different pins and the sound was the same. > > I am pretty new to AVRs. I am pretty sure that I have the pin set to > output (DDRx = 1 on the appropriate pin). > > Any suggestions? > > -Tony Replying to myself. Hey dummy, chech that the initialization function is ACTUALLY used! I wrote the function but never called it! So the pin was at the default "input", so I was only engaging the pull-up resistor. When I set it to "output" then the buzzer sang out loud and clear. -Tony
Message
Re: very faint piezo buzzer
2005-05-25 by arhodes19044
Attachments
- No local attachments were found for this message.