1
\$\begingroup\$

I plan to use the SEN-00241 IR Emitter and Detector pair to detect a ping pong ball moving fast between them.

I understand I could watch for voltage changes to detect this passing object, however how do people generally deal with ambient light changes? From my research it seems that the voltage will change with ambient light, and although I can take steps to create funnel vision between the 2 I'm sure it may still be an issue.

Would you take constant readings and find averages over 10 consecutive readings to allow for changes in ambient light and set a new baseline reading? Then if the voltage changes dramatically and only for a few reads then I know that was the ball and not to change the baseline reading.

\$\endgroup\$
1

1 Answer 1

1
\$\begingroup\$

Your idea is perfectly sound, and assuming nothing goes wrong should work very well.

Another possibility is a narrowband filter at 940 nm, which will filter out most stray light. At this time, eBay has such a filter, about the right size, for less than $20.

\$\endgroup\$
1
  • \$\begingroup\$ Great idea, I will look into that if the tunneling doesn't reduce enough light. Thanks! \$\endgroup\$
    – Titan
    May 14, 2014 at 19:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.