Skip to main content

During a meeting for a particular project I was asked to think about the way to detect a push on a button with a MCU. The detection should be the lessconsume as little power consumingas possible. At the first glance, I thought the typical circuit with a pull-up or a pull-down :

schematic

simulate this circuit – Schematic created using CircuitLab

I don't take in countaccount for some anti-bounce features here, itas that is not the subjectbeyond this question's scope. In either case, when the button is pushed, the total current value that flows depends on the resistor value. To minimize it (the current), I could increase the resistor value but not so much since, if I am right, it also depends on the input pin leakage value. Plus, a large resistor would recover slowly.

My question is the following one : what are the smart ways to detect a button pressed that doesn't consume power -(typically for a high power consuming application)  ? Are there any methods that are barely 0 power consuming-consuming when the button is pressed  ?

During a meeting for a particular project I was asked to think about the way to detect a push on a button with a MCU. The detection should be the less power consuming possible. At the first glance, I thought the typical circuit with a pull-up or a pull-down :

schematic

simulate this circuit – Schematic created using CircuitLab

I don't take in count some anti-bounce features here, it is not the subject. In either case, when the button is pushed, the total current value that flows depends on the resistor value. To minimize it (the current), I could increase the resistor value but not so much since, if I am right, it also depends on the input pin leakage value. Plus, a large resistor would recover slowly.

My question is the following one : what are the smart ways to detect a button pressed that doesn't consume power -typically for a high power consuming application)  ? Are there any methods that are barely 0 power consuming when the button is pressed  ?

During a meeting for a particular project I was asked to think about the way to detect a push on a button with a MCU. The detection should consume as little power as possible. At the first glance, I thought the typical circuit with a pull-up or a pull-down :

schematic

simulate this circuit – Schematic created using CircuitLab

I don't account for some anti-bounce features here, as that is beyond this question's scope. In either case, when the button is pushed, the total current value that flows depends on the resistor value. To minimize it (the current), I could increase the resistor value but not so much since, if I am right, it also depends on the input pin leakage value. Plus, a large resistor would recover slowly.

My question is the following one : what are the smart ways to detect a button pressed that doesn't consume power (typically for a high power consuming application)? Are there any methods that are barely power-consuming when the button is pressed?

Tweeted twitter.com/StackElectronix/status/940590310010343425
Source Link
vionyst
  • 866
  • 2
  • 9
  • 16

Smart ways to detect a button (less power consuming)

During a meeting for a particular project I was asked to think about the way to detect a push on a button with a MCU. The detection should be the less power consuming possible. At the first glance, I thought the typical circuit with a pull-up or a pull-down :

schematic

simulate this circuit – Schematic created using CircuitLab

I don't take in count some anti-bounce features here, it is not the subject. In either case, when the button is pushed, the total current value that flows depends on the resistor value. To minimize it (the current), I could increase the resistor value but not so much since, if I am right, it also depends on the input pin leakage value. Plus, a large resistor would recover slowly.

My question is the following one : what are the smart ways to detect a button pressed that doesn't consume power -typically for a high power consuming application) ? Are there any methods that are barely 0 power consuming when the button is pressed ?