Page 1 of 1

Arduino AR Timer

Posted: Tue Dec 15, 2020 2:57 am
by Synther
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.

Re: Arduino AR Timer

Posted: Tue Dec 15, 2020 5:20 am
by CanadianTbolt1003
Nice! I'll look forward to seeing your video of it! Does it use digital pins or analog pins? I would be careful of using digital pins for buttons because the digital pins are very sensitive to electrical noise/energy as I have experienced that when trying to make an Arduino PGA timer for my Model D and whenever I would flip a 120v switch it would trigger the Arduino into a false trigger.

Re: Arduino AR Timer

Posted: Tue Dec 15, 2020 9:26 am
by HX56
Wow! That's awesome! How long did it take to make?

Re: Arduino AR Timer

Posted: Mon Dec 21, 2020 1:36 am
by JasonC
You should add the fire signals! The old school 3-blast long wail as well as the hi-lo fire signal for the 1003/3T22 solenoids