I need some help, I’m working on a project for work where I need to have an input from dry contact to trigger three different relays at varying delay times and hold the relays for varying times as well.
So, input received from an external system on input pin, then it starts the delays,
Relay 1 (output pin 9) 10 second delay then hold the pin high for 20 seconds
Relay 2 (output pin 10) 25 second delay then hold the pin high for 15 seconds
Relay 3 (output pin 11) 45 second delay then hold the pin high for 20 seconds
When the input is triggered, I need those delay times to start counting at the same time, not sequentially. Not sure how to do this with Arduino since it basically runs code linearly, not parallel. Any ideas would be greatly appreciated!!!