I'm pretty new to electronics, and I'm making a circuit to control EL wire with a DC logic control signal. Specifically, I would like to blink the EL wire with the output of a 555 timer.
My first pass at this was with an optoisolator. MOC3031 data sheet
The circuit looked like this:
(C1 is a stand-in for the EL wire, which I'm told is a capacitive element, and the 555 outputs 5V)
The good news is that if I turn the EL wire inverter on when the 555 outputs 0V, the EL wire will be off until the 555 jumps back to 5V. The bad news is that the EL wire never shuts back off, even when the 555 outputs 0V again (I've confirmed that the 555 circuit works w/ a multimeter).
I ripped out the optoisolator and replaced it with a triac, so now it looks like:
And everything works perfectly. I'm happy in the sense that I have a working circuit, but I'd like to know what changed. Can anyone explain why?
EDIT:
I want to switch some of the EL elements on and off while the inverter remains switched on and drives other EL elements continuously. The frequency is likely higher than 50-60 Hz and the voltage is probably not a clean sine wave.