Hi,
I have a pic 16F628 circuit, and when a button is pressed, it triggers a relay.
Now I want to add a new feature; when the time is out, I want a piezo to buzz for 2 seconds. I have a 555-timer based piezo buzzer, and when I connect it to the pic and reprogram it, it's making a buzz. Just as I want.
But isn't it possible to connect the piezo directly to the pic? I think I've read somewhere, and seen some source code about that, but now I cannot find it.
Anyone?
I have a pic 16F628 circuit, and when a button is pressed, it triggers a relay.
Now I want to add a new feature; when the time is out, I want a piezo to buzz for 2 seconds. I have a 555-timer based piezo buzzer, and when I connect it to the pic and reprogram it, it's making a buzz. Just as I want.
But isn't it possible to connect the piezo directly to the pic? I think I've read somewhere, and seen some source code about that, but now I cannot find it.
Anyone?