JumperD1981
New Member
This is...was suppose to be simple project...but it has escalated into quite the beast.
In short I am trying to build a device that can sense when it moves too much from whatever it is calibrated at...which we have working...and this device will relay to a small number of other devices used as a sort of repeater to deliver a alert to an app. All that is working...but we are having issues charging. Let me elaborate.
Someone suggested I use a ball bearing switch to keep the charging port disabled while outdoors, to prevent a short. This works to a point. When I turn it upside down it does indeed allow that port to become active and allows charging but it also turns on the device bypassing the power button...which of course causes the alarm to go nuts. Plus the added draw of the MPU, Buck to Piezo, and Feather makes the charge take forever...
What I would like to do is keep the charge port inactive(no voltage) until voltage is applied and when it is applied the MC(feather 32 by adafruit) is turned off. I believe turning off everything via pulling to ground the EN pin will work...but how do I keep voltage off the charge port when not connected?
In short, any ideas on how to keep disabled the charge port when no voltage is present, then disabled everything when voltage is?
In short I am trying to build a device that can sense when it moves too much from whatever it is calibrated at...which we have working...and this device will relay to a small number of other devices used as a sort of repeater to deliver a alert to an app. All that is working...but we are having issues charging. Let me elaborate.
Someone suggested I use a ball bearing switch to keep the charging port disabled while outdoors, to prevent a short. This works to a point. When I turn it upside down it does indeed allow that port to become active and allows charging but it also turns on the device bypassing the power button...which of course causes the alarm to go nuts. Plus the added draw of the MPU, Buck to Piezo, and Feather makes the charge take forever...
What I would like to do is keep the charge port inactive(no voltage) until voltage is applied and when it is applied the MC(feather 32 by adafruit) is turned off. I believe turning off everything via pulling to ground the EN pin will work...but how do I keep voltage off the charge port when not connected?
In short, any ideas on how to keep disabled the charge port when no voltage is present, then disabled everything when voltage is?