Electronics > Microcontrollers

Suicide MCU with a transistor

(1/4) > >>

Erwin Ried:
Can anyone help me to get a simple circuit to have a push button that turns on a MCU on, and then the MCU enables a digital leg to keep itself on until the program decides to turn off everything?

The same idea seem to work pretty nice with a relay, but not with a npn transistor, maybe I require another transistor to control that transistor?

Thanks in advance

Short Circuit:
https://www.eevblog.com/forum/projects-designs-and-technical-stuff/mosfet-power-switch-with-auto-off/?topicseen

Erwin Ried:
Cool, not so simple as with a relay  :-\

8086:

--- Quote from: Erwin Ried on June 14, 2012, 06:39:12 pm ---Cool, not so simple as with a relay  :-\

--- End quote ---

That's my thread linked above, and actually, it's pretty easy! You can get ICs with both mosfets inside (you need a P and N type) and then just add a couple of resistors and it's done. No more complicated really than doing a relay properly, and total cost for the switch (in my case) was £0.10 (not including button), so cheaper than a relay, too.

Erwin Ried:

--- Quote from: 8086 on June 14, 2012, 06:45:43 pm ---
--- Quote from: Erwin Ried on June 14, 2012, 06:39:12 pm ---Cool, not so simple as with a relay  :-\

--- End quote ---

That's my thread linked above, and actually, it's pretty easy! You can get ICs with both mosfets inside (you need a P and N type) and then just add a couple of resistors and it's done. No more complicated really than doing a relay properly, and total cost for the switch (in my case) was £0.10 (not including button), so cheaper than a relay, too.

--- End quote ---

Can you suggest me an IC? (to buy few in ebay) I wish to use this with an Attiny@3V-4.5V (aa batteries)

Navigation

[0] Message Index

[#] Next page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod