How to connect a Festo SME-8M-DS-24V-K-2 sensor

I'd like to connect a sensor Festo SME-8M-DS-24V-K-2 and create a program capable to read a value of sensor. I searched and tried to find some solutions but nothing on internet.

It's a reed switch. You can read it like a switch:
https://www.arduino.cc/en/Tutorial/BuiltInExamples/InputPullupSerial

Data sheet, I assume you have already seen this:
https://www.festo.com/us/en/a/download-document/datasheet/543862/

@jonhson1991, your topic has been moved to a more suitable location on the forum. Installation and Troubleshooting is not for problems with (nor for advise on) your project :wink: See About the Installation & Troubleshooting category.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.