This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Decrease I/O Pull up current consumption

Hello,

I found this on the forum:

According to nRF51822 PS v3.1 section 8.23 pullup and pulldown resistors have a typical value of 13kohm. if you have e.g. a button that connects a certain pin to ground when pressed, and the pin is configured as input with pullup, and you have supply power of 3.0 volts for the nRF51, then the current consumption is 3/13k = 230uA when the button is pressed.

Now my question is what would be the highest possible pull up resistor value for the I/O to still be detected?

I tried using a 10M, 1M and 470K ohm resistor for external pull up with the internal pull up disabled but then the I/O change event is not detected. I want to reduce the current consumption of 230uA would be to high for my application.

Thanks!

Parents
  • I can't see why that would happen. Perhaps at 10M but 470K? You have VCC, the your pullup resistor, then the pin, then the switch and then ground right? So when you press the switch you must absolutely be grounding the pin, it's a direct connection, it must be at 0V. So the only way you wouldn't be detecting an event is if the switch is open and the voltage doesn't rise enough to register a logic-'1'. For that to happen, the resistance to GND of the GPIO input would have to be lower than about 1M at 470K pullup. I find it hard to believe it's anywhere near that low. Sure you have the pin configured correctly as input, connected etc? What does a meter measure the voltage at with the switch open (and closed which must be 0V)?

Reply
  • I can't see why that would happen. Perhaps at 10M but 470K? You have VCC, the your pullup resistor, then the pin, then the switch and then ground right? So when you press the switch you must absolutely be grounding the pin, it's a direct connection, it must be at 0V. So the only way you wouldn't be detecting an event is if the switch is open and the voltage doesn't rise enough to register a logic-'1'. For that to happen, the resistance to GND of the GPIO input would have to be lower than about 1M at 470K pullup. I find it hard to believe it's anywhere near that low. Sure you have the pin configured correctly as input, connected etc? What does a meter measure the voltage at with the switch open (and closed which must be 0V)?

Children
No Data
Related