I have designed and built a circuit that consists of an infrared emitter & detector along with a power transistor. The idea is that when the beam of infrared light is broken, I want a small 2.5 Amp - 12 volt pump to turn on. I have it working with one problem... when the beam is partially blocked (very small window), the output voltage is below 12 volts, and I'm afraid that it could burn up the pump motor.
What I need is either 12 volts or 0 volts. I'm thinking I need something between the detector and the base of the power transistor to cause the power transistor to turn completely on, or not at all. Any help would be appreciated.
The circuit can be viewed at:
Thanks, Mick