I have a picaxe 18M2 chip running on batteries and I want to implement a on/off pushbutton in order to save batteries when it's off. The picaxe is powered from a 2-cell li-ion pack (7.4V) and I have 5V DC-DC step down converter to get the 5V for the picaxe and other stuff.
So, I was thinking that maybe is's possible to insert a mosfet between the batteries and the 5V converter which I can "overrule" with a pushbutton to power up the system. As soon as it's powered the picaxe should high one of the outputs to keep the mosfet in ON position, so power isn't lost when I release the push button.
But, the picaxe will also need to be able to read the pushbutton state and release the mosfet when I hold the pushbutton for a couple seconds.
I have a TON of IRFB4110 mosfet's on my desk, and I was hoping I could use these for this job.
I'm pretty new to electronics. The digital parts are pretty easy to me but the analog circuits are hard to understand. So please, can anyone help me out with an example circuit on how to build this?
Thanks!
So, I was thinking that maybe is's possible to insert a mosfet between the batteries and the 5V converter which I can "overrule" with a pushbutton to power up the system. As soon as it's powered the picaxe should high one of the outputs to keep the mosfet in ON position, so power isn't lost when I release the push button.
But, the picaxe will also need to be able to read the pushbutton state and release the mosfet when I hold the pushbutton for a couple seconds.
I have a TON of IRFB4110 mosfet's on my desk, and I was hoping I could use these for this job.
I'm pretty new to electronics. The digital parts are pretty easy to me but the analog circuits are hard to understand. So please, can anyone help me out with an example circuit on how to build this?
Thanks!