Hello guys,
I need some help with arduino and photoelectric sensor wiring.
Sensor I have is analogue photoelectric switch, which requires 10-30V DC, but arduino can only provide max. 5V.
http://www.alliedelec.com/Images/Products/Datasheets/BM/IDEC_CORPORATION/814-0855.PDF
So I decided to power the sensor using external power supply. But now I have a problem reading its output.
Can anyone tell me how can I read sensor data if its power source is other than Arduino's?
And also the sensor outputs about 7.5V. Is this OK with arduino analog input pins?