I have a Arduino board, connected to a relay. When the digital pin on the board is set to HIGH, the relay closes. If the digital pin is LOW, the relay opens.
Now that from time to time, I will have to (software) restart the Arduino. The digital pin refresh, and therefore if the relay is closed, it will bounce open. Untill the Arduino board sends out a signal again.
Should I add a switch/ other electric components before the relay? Such that the signal could be "memorized"?
I have thought of using a time-delay relay. But once it is invoked, you'll have to wait until the delay time have pass to turn it off...