We need to use the audio output of a wireless doorbell to trigger a stable DC voltage which is going to keep switched a 3.3V DC relay as long as the audio output is present.
The relay is supposed to power/open an electronic lock until the doorbell audio finishes.
The doorbell I'm using is also a 3.3V device.
When applying the audio output directly to the relay, the relay was playing the audio just like a loudspeaker. This happened even when I tried to even out the audio using capacitors.
Here's an image of the Doorbell used
And this is the wireless switch for the same doorbell
These are the capacitors I tried for smoothing away the audio
The relay was still playing the audio like a loudspeaker (instead of being switched) even after I used these capacitors. do you think capacitors with different values could help or are there better solutions?