I am working on a project based on Arduino, but currently stuck. I have three 24V lights to monitor, sent by a tower wired to a machine. My idea is to use a relay to convert first 24 voltage to 5V, so I can then work with Arduino, reading relay status.
I know how to let Arduino do the processing, but the problem is how I can get the data from the three patrol lights.
I thought of wiring 4Pin DC Power Relay with each 24V signal the following way
Relay coil with tower wires (VCC and GND)
Relay contacts with Arduino Pins (NO, COM, NC)
Still don’t know if I made the right choice choosing a relay or not. I’ll be grateful if you help me on this point.