manaboutdog
Newbie level 4
Hi There,
I'm looking at doing something where I'll have a remote photoelectric switch with an NPN open collector output situated ~300m from my power source (18Vdc) and microcontroller. I'm not sure the best way to go about this and was wondering if the following approach would be ok?
I'm contemplating running a light, cheap 3 or 4 core wire to the sensor for the 3 signals required.
The microprocessor will be required to read the active low signal from the sensor as an interrupt. I'll have to do a bit of level shifting and buffering here but that's no problem.
Is there any other easier way of doing this that I may not have thought of? I don't need the response time to be super fast, anything under 10mS would be fine. The output circuit of the sensor is attached.
Regards
M
I'm looking at doing something where I'll have a remote photoelectric switch with an NPN open collector output situated ~300m from my power source (18Vdc) and microcontroller. I'm not sure the best way to go about this and was wondering if the following approach would be ok?
I'm contemplating running a light, cheap 3 or 4 core wire to the sensor for the 3 signals required.
The microprocessor will be required to read the active low signal from the sensor as an interrupt. I'll have to do a bit of level shifting and buffering here but that's no problem.
Is there any other easier way of doing this that I may not have thought of? I don't need the response time to be super fast, anything under 10mS would be fine. The output circuit of the sensor is attached.
Regards
M