In this circuit, switches should be connected to 24V DC and arduino pins should check whether switches are on or off to control led behaviour. I don't know how to use 24VDC for this situation. I would be glad if someone can help. Thanks.
Electronic – arduino – How to use 24V DC input for Arduino digital pins
24varduinocontrolindustrial
Best Answer