i’d probably try an IR break-beam sensor, extremely cheap and simple

… mm, actually looks like these tiny ones won’t cut it at the range you need, but that’s just a question of cost and power really.

… here’s a project where someone assembles a longer-range system from separate IR receiver and emitter (+reflector), with an arduino controlling beam modulation and hysteresis:

5 Likes