I just received an 10-30VDC infrared photoelectric switch NPN NO that I d'like to use with my arduino.
However I'm kinda new with this kind of electronic and I have no idea about the kind of schematic and/or hardware I should use for this kind of product.
Do you guys have any idea on what would be the components needed and/or schematic to use? I would of course have to use an external source of supply (12V) and also I've heard tha I would need to use a relay of some sort. Any advices?