PaxInstruments / t400-electronics

Electronics for the Pax Instruments T400 temperature datalogger
20 stars 9 forks source link

New soft power circuit #134

Closed samchoy88 closed 9 years ago

samchoy88 commented 9 years ago

I would like to implement the following soft power circuit and solve below issue:

image

I choose NAND gate instead of OR gate and made all input pulled up by 10K resistor. image

charlespax commented 9 years ago

My only concern is pullup resistor on PWR_ONOFF is drawing 0.33 mA while the device is on. I suppose that's not a very large number. What is maximum practical value of that pullup resistor?

Here's what the power on sequence looks.

A   B   Y
H   H   L   <-- SW_PWR is not pressed, device is off. Device if off.
H   L   H   <-- SW_PWR is pressed, device is off. User presses and holds the power button.
L   L   H   <-- SW_PWR is pressed, device is on. Device boots up and enables power. User is still holding power button.
L   H   H   <-- SW_PWR is not pressed, device is on. User releases power button.
samchoy88 commented 9 years ago

I think it can be 100K for pull up, as it only connect a logic which has high input impedance.

charlespax commented 9 years ago

Cool. Let's make that change in Electronics version 0.10.

charlespax commented 9 years ago

Done. Closing issue. screen shot 2015-01-17 at 02 09 17