Door Sensors with Opta

Is it possible to use dry contact door sensors with the Opta? If so, how do I connect the two wires? Ideally I want to connect 8 door sensors to this Opta and be able to read the status.

On the Arduino Nano I connect one wire to the digital input pin and one wire to ground. I get 3.3V at the pins when using the multimeter and the digitalRead works fine to sense if it is open or closed.

On the Arduino Opta I get 0.0V at I1 - I8 with USB-C connected or with a 12VDC power supply connected so obviously I'm not understanding how this device is different.

I made the mistake of using the Arduino Education PLC Starter Kit and thinking I understood how it worked. It has switches 1-8 and a power supply that you daisy chain to the Opta. I wired switch 8 to the Opta I8 input and have a program that reports whether it is on or off. When I read I8 with the multimeter in this configuration I get 0.0V when the switch is off and 7.7V when the switch is on.

Not sure, post links to the technical information on the parts you have and include your annotated schematic showing how you plan on connecting it.

Thanks for the response. I've attached a basic diagram of how I thought they would work.

The door sensor magnetic switches can be found here -> Door Sensor switch

Hello,
You connect one of the wires of your magnetic sensor to your main power (+VCC 12/24v) and the other wire to OPTA Ix.

Thank you. That works. To make sure I'm on the right track, is the preferred deployment to wire the power supply to the Opta and then connect the Opta's + terminal to DIN rail terminal blocks along with one wire of each of the door sensors while the other wire is connected to I1- I8?

Same way you did with - terminal...
Difficult to understand the actual question.

Sorry...my wording was hard to follow. I got rid of the common ground from the original drawing. This new drawing is my current understanding. Is this


correct?

Yes correct :+1:

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