This is a 9V battery operated, low component count, and light weight circuit which can be safely connected to any AC230V outlet. At its heart is the famed little timer chip LM555 (IC1) configured as an astable multivibrator. Another important component is the “home-baked” opto-coupler (PC1). No bulky power transformer is used here, hence the circuit is “noise-free” (no electromagnetic interference). Further, this makes the enfolding task very simple!
Although a variety of opto-couplers are available in the market but it may so happen that you may not have one ready at hand when you get a spark and want to check the idea as soon as possible. Fortunately, it is easy to construct one at home using an LED and a photo-transistor/photo resistor. Just take a small piece of common circuit board and solder the components as indicated here. Keep an eye on the spacing of the components; it should be as close as possible with a slight gap between them. In the prototype one 5mm white LED + 5mm LDR combination was used. After the construction, enclose the opto-coupler in a suitable opaque tube, or cover the whole unit using short-length of heatshrink tube.
