Using a Uno as a multi use controller
Today at 01:56 am
Hi,
New guy here. I've built several analog projects but this is my first foray into digital and I may not be on the right track. So here is a little about the project and what I need it to do:
This will be a controller for a turning target system at a gun club. It will control a solenoid, via relay, that in turn activates a 1.5"x 10" double acting pneumatic cylinder that turns 14 target holders through a 90 degree arc ("Turn" and "Face") All of the mechanicals are in place. In some semblance of order here are the things that need to happen:
An rfid card reader for 125 KH cards. (This target system is going to be available to all of our members but there will be an extra fee and orientation to use hence the card reader. These are the type of cards that our members have to access the club already so it will be good if they only have to carry one card for all access.) There is one for about $5 on eBay that looks like it will do the job but I am open to suggestion as to the best unit to use.
Outputs to control a main power relay to send 120VAC to the rest of the system (turns on a compressor and closes an air supply drain valve, turns on a P/A system) and turns on a 24VDC power supply to power the cylinder control solenoid.
In no particular order here's what I would like for the controller to do:
A push button to "edge" and "face" the targets.
Timer for 10, 20, and 60 seconds plus a sequence of the targets "facing" 5 times for 2 seconds each time at random intervals over 30 seconds. The last would be great to have but others are mandatory and probably much easier to program.
Voice. We have a timer for our indoor range that we bought from "Target Timers" in Canada and after he made a few mods for us to work with the pneumatic turner that I built it works great.
One of the best features is a voice file that takes over after the Range Master has given the command to load. At that point the R/M pushes the start button and the voice gives the final three commands at 3 second intervals then the targets face for the correct time. (I would be using another of these for this application but there is a delay in the control solenoid switching that makes me think that in order for the target to be faced for say 10 seconds the timer will have to be set for a little longer.) I would have it do even more of the commands if possible as giving the commands 45 times in a day gets old.
So, is there a shield that will handle a goodly number of sound files ?
Occasionally the indoor timer loses its way and stops working so it has a "reset" button that you press to clear it and then start over. I have no idea what digital goodies make up that timer but it does make me wonder if a similar reset button would be needed on this one.
Thank you for taking the time to wade through this.
Joe