Thinking about it, I don’t want any voltage drop on the input so the output side would be best.A further thought, I believe the output of the optocoupler will be AC and I guess that will make the relay vibrate, not what I want. So I think I’m back to using diodes but would they be better placed on the sounder input side or the relay output side?
Peter
And using the optocoupler with a standard 5v relay and diodes should get me the results required.I’ve connected a 10K resistor and the sounder works. I then changed it to 15K and 22K to see how the voltage compares. I think the optocoupler will work. Please see pictures.
Peter View attachment 299831View attachment 299832View attachment 299833View attachment 299834
Don't need any diodes. The LTV-814 is designed specifically for AC having 2 internal IR LEDs. The input of the relay module requires appx 2ma. The 10K resistor may need to be adjusted.A further thought, I believe the output of the optocoupler will be AC and I guess that will make the relay vibrate, not what I want. So I think I’m back to using diodes but would they be better placed on the sounder input side or the relay output side?
Peter
It's 2800 hz not 50.The two LEDs at the input of the LTV-814 full-wave rectify the 50Hz AC which will vibrate the relay at 100Hz.
Is this the thread about the piezo sounder?It's 2800 hz not 50.
4.7Kwhat do you recommend I try?
Thank you, I’ll try that. Connected is a standard 5v, I also have a 3v but I don’t think that or an isolated one will make any difference.4.7K
The OC needs a minimum of appx 1.1 volt.
What relay module are you using?
It definitely might make a difference depending on the input requirement of the relay module.Connected is a standard 5v, I also have a 3v but I don’t think that or an isolated one will make any difference.
Again with no isolation the negative side of the sounder will be connected to the battery negative. Don't know how that will effect the siren as it appears to driven by a transformer.Junk the optocoupler! use a MOSFET to drive the relay. there is no need for an optocoupler.
