I'm pretty new to electronics and still developing basic design skills (I'm a software person). I'm hoping someone can give me some simple guidance.
My son and one of his friends are modifying an electric airsoft gun so that the firing mechanism is controlled by a microcontroller. They want to be able to have the trigger be a button press that the microcontroller reads and depending on the programming will activate the motor in the airsoft gun. There's a little lever in the gun that moves each time the gun is fired. By adding another switch that this lever will hit, we can count how many times the gun has fired. The microcontroller can then be programmed to give us variable bursts when firing.
My questions are:
- Does this seem reasonable so far?
- What's the best way to control the motor?
- Should we use a MOSFET or a solid state relay? What are the practical differences in the two?
- Anyone care to venture a circuit diagram that will help us?
I realize that being new to this, my questions may not all be well-formed, but I'm hoping this will get us moving in the right direction.
Thanks,
Stacy