Hi,
This circuit was designed for me a couple of years ago to detect an interruption in a static laser beam by a photocell.
+5>---+-------------+ | | [68k] [LDR] +---[1M]--+ | | | | | +----+---|+\\ | | | | >--+---->OUT [100K]--+-------------+--------------+---->GND
[You might need to copy this to notepad to see it properly]
It worked really well, but I've since built a scanning laser that creates 10 beams from one single source, switching the beam on and off, and moving a galvanometer mirror very quickly.
So now the beam passing through the sensor is "pulsed" - the laser software is set to 10,000 points per second - so you can imagine how fast this occurs.
I suspect that I need to add a capacitor to the circuit, either at the input, output, or the feedback section to smooth out the pulses to a more acceptable TTL signal. I'm not sure which is best, or the value of the cap I should use.
Any help is greatly appreciated.
Dave