Have you try the low battery poweroff ?Camble wrote: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.
Tackling Graceful Shutdowns on the GBZ
-
- 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
Last edited by SidSilver on Fri Jul 15, 2016 3:56 am, edited 2 times in total.
- Camble
- Posts: 885
- Joined: Thu May 05, 2016 2:31 am
- Location: Scotland
- Has thanked: 269 times
- Been thanked: 488 times
-
- 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
@Camble : I mesured LBO output at 5V, isn't it too much for GPIO ?
I thought GPIO support 3,3V only => 5V will definitely damage the GPIO
I thought GPIO support 3,3V only => 5V will definitely damage the GPIO
-
- 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
Sorry I don't understand everythingCamble wrote:@SidSilver True, but http://tansi.info/rp/interfacing5v.html
I our case, if you look at his schema, just the 1kohm resistor is enough ?
- 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
I think the diode and 3.3v line is important. It will limit the voltage to the GPIO pin.
-
- 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
I've found a better solution I thinkCamble wrote:I think the diode and 3.3v line is important. It will limit the voltage to the GPIO pin.
https://learn.sparkfun.com/tutorials/vo ... viders/all
- 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
That's what I'm using on my breadboard, but I thought the link would be more useful.
-
- Posts: 56
- Joined: Thu May 05, 2016 5:32 pm
- Location: WI, USA
- Has thanked: 2 times
- Been thanked: 10 times
Re: Tackling Graceful Shutdowns on the GBZ
I can't wait to attempt to put it together. I have a couple of ideas to try to get it to work. Though I still can't figure out how the MOSFET does that to the powerboost considering the drain to source circuit has a break in it when the switch is on. I'm wondering if you need to add reverse voltage protection on the drain side of the MOSFET for when it's active. Looks the the Pololu adds a 6.8V diode for its reverse circuit protection.
- 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
@Quatrerwin I've been told it's something do with capacitance across the pins. A little research revealed it's good practice to include a pull-down resistor across the gate/source. I'll test this out tonight.
Who is online
Users browsing this forum: No registered users and 1 guest