Arduino AR Timer
Posted: Tue Dec 15, 2020 2:57 am
Here's some code I wrote for an arduino AR timer. It features two signals, Alert and Attack. The Alert signal cycles on for 60 seconds, off for 60 seconds, and the Attack signal is 5 seconds on, 5 seconds off. Whichever signal is running, will keep running, until the entire cycle reaches 3 minutes. After that, it will shut off automatically. There is also a growl button that growls the siren for as long as you hold the button, with a minimum time of 200 milliseconds. And of course, there is a cancel button. This cancels any signal that may be running, no matter where in the cycle it is. All of these values are easily changeable, and you should be able to change the signal durations and the attack timing. For this, you will need four buttons, a relay, and three LEDs. I'll have a video of it running when my timer is finished.
The ZIP file download is riiiight here.
The ZIP file download is riiiight here.