Power switch circuit
#41
(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!
  Reply
#42
(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.
  Reply
#43
(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.
Backer #16374 - KS funded January 23rd 2016 - Backerkit funded on March 10th 2016 - BOARD RECEIVED ON JUNE 29th - BACKERKIT ORDER FULFILLED ON SEPT 8th
  Reply
#44
(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
David, the lip smacking pirate hedgehog.  "SHIVER me timbers!"  
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Z-Wave - Full and Low Power Inclusion mode B34N 1 4,697 03-26-2017, 06:03 PM
Last Post: B34N
  Power Supply for Pine a64 (2GB) Pip19083 1 4,912 01-22-2017, 01:32 PM
Last Post: Luke
  Low power headless operation? rubenk 9 17,040 01-05-2017, 12:37 AM
Last Post: swinging
  Power Off / Reset Buttons - DietPi casmiguefl 4 9,322 08-12-2016, 05:28 PM
Last Post: casmiguefl
  power Circuit polo 28 46,564 07-01-2016, 07:06 PM
Last Post: pfeerick
  Power over Ethernet (PoE) WLR 1 6,312 02-10-2016, 07:14 PM
Last Post: tllim
  USB HDD Power eender 5 10,562 02-06-2016, 09:30 PM
Last Post: blktiger

Forum Jump:


Users browsing this thread: 2 Guest(s)