I just got a SMC pneumatic ram with two Auto switches to sense when its at at either end of its stroke.
I was hoping to connect these with the arduino but have a question.
I have looked up the data sheet for the auto switch.
Its a D-M9P. have included some basic specs and a wiring diagram.
my question is…
because i wont be connection it to a plc. do i need to put those resistors and diode in before connecting to my arduino?
and if so what resistors and diode should i use.