Tackling Graceful Shutdowns on the GBZ
-
- Posts: 279
- Joined: Fri May 06, 2016 5:36 pm
- Has thanked: 16 times
- Been thanked: 229 times
Re: Tackling Graceful Shutdowns on the GBZ
No... its a weak pullup. the tiniest of resistors will do.Ganreizu wrote:Does it matter if the resistor is 1/2 watt or 1/4 watt?
- Camble
- Posts: 885
- Joined: Thu May 05, 2016 2:31 am
- Location: Scotland
- Has thanked: 269 times
- Been thanked: 488 times
Re: Tackling Graceful Shutdowns on the GBZ
Ah, I didn't realise that. I'm assuming there will be a way to do that. I haven't got my supply yet.SidSilver wrote: Yes, everything is shut off after the pi shuts down, but the powerboost stays always on (see the blue led)
It would be better if everything including the powerboost were shut off.
- Fleder
- Posts: 849
- Joined: Thu May 05, 2016 9:04 am
- Location: Germany
- Has thanked: 183 times
- Been thanked: 258 times
Re: Tackling Graceful Shutdowns on the GBZ
You could add another slide switch, which physically disconnects the battery from the powerboost.SidSilver wrote:Yes, everything is shut off after the pi shuts down, but the powerboost stays always on (see the blue led)
It would be better if everything including the powerboost were shut off.
-
- Posts: 263
- Joined: Sun May 22, 2016 6:22 am
- Location: France
- Has thanked: 137 times
- Been thanked: 37 times
Re: Tackling Graceful Shutdowns on the GBZ
It's a good ideaFleder wrote:You could add another slide switch, which physically disconnects the battery from the powerboost.SidSilver wrote:Yes, everything is shut off after the pi shuts down, but the powerboost stays always on (see the blue led)
It would be better if everything including the powerboost were shut off.

Replacing the emergency reset button by a slide switch to physically shut off the power.
- Camble
- Posts: 885
- Joined: Thu May 05, 2016 2:31 am
- Location: Scotland
- Has thanked: 269 times
- Been thanked: 488 times
Re: Tackling Graceful Shutdowns on the GBZ
Well according to AdaFruit, the Power boost only draws 20uA when off, so might not be such a big issue.
The cheap alternative supply uses 180uA. Still not much, but quite a difference.
The cheap alternative supply uses 180uA. Still not much, but quite a difference.
Re: Tackling Graceful Shutdowns on the GBZ
[spoiler=]
But the polulu switch is still necessary, right?
[/spoiler]Popcorn wrote:Nope, exactly. I bent the pins of the transistor to fit the GPIO sockets and soldered everything directly onto my PI. That's what I was using in my prototype that you see in the videosGanreizu wrote:Oh so you don't even need a breadboard or anything. Sounds super simple, thanks for the help. Gotta find that transistor now and i'm all good haha.Popcorn wrote:I soldered mine directly on my PI. I would take a photo of it but wrapped it in heat shrink so it would be a very uninteresting photo. Also, I dont think it makes sense to put it on that power strip because its quite far away from the pi which is where it's going to be going
It's pretty simple though.
Take a wire and solder it onto the Low Battery LED on the Powerboost.
Attach the other end of the wire to a 47K resistor.
Attach the other end of the 47k resistor to the base of the transistor (the middle pin).
Now if you have the flat side of the transistor facing towards to you, the collector is on the left and the emitter is on the right. Attach the collector on the left to the GND pin on the Pi and the emitter on the right to GPIO17
That should be it.
Follow my the wiring diagram when in doubt.
But the polulu switch is still necessary, right?
- Popcorn
- Trailblazer
- Posts: 354
- Joined: Thu May 05, 2016 12:58 am
- Location: Berlin
- Has thanked: 29 times
- Been thanked: 71 times
Re: Tackling Graceful Shutdowns on the GBZ
Yes, this is what you are using to shut everything off via GPIO signalfcn wrote:[spoiler=][/spoiler]Popcorn wrote:Nope, exactly. I bent the pins of the transistor to fit the GPIO sockets and soldered everything directly onto my PI. That's what I was using in my prototype that you see in the videosGanreizu wrote:
Oh so you don't even need a breadboard or anything. Sounds super simple, thanks for the help. Gotta find that transistor now and i'm all good haha.
But the polulu switch is still necessary, right?
- Popcorn
- Trailblazer
- Posts: 354
- Joined: Thu May 05, 2016 12:58 am
- Location: Berlin
- Has thanked: 29 times
- Been thanked: 71 times
Re: Tackling Graceful Shutdowns on the GBZ
Bubble is totally right!! Follow that. Apparently, I can't read. LolBubble wrote:I only see this now, but I thought for 2N3904 it was the opposite ? Emitter on the left & collector on the right.Popcorn wrote:Now if you have the flat side of the transistor facing towards to you, the collector is on the left and the emitter is on the right.
https://www.sparkfun.com/datasheets/Com ... 2N3904.pdf
This is the way I wired and it seems to be ok.
Who is online
Users browsing this forum: No registered users and 1 guest