This circuit was found in a 90s Popular Electronics. The sensor can be any phototransistor.
This PWM control circuit was found in an old documentation, but appears elsewhere on this site...
Based on TTL logic this circuit can vary both the frequency and the pulse width of a rectangular signal....
The critical components of this project from a 1978 publication are the transformers, which can be...