I am new to Arduino and would like to make this work but do not know enough about programmingcode to make this work.
Any help would be appreciated.
I have attached a scematic of what I think it should be, but I am not an engineer.
Inputs:
Relay 1 controlled by outboard source.
Relay 2 controlled by outboard source.
Push Button 1 ( Toggles LED and Relay 3 )
Outputs:
Relay 3 ( used to shunt an outboard N.C. contact on another system )
LED1
Function
When RELAY 1 is closed LED turns ON and LED stays ON
When RELAY2 is closed LED turns OFF and stays OFF
When PUSHBUTTON1 is pressed is will turn OFF LED and turn ON Relay3 and stay ON
When PUSHBUTTON is pressed again LED will turn on and RELAY3 will be turned OFF and stay OFF
When Relay2 it turns OFF LED and LED stays OFF. Relay3 should also be OFF and stay OFF
Basically when I open the access door the doors contact will be bypassed until I push the button again which will unbypass the access doors contact. Relay2 turns of the LED and Relay3 until it is triggered again by Relay1.
Message was edited by: Robert Pfeifer Thanks to all who are helping with this. I have updated my drawing and description of how this should work.
Message was edited by: Robert Pfeifer I have updated the input relay states from two second close to stay closed.