Power switch circuit - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4) +--- Forum: Pine A64 Hardware, Accessories and POT (https://forum.pine64.org/forumdisplay.php?fid=32) +---- Forum: POT modules (https://forum.pine64.org/forumdisplay.php?fid=8) +---- Thread: Power switch circuit (/showthread.php?tid=126) |
RE: Power switch circuit - pine.tree - 01-28-2016 (01-28-2016, 09:59 AM)patrickhwood Wrote:(01-28-2016, 09:31 AM)pine.tree Wrote:(01-28-2016, 09:15 AM)SkimMilk Wrote:(01-28-2016, 08:59 AM)Gearsoul Wrote: When you guys say 'switch' ... do you mean the physical component that toggles? Ah, that would be great. I forgot about the ability to either force shutdown or "gracefully" shutdown the device. I certainly wouldn't want to abruptly cut power, shutting down properly is good. If they do the momentary contact switch, 10/10. RE: Power switch circuit - Gearsoul - 01-29-2016 (01-28-2016, 10:21 AM)pine.tree Wrote:(01-28-2016, 09:59 AM)patrickhwood Wrote: I believe the switch that's on the board is actually a momentary contact that's connected to the PMIC. A short press of the switch when the system is running generates an interrupt to the SoC from the PMIC, causing a soft power off with a graceful system shutdown. A long hold (16 secs according to the AXP803 PMIC datasheet) forces the PMIC into a powered-off state, where it just shuts off the power to everything. ... :/c Huh, so... if I use the Gameboy power switch, I'll actually be forcing a hard shutdown instead of the 'graceful' soft shutdown? That sounds like it would be bad? Maybe... if I only turn it off after closing everything it would be okay..? RE: Power switch circuit - Ghost - 01-29-2016 (01-29-2016, 02:02 AM)Gearsoul Wrote:(01-28-2016, 10:21 AM)pine.tree Wrote:(01-28-2016, 09:59 AM)patrickhwood Wrote: I believe the switch that's on the board is actually a momentary contact that's connected to the PMIC. A short press of the switch when the system is running generates an interrupt to the SoC from the PMIC, causing a soft power off with a graceful system shutdown. A long hold (16 secs according to the AXP803 PMIC datasheet) forces the PMIC into a powered-off state, where it just shuts off the power to everything. Ah! This is a good point. I think the Gameboy uses a hard on/off switch rather than a momentary power switch. But we will figure out a solution to this, no worries RE: Power switch circuit - joe - 01-29-2016 (01-29-2016, 02:02 AM)Gearsoul Wrote:(01-28-2016, 10:21 AM)pine.tree Wrote:(01-28-2016, 09:59 AM)patrickhwood Wrote: I believe the switch that's on the board is actually a momentary contact that's connected to the PMIC. A short press of the switch when the system is running generates an interrupt to the SoC from the PMIC, causing a soft power off with a graceful system shutdown. A long hold (16 secs according to the AXP803 PMIC datasheet) forces the PMIC into a powered-off state, where it just shuts off the power to everything. Hardware maybe this pine64 have not shutdown , but software android have . https://play.google.com/store/search?q=shutdown&c=apps For Linux , have command set time to shutdown your pine64 and mouse can shutdown your pine64 , this is not problem RE: Power switch circuit - Gearsoul - 01-29-2016 ... How big is the connector area? Even though the switch seems to have a hard, 'one or the other' feel to it, feeling it out on my Gameboy you *can* actually slide it carefully to sit in the middle... Though it requires a lot more 'effort' to not simply click it into place. Perhaps if the button weren't so snugly in place it would be easier to make use of a momentary contact? Of course this could lead to other problems if not done correctly. RE: Power switch circuit - Ghost - 01-29-2016 (01-29-2016, 06:03 AM)Gearsoul Wrote: ... How big is the connector area? Unfortunately, the Gameboy doesn't recognise that middle setting as anything. It will only ever be on or off. It doesn't mean we can't modify the switch, though. It's a small issue. Like joe says (thanks joe), power shutdown can be accomplished by software, but our aim is to have an emulator that boots straight into the emulator and uses only the face buttons of the Gameboy to function. So we do not want (ultimately) to be encumbered with things like mice and keyboards... RE: Power switch circuit - Gearsoul - 01-29-2016 Indeed! I had though perhaps if the switch could be partially slid it could be clicked into place to make the shutdown contact and then slid to the middle to avoid a hard shut down and avoid the on switch portion of contact. RE: Power switch circuit - Ghost - 01-29-2016 (01-29-2016, 06:38 AM)Gearsoul Wrote: Indeed! Yes, that would probably work, but it would hardly be ideal having to fiddle with the switch to find that middle position. Better perhaps to replace the original switch with a similarly sized and shaped momentary version... RE: Power switch circuit - janjwerner - 03-06-2016 I was recycling some home appliances and found some tactile switches. Found a new home for them - Pine Pressing power button for 15 seconds do hard power off, short press of power currently does nothing under Linux (investigating now), reset works just as intended. Heatsinks are from RPi, they are bit small, still better than nothing. RE: Power switch circuit - MichaelMeissner - 03-06-2016 From the picture, it looks like this Adafruit tactile switch (https://www.adafruit.com/products/1489). Pololu.com also sells a similar tactile switch: https://www.pololu.com/product/1400. I'm sure you can find these cheaper elsewhere, but if you are ordering things from Adafruit or Pololu, consider adding a pack of these to your next order. |