Hi all! Working on a little Christmas present here - one of those GPS lock boxes that only work once you get to a certain location.
Included is a sketch of the circuit itself. I have a simple script running to wait one second and then send a high signal to the MOSFET, hopefully engaging the solenoid.
My problem right now is that most of the time, inconsistently, the solenoid cannot make it all the way closed. Midway through the attempt the MicroView just gives up and resets.
I’ve ruled out back EMF from an inductive load because I have not one but two snubber/flyback/freewheeling diodes on the circuit. The signal to the 12v boost converter goes to the protoboard power rails before it goes to the boost converter.
What’s more, when I plug the boost converter into a wall supply and use the battery, the circuit works, and then continues to work for a small while.
This leads me to believe I have an over current issue. Currently working on trying to get a measurement out of the circuit. This is why I upgraded my current limiting resistor to the MOSFET from the usual 1k to 3.3k.
Is there a way I can source more current from the Lipo or perhaps charge up some kind of cap so I can dump it on engaging the solenoid? I believe a cap could work since after plugging the 12v boost converter into the wall it works for a while. I’m thinking maybe a cap somewhere in the circuit is getting charged up…
Thanks so much, and happy holidays!