What to use for a Light Barrier ?

This is about 3meters, and by the way I prefer the use of only one module that sends and receives the signal (maybe ultrasonic)