[NOTE: Some of this content has also been posted at:
Pistol-Forum, because the thread there has been one of the top google results for 'arduino shot timer' for years, but no one's ever actually shared code]
Re: Future development -- I'm almost certainly going to keep tinkering. If I don't have a project I tend to fill my time buying new firearms, so it saves me money to have something to do. :p
Re: SD Card support - I'd really love to get this running, because I've got code working locally that should allow an unlimited number of shots, and unlimited length of strings (you'll notice the timer display goes up to 99 hours..). I could probably also add in things like pre-programmed 'qualifier' par system that does multiple par times in sequence as you start/stop the timer.
The problem is this model of Arduino doesn't quite have enough program memory to run the SD code and the timer code(or else my I need to optimize my code better). 32kb is not a lot to work with. Going to try using a Teensy board or a Due which should be enough.
If you want to build your own: EXISTING CODE IS FOR THE NON-SD CARD VERSION ONLY
PLEASE BE SURE YOU'RE COMFORTABLE AROUND A SOLDERING IRON
I estimate the component cost for building the
no-SD support version of these is:
-
Arduino Uno R3 - $27.95
-
Electret Microphone breakout with gain - $6.95
-
RGB LCD Shield, with buttons - $24.95
-
9v batter pack for arduino - $3.95 or
3 AAA pack - $1.95
-
Piezzo Buzzer - 3-24dvc - 95 db - $9.50 at amazon, but way cheaper at an electronic parts store or ripped out of something else. More like $3 or less
--- NOTE: you can only drive the buzzer so loud with the Arduino's voltage level - tuning the frequency to the resonant frequency of the buzzer helps, try and find a low frequency resonance if you want a lower pitched buzz.
--- There are a couple ways you could increase the voltage to drive a louder buzzer:
Project 1,
Project 2
That's $67.80 for the base components.
+ shipping for parts if you order online
+ whatever it costs you to build an enclosure/add a belt clip
+ whatever your time is worth
It is more capable than a Pocket Pro II or PACT Club Timer, just uglier (And you can fix that if you're a better craftsman than I!). Not quite at the level of the CED7000, but once I get the SD card version working... well that'll be something.
Just to put it out there, the SD card version will use everything above with the following changes:
+ Substitute the Arduino Uno R3 for an
Teensy 3.1 - $19.80 (Yes, it's cheaper, smaller, AND more powerful - harder to work with though, and mine hasn't arrived yet, so YMMV) (
How to Power a TEENSY)
+
Adafruit SD breakout board - $14.95-- (This I have used and tested - works great, just don't have the program memory to run it and all the timer code at the same time on the Arduino R3)
+
4gb MicroSD card - $7.95
+ Of course a modified version of the code - which is still a
work-in-progress.
Est. Cost for SD components: $82.55
Anyway - as I said before - I just wanted to share. Please feel free to build your own, use my code, fix my code if you think it's crap, sell kits(please provide attribution?), post your own code.. whatever. I may put the code up on Google Code so it's easier to collaborate on, or maybe Codebender will add version control and community commit features.