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

See also:


file: /Techref/power/pushon.htm, 2KB, , updated: 2009/10/1 14:45, local time: 2017/11/18 22:59,
TOP NEW HELP FIND: 
54.81.195.240:LOG IN

 ©2017 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://www.piclist.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 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?

  PICList 2017 contributors:
o List host: MIT, Site host massmind.org, Top posters @20171118 RussellMc, Van Horn, David, James Cameron, Sean Breheny, alan.b.pearce, IVP, Neil, David C Brown, Bob Blick, Denny Esterline,
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
 

Welcome to www.piclist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .