please dont rip this site

Power start and pushbutton input with uC shutdown

Push to start (SPST), uP keeps alive then shuts down, AND can monitor switch

Ken Webster submitted this circuit

The PNP transistors may be 2N3906 or similar.

The [sense input] will be at Vdd when the pushbutton is pressed (and the circuit is powered, of course) and will be at GND otherwise.

The [power control output] is raised to Vdd to hold the power on and dropped to GND to shut the circuit down (MOSFET must be a logic-level enhancement mode device)

Note that PNP #1 will have its base-emitter junction reverse-biased by (Vdd - VBE[Q2] - Vbattery+) when the circuit is powered and the pushbutton is released. This is ok since most transistors have a BVEBO of 6 to 8 volts.

Erik Reikes of Xsilogy, Inc. says:

If you went [with a dual pole switch], I don't think you'd need all the transistors and stuff. Just have 5V routed to the other pole (actually it would have to be dual pole, dual throw... do they make pushbuttons like that?) wired so that when it is released it closes a circuit to a PIC input pin. This way you use only 1 DPDT pushbutton, one FET, and two PIC IO pins. One IO to drive the FET and one to sense the fact that the button has been released.

Or, better yet I just thought if you use DPST you could have a pull up on the 'button down' side when it is released you lose a voltage to the PIC. Yes, that's better. You wire 5 volts to the other pole of the switch, and the closed circuit supplies voltage to a PIC input pin with a pull down. When it is released voila 0 volts (or the other way, use ground and a pull up at the PIC, whichever seems best.).


file: /Techref/power/pushon.htm, 2KB, , updated: 2009/10/1 14:45, local time: 2024/12/22 12:51,
TOP NEW HELP FIND: 
3.145.70.108:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://sxlist.com/Techref/power/pushon.htm"> Power start and pushbutton input with uC shutdown</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to sxlist.com!


Site supported by
sales, advertizing,
& kind contributors
just like you!

Please don't rip/copy
(here's why

Copies of the site on CD
are available at minimal cost.
 

Welcome to sxlist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .