The two suggestions that you've gotten -- to check the +5V supply and to
check all grounds -- are both things that I'd recommend.
Checking the voltages at pins 10-13, pin 15, and your +5V line when you
exercise the start gate and the photodetectors should also be
informative. If the circuit is working correctly then the voltage on any
one of the five sense lines should be independent of the rest, and the
+5V line should not be affected.
If you _do_ see cross-talk on the data lines but not the +5V, then try it
again with the thing disconnected from the 'puter. In general you want
to chop the problem up into little bits and solve (or verify) those bits
independently.
When you're all done, check that the thing actually times accurately
under whatever OS you're using -- both Windoze and Linux aren't real
time, and the more we use nifty graphics and such the less real time they
get. If the software you intend to use has as decently written port
driver and makes wise use of multimedia timing constructs then it should
do a pretty good job. If not -- maybe not.
(Or, if you're _really_ techie, use a 4-channel digital scope connected
to the four lane sensors, with the start gate connected to the trigger.
There's nothing like throwing $5000 worth of equipment at a $10 problem
to prove that you're a techno-nerd).
--
My liberal friends think I'm a conservative kook.
My conservative friends think I'm a liberal kook.
Why am I not happy that they have found common ground?
Tim Wescott, Communications, Control, Circuits & Software
http://www.wescottdesign.com