AI Fusion Lab, 2.1 Button

Hello Again! I’m wondering why you would have us put a 10 kohms resistor as a pulldown on the button switch when you have it in this line of code : button = Pin(17, mode=Mode.IN, pull=Pull.DOWN).

That’s a great question.

In the code, pull=Pull.DOWN does enable the GPIO’s internal pull-down resistor, which is sufficient for normal button operation in most cases. Therefore, an external 10kΩ pull-down resistor is not strictly necessary.

The reason a 10kΩ pull-down resistor is included in the circuit diagram is mainly as a general hardware design practice. External resistors are typically more stable and offer better noise immunity compared to internal pull-down resistors.

You may choose either approach. We will update our documentation accordingly.