Sinking Current of GPIO
Posted: Fri Sep 05, 2025 8:09 am
I want to use a button switch with one switch terminal attached to the 3.3V power pin and the other switch terminal attached to a GPIO as an input pin, to monitor whether the switch is press or not. I was informed that the normal input (sinking) current should be 20mA. How to limit the input current? (If I am not mistaken, the current from the power pin can be as high as mA 400)