Photoelectric barrier


I am new in this forum and a beginner in electronic, I want to use a photoelectric barrier.

I dont know which dropping resistor have to use!

Can you help me?

Resistor for what?

The thing advertises it has an LM393 comparator on board, which implies it has a push/pull output that can go straight to an Arduino pin.