IC1 astable gives a fixed square wave at pin 3, C1 and R1 derive uS trigger pulses from IC1 and this will trigger IC2 monostable or single shot, the voltage at pin 5 of IC2 will change the pulse width output of IC2, to get it working all the three RC combinations have to be figured out.
Optical Obstacle Switch.
You can even build a small SMPS with this or even control the temperature of your soldering iron using the SSR solid state relay circuits in power section, then you need to think and design the cycle time of a soldering iron heat control system, it will be in seconds but then above circuit is running at audio frequencies, then you have to work that out yourself..
This is a unregulated supply for low power circuits. You may be able to regulate the outputs with zeners or small regulators like 78L05.
The transformer can be hand wound in a mini ferrite pot core. you can use 2N2222 or any other fast transistor. The transformer should have 1KV isolation. The dot polarity of TR1 should be properly observed, else it may fail to oscillate or give output.
Simple WorkBench Dual Power Supply – del20033
Diode should be fast recovery type, for less than 100mA use 1N4148. transformer, pri-20-20, sec-60-60, a SWG-AWG to suit the current you
design for, any fast switching transistor would work, no regulation, use regulators like 78L12 if you want, circuit like multivibrator used for flashing LED lights.
The Source file in CadSoft EAGLE format is here del00010.zip
This supply gives both positive and negative outputs. Appropriate Fuses should be used to protect from fire hazard and overload of transformer.
The Filter capacitor C1 4700uF has an impedance of Xc = 1 / (2 * 3.14 * f * C) which comes to 0.6 ohms at 50 Hz. The impedance of the load at 2A for 24V is R = V / I that is 12 Ohms which is more than 20 times the impedance of the capacitor at 50 Hz. That means less than 1 / 20 of ripple current will flow thru the load. The Regulator also reduces the ripple a little.
Simple WorkBench Dual Power Supply
This is a 9V power supply which will work even on power failure. It uses a rechargeable battery and regulators. A transformer with 15-0-15 AC volts output is required.
From my Power Electronic Circuits
In the first regulator U1 the output is lifted up by 1.4V and in the second regulator U2 by a resistor divider. In the second regulator the voltage across resistor R3 is 5V, so the current is 5V / 1K = 5mA this adds to the quiescent current of 5mA from the regulators ground terminal and flows into the resistors R1 and R2 in parallel which form 404 ohms, 10mA thru 404 ohms is 4V. So the output will be 5 + 4 = 9V. Note that the charge and discharge paths of the battery are separated with diodes.