Hi all
I'll go through this as logically as possible...
Project description
I've been making a laser blaster game for about 7 years now. I kinda drift in and out of it so it never gets my full attention. In short, the blaster uses an Arduino Nano and has three inputs - trigger, align switch (this turns the laser on permanently for alignment purposes) and a 3 position rotary switch so there's 3 firing options - single shot, 3 shot blast and full auto.
In terms of outputs, the Nano sends a signal direct to a sound board for a blaster noise and the laser and 6v 2a recoil solenoid are each handled by a STP55NF06L Mosfet. The whole thing is powered by a 2s lipo. Image below is the wiring diagram and below that an image of the board. Not shown in either image is the flyback diode on the solenoid and the voltage regulator that's soldered to the laser module.
Issue
Single shot works fine but on 3 shot burst, the solenoid can lock sometimes rather than recoil. In full auto mode, the solenoid will lock after a few shots with the laser staying on too. Its easy to reset though with the nano's on-board reset button or a quick power cycle.
How I think it can be resolved
Firstly, I don't believe its the code causing the issue as the system does work, at least for a little while. Having had a read online, what I believe is causing the issue is the lack of any resistors on the Mosfet circuitry. However, I'm confused about where they might go, the required resistor values and whether, most importantly, that adding them would solve the issues I'm having.
Any advice would be great!
Cheers
Dan