Hello Guest it is March 28, 2024, 03:56:53 PM

Author Topic: Can you wire a proximity sensor directly to a motion control board like a pokeys  (Read 6546 times)

0 Members and 1 Guest are viewing this topic.

Offline MN300

*
  •  297 297
    • View Profile
The zener plus 470 ohms is a practical solution for this application.
The 470 ohm resistor will see about 1/8 watt so use 1/4 watt resistors.
Like a blocking diode, it's in series with the 10k pull-up resistor. The voltage drop will be about 0.23 volts. On a system with a lower value pull-up that voltage would be higher so others should check before copying this method.
This combination will also work with systems that can be configured for a pull-down resistor.
Actually there is an even better option ... But it is a little more work to implement (well, I guess if you are already talking about using diodes and transistors about the same).

Use an opto coupler (ako opto isolator), their purpose is to galvanically seperate two circuits that still need to 'talk' to one another.

Essentially (grossly oversimplified) it is a combo of a LED and Photodiode, the signalling side gets the LED and when the LED lights up the Photodiode will allow current to flow on the receiving side. Thus there needs not be a direct link between signalling and receiving side.

Typically a PC817 is used here.

Example schematic would be (this one is for connecting an inductive proximity sensor to an arduino, same idea, courtesy of a small 'local' electronics store I frequent) :



edit: should point out that there are some cheap ready made boards that are specifically designed for purposes like this that you can probably find on ebay, amazon etc.
« Last Edit: June 12, 2019, 11:09:59 AM by EngelenH »