Tackling Graceful Shutdowns on the GBZ

Various user-contributed guides for software-related things
User avatar
Felix
Posts: 44
Joined: Wed May 11, 2016 7:17 am
Location: Antwerp, Belgium
Has thanked: 3 times
Been thanked: 12 times

Re: Tackling Graceful Shutdowns on the GBZ

Post by Felix » Mon Jun 13, 2016 10:09 am

manzel wrote:I understood that so far. But how does the Pi turn on at first when there is no voltage on the ON pin of the pololu because the Pi is still off?
By the switch that's connected to the pololu, when you switch the switch on the pololu then lets the electricity through. The "ON" pin is a override pin that keeps the pololu on even when the switch is turned off.

manzel
Posts: 11
Joined: Fri May 06, 2016 9:07 am
Been thanked: 2 times

Re: Tackling Graceful Shutdowns on the GBZ

Post by manzel » Mon Jun 13, 2016 12:18 pm

Ah ok, so it does not work the other way around (the ON pin keeps the Pololu off). Then I must have done something wrong, have to recheck everything.

User avatar
Felix
Posts: 44
Joined: Wed May 11, 2016 7:17 am
Location: Antwerp, Belgium
Has thanked: 3 times
Been thanked: 12 times

Re: Tackling Graceful Shutdowns on the GBZ

Post by Felix » Mon Jun 13, 2016 4:12 pm

manzel wrote:Ah ok, so it does not work the other way around (the ON pin keeps the Pololu off). Then I must have done something wrong, have to recheck everything.
No, the "ON" pin uses the 3.3v from the pi to override the switch so when the pi gets a signal to turn off it will cut off the 3.3v to the pololu and then the pololu shuts off.

User avatar
Popcorn
Trailblazer
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

Post by Popcorn » Mon Jun 13, 2016 10:33 pm

Just saw all of this. Check connectivity on all your connections. Something isn't wired right. If you followed the instructions, it should work. I would check the sw and gnd and also your vout and gnd. Also try to manually bridge sw and gnd as that should turn the switch on too. Let me know how it goes.

User avatar
Felix
Posts: 44
Joined: Wed May 11, 2016 7:17 am
Location: Antwerp, Belgium
Has thanked: 3 times
Been thanked: 12 times

Re: Tackling Graceful Shutdowns on the GBZ

Post by Felix » Fri Jun 17, 2016 6:49 am

Well, I've been to my hackerspace in my area and asked if it was possible to do it with mosfet and the answer was yes, because the mosfets are voltage based and not current based like the transistors, so you can just hook the gates to the pi0 output and the battery low. This is so much simpler then the pololu, the only thing is to find a n-channel depletion mosfet because there not that commonly used.
Attachments
Without pololu.png
Without pololu.png (135.52 KiB) Viewed 9118 times

User avatar
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

Post by Camble » Fri Jun 17, 2016 10:14 am

Felix wrote:Well, I've been to my hackerspace in my area and asked if it was possible to do it with mosfet and the answer was yes, because the mosfets are voltage based and not current based like the transistors, so you can just hook the gates to the pi0 output and the battery low. This is so much simpler then the pololu, the only thing is to find a n-channel depletion mosfet because there not that commonly used.
Nice one, but also typical! I now have a useless Pololu :lol:


User avatar
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

Post by Camble » Fri Jun 17, 2016 11:32 am

Does anyone know if n-channel MOSFETs are used in computer power supplies and such? I've got plenty stuff lying around I could cannibalise if that was the case.

SidSilver
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

Post by SidSilver » Fri Jun 17, 2016 1:28 pm

You are just building your own Polulu switch :lol:

User avatar
Felix
Posts: 44
Joined: Wed May 11, 2016 7:17 am
Location: Antwerp, Belgium
Has thanked: 3 times
Been thanked: 12 times

Re: Tackling Graceful Shutdowns on the GBZ

Post by Felix » Fri Jun 17, 2016 4:23 pm

What you need to look for is mosfets with a low max gate voltage so that it is easily to be overcome by the pi or the battery low one
SidSilver wrote:You are just building your own Polulu switch :lol:
Not quite, if you think for a moment the powerboost is also a sort of a pololu but the on/off is different. I'm trying to do it only with the powerboost and not with the pololu.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest