Detect a change in V state?

Hello friends,
i have a very specific problem i dont know how to solve.
I have a digital clock that im using to set up alarms.
I want to take the output of the piezo buzzer of the alarm and use it to activate some other stuff with arduino.

I have 2 issues:

  • Can i use the piezo buzzer cable as an input for arduino to detect? can it have its own separate power(the clock battery)?

  • How can i detect properly this input of the piezo buzzer? im not sure how it works but i can see its not like an on off switch. The output just changes in volts.

thanks!

You might get help quicker if you supply a schematic and a data sheet for the buzzer so that we know what you have and how it is to be wired.

The clock is only battery driven (I.e. not mains powered) ?
The buzzer is probably driven at some frequency in the audio range say 2KHz.
If you don’t know much about the circuit you are interfacing with, an opto coupler is usually a good solution. You’ll need to meet its forward voltage requirements (say minimum 1.2volts) . Use a series resistor to limit current to it.
Search for Arduino opto coupler circuits.

The Arduino powers the buzzer

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.