1
\$\begingroup\$

Which sensor should I use to detect that a polypropylene sheet (light shines through) has moved past a certain point? Would be nice if it could easily connect to an Arduino.

\$\endgroup\$
3
  • \$\begingroup\$ A photodiode? Use a longer wavelength IR LED and an IR diode and the sheet will absorb the light as it passes in front of the sensor. \$\endgroup\$ Commented Sep 27, 2020 at 14:27
  • \$\begingroup\$ @user1850479 I'm not so sure about this. IR passes through many common plastics even more easily than visible wavelengths. \$\endgroup\$
    – DKNguyen
    Commented Sep 27, 2020 at 16:11
  • \$\begingroup\$ a video camera, connected to a Raspberry Pi, which is running a CV program ... the RPi sends a signal to the arduino every time it detects the object \$\endgroup\$
    – jsotola
    Commented Sep 27, 2020 at 16:48

1 Answer 1

2
\$\begingroup\$

A carefully calibrated noise-rejecting transmission setup probably could detect the attenuation of a typical wipe between the emitter and detector, but there's likely a better way.

Instead of transmission, use reflection. Put the light source and detector on the same side, and detect the illuminated wipe. Figure out a non-reflecting background to put behind it; something flat black and maybe a surface tilted at an angle such that any reflection would not return to the detector anyway.

If you cannot fully shield the setup from outside light, then you should make it reject interference. A simple method it so modulate the light source, and use a bandpass filter on the receiver (eg, how TV remote controls do it). But you can get a better analog result by using synchronous detection, where you alternately turn the light source on and off at a high rate and subtract the reading with the source off from the reading with it on. Depending on needed dynamic range you can do this either in circuitry or in software after A/D conversion.

\$\endgroup\$

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.