That would be nice

Yeah that's maybe what I'll endup doing if there is no other way
I'm using a DPDT switch.Quatrerwin wrote:@Camble Were you able to try the MOSFET solution with both MOSFETs yet? If so, do you have an original DMG-01 power switch or are you using a true DPDT switch? I'm trying to figure out if this will be doable with the original power switch (the wiring diagram for it suggests it will not work if I'm reading it correctly and I won't be able to test it with my Raspberry Pi Zero for a few days until I get my mini HDMI adapter in the mail).
Isn't 4€ cheap?Oxodao wrote:My problem is that the Pololu is not available nowhere cheap from france...
I can't figure out why you would need a resistor between the EN and GND pins or even any timing circuit to control this.Camble wrote: I'm using a DPDT switch.
I've been working at that for a while now, but only making slow progress. The depletion MOSFET was turning back on as soon as I flipped the power switch, meaning the PowerBoost would shut off instantly. At the moment I've got EN shorted to ground through a large resistor. When I flip the switch, this pulls EN up to BAT, turning on the PowerBoost. This works just fine, but the LEDs on the PowerBoost flicker all the time. I'm trying to come up with a timed solution which cuts this pull-up after a few seconds to allow the Pi to take over.
Right now I'm waiting on delivery of some N-Channel JFETs to try out. They're already a few days late or I would have probably posted my results by now.
It's not difficult to build a small timer circuit which delays power off for a set time. But this isn't as elegant and there's always the risk that the Pi doesn't safely shut down in time. I've been pulling my hair out with this at times, but I'm sure there has to be a way to do it.
The monetary switch works very well. Hold the button for a few seconds and the Pi boots. Everything shuts down cleanly as you'd expect. The problem is only due to the slide switch. If you were to continue to hold the power button, the charging LEDs on the powerboost go haywire. That can't be a good state for it to be in.SidSilver wrote:Very interesting.
I've done the Popcorn Pololu solution, it's nice but need a switch to poweroff the powerboost when not used.
If I understand what you are working on Camble, it seems better as the powerboost is switched of automatically.
Users browsing this forum: No registered users and 1 guest