bdring / 6-Pack_CNC_Controller

MIT License
287 stars 71 forks source link

Proximity Sensors beyond 5V #40

Closed jsunday closed 3 years ago

jsunday commented 3 years ago

What is involved in getting a 6-36V or 10-30V inductive proximity sensor to work correctly?

I have a 12V power supply I can use to power the sensor, and then I would need a resistor or other electronics of some type to lower the voltage for the input of the esp32?

Thanks,

bdring commented 3 years ago

Most proximity switches pull the signal to ground. I think if you supply the 12V to the sensor and tie the ground on sensor and the ground at the switch together it should work.

Here is a link to Slack. The is the primary support channel for questions like this.