IR Object detection modulation

Hi everyone, im after some guidance in regard to s project im doing.

Looking at using ~20 horizontal IR leds to detect a specific sized object as it passes through a field of beams.

They will span approximately 50cm vertically, and i need to know which beams are broken at exact points in time. (Sampling approx 2kHz)

The beams cover a 1.5m distance and have Tx / Rx alternating on each side.

I want to make the beams basicly laser accuracy without having to align the Tx and Rx, so want to modulate the LED’s such that only the corellating Rx can detect the Tx it matches with on the other side of the beam. (As LEDs have a beam angle that would be received by many Rx on the opposing side.

Can i get away with just modulating at ~5 different frequencies and pattern them? would this require hardware? or would i need to use 5 different types of modulation and is that even possible on something like an arduino uno / mega. (cheap)

First microcontroller project and i’ve not chosen something easy.

Thanks

Can i get away with just modulating at ~5 different frequencies and pattern them?

That might work, but sounds like a complex solution to a simple problem.

You might consider turning each IR LED in your array on briefly (While modulated at whatever frequency your receivers are looking for) and then moving onto the next. Then, have an array of receivers that also are each listening only when the corresponding IR LED is on and looking to see if it’s getting a signal or not. That eliminates the need to exactly target each receiver but maintains the ability to filter out what beam is broken since only one beam is active at any given time.

Which are you trying to determine?

-Whether the object is present;

-The length of the object;

-The speed of the object;

-Or the position of the object.

Looking at detecting when a ball’s maximum diameter is passing the beams.

If I understand what you’re trying to do, couldn’t this be done with a single sensor?

Place the sensor pair at the height of the ball.

When the receiver goes dark, it’s because the ball’s maximum diameter is blocking it.

No, i had this idea alos, but the height being surveyed is much larger than 2x the diameter of the ball. more like 20x

LbHawtspur:
No, i had this idea alos, but the height being surveyed is much larger than 2x the diameter of the ball. more like 20x

I don’t understand what you mean here. Are the balls bouncing?

Anyway, it sounds sort of like a ‘light curtain’ application. While most are used for safety applications, those are binary: either the curtain is clear or there’s an object in its field of vision. Some can perform measurements, though. Here’s one:

https://www.di-soric.com/en/Measuring-L … 22022.html

Similar instruments are used by companies that ship a lot of things to get what’s called dimensional weight:

https://en.wikipedia.org/wiki/Dimensional_weight

If this is something you intend to build, I’d take TS-Chris’s recommendation and scan the array.