Hello Guys !
I have a issues with my project .
I have my arduino and tested various input . output scketshes from relay action chapter but I did not seen something to ignore the switch while relays are On .
Lets say I have in input from an reed switch. It reads some fast transistion of an magnet . Well , if the impulse is at 1 sec or below I need to activate two relays .
First relay - turning it ON from state OFF for 30 seconds or 1 minute .
Second realay - give an impulse for 1 or 2 seconds .
The problem it is how can i make Arduino to ignore the other input impulses for the maximum amount of time given by relay one ?
Short explain - input , an reed relay whos state can be taken from arduino board ( GND or +Vcc ) onepin , other pin to analog input . If the input relay is triggered the arduino turns on one relay for 30seconds to 1 minute and second relay gives an short impulse for 1 or 2 seconds . In this time , the input reed relay must be ignored while the relay who has maximum amount of tuning on is ON. After the time is end and the relay is turn back to OFF state the monitoring relay is going again on watching mode .
Thank's a lot for help!
I can make this with some 555 monostable circuits or timer circuits but I prefer Arduino becaus I've built one 4 or 5 years ago and it stay's and dust putin on him . It is time to use it. Thank's again.