Yep, pretty much. This is why I'm working on something slightly different.tent wrote: Well if the idea is to shutdown gracefully by button press but then not taking off the power then you do not even need a pololu any pushbutton to a gpio would do...
Ok then I add a switch to disconnect battery.. Ok basically not nice and practical but with a switch and a button no particular hw is needed but it's strange no ps2 exists for embedded that also features something like atx and apm for shutdown and battery level...
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
Re: Tackling Graceful Shutdowns on the GBZ
Now I'm curiousCamble wrote:Yep, pretty much. This is why I'm working on something slightly different.tent wrote: Well if the idea is to shutdown gracefully by button press but then not taking off the power then you do not even need a pololu any pushbutton to a gpio would do...
Ok then I add a switch to disconnect battery.. Ok basically not nice and practical but with a switch and a button no particular hw is needed but it's strange no ps2 exists for embedded that also features something like atx and apm for shutdown and battery level...

tent:wq
-
- 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
Don't forget the low battery shutdown...tent wrote:Well if the idea is to shutdown gracefully by button press but then not taking off the power then you do not even need a pololu any pushbutton to a gpio would do...Camble wrote:You'll still be able to use a Pololu switch to perform a graceful shutdown. The problem of the supply being on exists with both the Banggood module, as there is no EN pin to shut it off manually. You could always add a switch between your battery and the power supply module though.
Ok then I add a switch to disconnect battery.. Ok basically not nice and practical but with a switch and a button no particular hw is needed but it's strange no ps2 exists for embedded that also features something like atx and apm for shutdown and battery level...
Re: Tackling Graceful Shutdowns on the GBZ
Yes true I agree. As said in another thread the problems are two:SidSilver wrote: Don't forget the low battery shutdown...
- fact1: raspberries with linux do not have a way to shut down like computer or laptop (a la ATX) by sending information to the PSU to shut down the power after OS was stopped first
- fact2: raspberries with linux do not have a way to sense if battery level is low when the device is portable (a la APM) by receiving a low bat singnal and undergo the shutdown of OS and PSU as above.
So far I was unable to spot something that was both CHEAP and SIMPLE or at least a close combination of it to address those issues.
tent:wq
- Oxodao
- Posts: 131
- Joined: Wed Jun 01, 2016 11:35 am
- Location: 127.0.0.1
- Has thanked: 4 times
- Been thanked: 30 times
- Contact:
Re: Tackling Graceful Shutdowns on the GBZ
What's the advantage of using a pololu thing there instead of a simple mosfet ?
My problem is that the Pololu is not available nowhere cheap from france...
And I do have quite a few mosfet that could correspond (IRF630 for example)
My problem is that the Pololu is not available nowhere cheap from france...
And I do have quite a few mosfet that could correspond (IRF630 for example)
Arduino sketch for the gamepad (Teensy replacement): http://github.com/oxodao/GBZGamepad
Re: Tackling Graceful Shutdowns on the GBZ
I think it's just packaging two mosfets and pins in a nice package...
I found this one as well but lacks enablw/disable and even boost to 5v but the rest is incredibly well conceived: https://www.sparkfun.com/products/13777
I found this one as well but lacks enablw/disable and even boost to 5v but the rest is incredibly well conceived: https://www.sparkfun.com/products/13777
tent:wq
-
- Posts: 263
- Joined: Sun May 22, 2016 6:22 am
- Location: France
- Has thanked: 137 times
- Been thanked: 37 times
- Oxodao
- Posts: 131
- Joined: Wed Jun 01, 2016 11:35 am
- Location: 127.0.0.1
- Has thanked: 4 times
- Been thanked: 30 times
- Contact:
Re: Tackling Graceful Shutdowns on the GBZ
Yeah no problem, this PCB is cheap enough... When you see that the shipping is at least twice the price that does not makes me want to buy it, do you have any cheap seller ?SidSilver wrote:Pololu cost 4€... affordable
Arduino sketch for the gamepad (Teensy replacement): http://github.com/oxodao/GBZGamepad
-
- 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
Got mine from Gotronic (France).Oxodao wrote:Yeah no problem, this PCB is cheap enough... When you see that the shipping is at least twice the price that does not makes me want to buy it, do you have any cheap seller ?SidSilver wrote:Pololu cost 4€... affordable
I bought other things with the pololu to justify the shipping. The idea is to group orders as much as possible.
- 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 might be selling mine. Where are you from?Oxodao wrote:Yeah no problem, this PCB is cheap enough... When you see that the shipping is at least twice the price that does not makes me want to buy it, do you have any cheap seller ?SidSilver wrote:Pololu cost 4€... affordable
Who is online
Users browsing this forum: No registered users and 1 guest