PINE64
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)

Pages: 1 2 3 4 5


RE: Power switch circuit - pfeerick - 06-03-2016

(06-02-2016, 08:05 PM)janjwerner Wrote:
(06-02-2016, 03:26 PM)g_t_j Wrote: Can anyone please post photos (or a video even better) showing how the power button should be soldered on the board?

Excuse the poor quality of pics and terrible quality of soldering:
https://i.imgsafe.org/0e5a3712dd.jpg
https://i.imgsafe.org/0e5a295390.jpg
https://i.imgsafe.org/0e5a2478b7.jpg

They're on and working... what's the problem?  Tongue 

The two holes nearest the edge of the board are indeed the contacts for the switch, and the two bigger wider spaced holes further back are the supports for side mount tactile switch supplied. And if you loose the one supplied, you can always buy them from ebay - $5.40 for 55 - so plenty to spare!  Big Grin

Or even better... 10 for US $1.19... a more reasonable number!


RE: Power switch circuit - MokaMx_GDL_DE - 07-05-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?

So... the on/off switch of the classic Gameboy serves this purpose, and no additional component is needed to make use of on/off functionality?

Yes, the physical switch where you can turn on / off the Pine.
Currently on the board, there are connections for it, but no physical switch soldered on.

It was supposed to come as a stretch goal reward but there were some people who were negative about having the switch, thus it is now dangling in the air.

I don't see why they cannot have the switch there, and just leave it in the 'on' position if they do not want to use it?
I would love to see the switch there, so that I can turn on/off the Pine as and when I want, rather than pulling the power cable off...  Big Grin

I definitely agree. A switch would be great, i would love not to have to pull out cords or something, just a little flick of a switch is what i would prefer. If Pine decides not to include a power switch, you can always take a broken flashlight apart and use the click switch Tongue

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.

Pressing the power button when the board is off powers on the PMIC, which powers up all the devices on the board.
I found this quiet tricky.. the switch is actually to turn on more like a reset. if you are running on the system with an OS then you do not want to have a off switch that corrupt the OS. when connect the power the board automatically turn on. but if you shout down the system from the OS. you do not need an off switch. you only need the button to turn on the system after you shutdown from the OS.!!! this is working. beside this would be more secure to switch the power supply off to avoid any power during attaching or handling the board an connections.


Power switch circuit - bonterra - 07-05-2016

(07-05-2016, 07:00 AM)MokaMx_GDL_DE Wrote: I found this quiet tricky.. the switch is actually to turn on more like a reset. if you are running on the system with an OS then you do not want to have a off switch that corrupt the OS. when connect the power the board automatically turn on. but if you shout down the system from the OS. you do not need an off switch. you only need the button to turn on the system after you shutdown from the OS.!!! this is working. beside this would be more secure to switch the power supply off to avoid any power during attaching or handling the board an connections.

Why not have the button send a shutdown signal to the OS, like any other modern OS?

Just about every computer will send a soft shutdown signal (to the OS) on a short press and a hard shutdown signal on a long press.


RE: Power switch circuit - tampadave - 09-19-2016

(06-02-2016, 08:05 PM)janjwerner Wrote:
(06-02-2016, 03:26 PM)g_t_j Wrote: Can anyone please post photos (or a video even better) showing how the power button should be soldered on the board?

Excuse the poor quality of pics and terrible quality of soldering:
https://i.imgsafe.org/0e5a3712dd.jpg
https://i.imgsafe.org/0e5a295390.jpg
https://i.imgsafe.org/0e5a2478b7.jpg

Just FYI: these are 404 for me.  "Not Found."

I ordered the 2G board, and the site said two weeks lead time, but it came in two days.  Guess the two week lead is for out of stock kit.  Nice!  Now for the hard part.... clearing my work space, which has for too long been permanent, temporary storage, for stuff I do not need, but is too good to toss.  This might take a while...

David