Laser sensor

Azzali:
Can you propose to me a suitable laser detector that can ot be affected by the interference with the ambient light emitted by the lamp.

Why do people always think 'laser' for a beam break sensor.

Just use a narrow beam IR LED as 'transmitter', and modulate it with 38kHz.
And a 3-pin receiver made for beam break, like the TSSP4038 (not TSOPxxxx).

The 3-pin receiver is designed to ignore ambient light.
Leo..