Arduino Forum

Using Arduino => Project Guidance => Topic started by: GeorgyCarastas on Nov 19, 2019, 08:58 pm

Title: Simple IR retro-reflective sensor for a 3v arduino
Post by: GeorgyCarastas on Nov 19, 2019, 08:58 pm
Hi guys!

I don't have a lot of experience with electronics, just following and adapting schematics.
I adapted this retro-reflective sensor schematics https://create.arduino.cc/projecthub/mova2/long-range-beam-break-sensor-with-reflector-panel-4dfc48 into something that works at 1.5 meters.

I played with the LED resistor to limit the power and work at 1.5 meters. But now, if an object passes too close to the emitter / sensor box it reflects back and does't break the IR barrier.
Also, I'm using reflective tape to reflect the beam on the wall.

I use a SFH4545 LED and a TSSP4038 receiver and it works 90% of the time, except when something smooth like a hand or something closer passes.

I was thinking of trying a TSSP4P38 for it, but I'm not sure, I see that it's used as more of a distance mesurer without a reflective surface. I really want to use the reflective tape because I'm afraid it will reflect from the wall or something.

Thank you for anything!
George
Title: Re: Simple IR retro-reflective sensor for a 3v arduino
Post by: zwieblum on Nov 19, 2019, 09:04 pm
You'll need some optics to make it work as expected.

If you are interested in the IR emitted, you cyn darken the room and use a ccd camera. It'll show you the IR light on the objects.
Title: Re: Simple IR retro-reflective sensor for a 3v arduino
Post by: GeorgyCarastas on Nov 19, 2019, 09:08 pm
Thank you!

What do you mean by optics? Polarizing filters? I don't understand how that would work...

Thanks,
G
Title: Re: Simple IR retro-reflective sensor for a 3v arduino
Post by: Paul__B on Nov 19, 2019, 10:17 pm
You need to laterally separate the emitted beam form the returned beam.
Title: Re: Simple IR retro-reflective sensor for a 3v arduino
Post by: GeorgyCarastas on Nov 19, 2019, 10:51 pm
Thank you, the receiver is in an aluminium tube, it does not get light directly from the LED, I've made a drawing of the problem! ;)

G
Title: Re: Simple IR retro-reflective sensor for a 3v arduino
Post by: DrDiettrich on Nov 20, 2019, 12:34 am
Why do you think that an object breaks the beam, instead of reflecting it?

What does "break" mean here? The beam must either be absorbed or be reflected or scattered into some different direction. If an object does not behave this way, it won't break the beam.

An apparently "dark" object does not necessarily absorb IR, even if it absorbs visible light. The same for apparently reflective material...
Title: Re: Simple IR retro-reflective sensor for a 3v arduino
Post by: Wawa on Nov 20, 2019, 04:54 am
Transmitter/receiver opposite each other should work more reliable,
since you don't have the problem of the object reflecting IR as well.
You can also get greater distances with two units opposite each other.
25 meter in broad daylight (without optics) should not be a problem.
Leo..
Title: Re: Simple IR retro-reflective sensor for a 3v arduino
Post by: GeorgyCarastas on Nov 20, 2019, 09:01 am
Why do you think that an object breaks the beam, instead of reflecting it?

What does "break" mean here? The beam must either be absorbed or be reflected or scattered into some different direction. If an object does not behave this way, it won't break the beam.

An apparently "dark" object does not necessarily absorb IR, even if it absorbs visible light. The same for apparently reflective material...
Because in 90% of cases it "breaks", scatters or absorbs the light.
And off the shelf retro reflexive sensors work like that very reliably, even from a small distance. But the problem with them is that they are too big and they need 12v to power, and they don't fit in the nice little case I plan to use, and need a step-up from the usb 5v I'm using, and are expensive.

I'm just kinda hoping that there is a simpler solution, like some specialized LEDs and sensors. Fingers crossed!

G
Title: Re: Simple IR retro-reflective sensor for a 3v arduino
Post by: zwieblum on Nov 20, 2019, 10:27 am
Well, use a Sharp IR distance sensor, looks like that thing has built in what you want to get.
Title: Re: Simple IR retro-reflective sensor for a 3v arduino
Post by: GeorgyCarastas on Dec 04, 2019, 10:53 am
Hi, thank you for your suggestion, I tried with a Sharp IR and it worked great! Now I just need to figure out how to use it with a Wemos D1 without dropping the wireless connection ;(

Thank you!
G