Hello,
I'm working on a robotics project with my engineering school for a robotics competition, and part of it is re-using parts and devices left over from previous years. We have found a photo-electric sensor that we have been told worked last year, but we are not sure how to use it.
This is the datasheet :
http://tinyurl.com/pkrcponWe are not sure how to hook up the 3 cables we have ( see attachment) or how it works. We assumed the red and black connectors with tubing at the end were the 12-24V and mass, and the other was an analog signal. But it could be some completely different way, we are having trouble finding anyone discussing such a device online.
We tried it like this, and while we see it is emitting an infrared light we are unable to get any data from the sensor. We are interfacing with an arduino mega2560.
Thanks for any help, we really need to get it to work we don't have the budget to buy a new one.