Tackling Graceful Shutdowns on the GBZ
- 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
@hueblo Who are you addressing, and what solution are you referring to?
Re: Tackling Graceful Shutdowns on the GBZ
@camble
I'm just trying to get an understanding on how popcorns graceful shutdown works. Anyone who can answer is welcome. I believed you designed your the graceful shutdown switch without Pololu for this particular issue. Using popcorns graceful shutdown the 1000C seems to stay on. From my research of this thread it seems the only way to also shut down the 1000C is to use a slide switch in place of the latching emergency reset button to turn off the 1000C. I was wondering if that is still the case or if anyone else found a work around using popcorns graceful shutdown. I did take a look at your design but I really like the low battery feature. I thought I read that you did want to implement low battery into your design, is that in the works?
I'm just trying to get an understanding on how popcorns graceful shutdown works. Anyone who can answer is welcome. I believed you designed your the graceful shutdown switch without Pololu for this particular issue. Using popcorns graceful shutdown the 1000C seems to stay on. From my research of this thread it seems the only way to also shut down the 1000C is to use a slide switch in place of the latching emergency reset button to turn off the 1000C. I was wondering if that is still the case or if anyone else found a work around using popcorns graceful shutdown. I did take a look at your design but I really like the low battery feature. I thought I read that you did want to implement low battery into your design, is that in the works?
- alien0matic
- Posts: 102
- Joined: Wed Jun 08, 2016 7:20 am
- Has thanked: 15 times
- Been thanked: 23 times
Re: Tackling Graceful Shutdowns on the GBZ
The low battery feature should be usable standalone, without the pololu as it is a standalone circuit.
- 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
@hueblo alien0matic is correct. Low battery shutdown is simply software which initiates a shutdown when a high signal is detected on a GPIO pin.
- 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
Wow I haven't been here for a bit. This thread is like a life of it's own. hah.
And yeah, the low battery warning would would work with or without the pololu. Since the LowBatt LED is tied directly to a GPIO pin and it's all monitored by software. The software then does the shutdown process (which is the graceful part), and then disconnects the 'keep alive' signal once it's shutdown.
Then, either solution, the pololu or camble's react to the absence of the 'keepalive' signal and will then kill the power. The only difference between the two is that [mention]camble[/mention]'s solution will also close EN to Ground afterwards which will turn the Powerboost completely off. The pololu solution cannot do that.
Unfortunately though, I've been struggling to get Camble's circuit working, which I suspect is because of different branded components which are perhaps behaving differently or out of spec. But once I get it going without any issues, I will happily abandoned the Pololu solution for his and update this guide to match. You'll hear about it here once that happens.
And yeah, the low battery warning would would work with or without the pololu. Since the LowBatt LED is tied directly to a GPIO pin and it's all monitored by software. The software then does the shutdown process (which is the graceful part), and then disconnects the 'keep alive' signal once it's shutdown.
Then, either solution, the pololu or camble's react to the absence of the 'keepalive' signal and will then kill the power. The only difference between the two is that [mention]camble[/mention]'s solution will also close EN to Ground afterwards which will turn the Powerboost completely off. The pololu solution cannot do that.
Unfortunately though, I've been struggling to get Camble's circuit working, which I suspect is because of different branded components which are perhaps behaving differently or out of spec. But once I get it going without any issues, I will happily abandoned the Pololu solution for his and update this guide to match. You'll hear about it here once that happens.
- 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
@Popcorn I suspect with a small hack (and by that I mean soldering onto a trace or something) the Pololu could be tricked into shutting off completely.
The Motorola JFET looks to have the exact same specifications, so I can't fathom why it's not working. I'll let you know as soon as I can test it.
The Motorola JFET looks to have the exact same specifications, so I can't fathom why it's not working. I'll let you know as soon as I can test it.
Re: Tackling Graceful Shutdowns on the GBZ
Is it possible to advice earlier that the battery is low? I would like to save my game before it turns off.
And another question, with the popup of the countdown, is it possible to still playing? For doing a savestate or something.
Thanks.
And another question, with the popup of the countdown, is it possible to still playing? For doing a savestate or something.
Thanks.
- 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
@musty_666 You should have enough time to save your game before shutdown. You'll get a low battery alert on the screen.
Who is online
Users browsing this forum: No registered users and 0 guests