Component Creation Help

To Pull-up or not to Pull-up?

To Pull-up or not to Pull-up?

by James Koerlin -
Number of replies: 1

Mark,

I see you have added an external pullup of 47k to the switch as well as the rotary encoder.  I have always used the processor's internal pullup in my projects.  What is the advantage of the external pullup?  The Pico has internal pullups.  Could we not just use these?


In reply to James Koerlin

Re: To Pull-up or not to Pull-up?

by Henri Kemppainen -
External pull-ups give you more control over how fast the capacitor charges. The internal ones are 50k to 80k which is close enough to the value used here that it'd probably work ok.

Mark also pointed out that throwing some "extra" resistors in gives you more points at which you can tweak the circuit and fix design issues that slipped by. You can always remove a resistor, change its value, swap it for a 0-ohm, or even solder a wire to another voltage source or ground in case you made a mistake in the schema. So having these resistors might not hurt, even if they're not strictly required. (We had this discussion regarding pull-ups on BOOTSEL and RESET, and maybe elsewhere too)