Skip to content

LIBRARY

LEARN

Short explainers from Wire Lion members.

How does an Arduino read a button?

Engineering 201 · Pull-up resistor circuit

A 50-second animated walkthrough of how a 10 kΩ pull-up resistor gives an Arduino input a reference voltage: why released reads HIGH, pressed reads LOW, and why a floating pin picks up noise.

CHAPTERS

  1. 01 / Give the input a reference
  2. 02 / Pressing means LOW
  3. 03 / Fields are fast. Drift is slow.
  4. 04 / A floating trace can pick up fields
  5. 06 / One button. Two clear states.
BEGINNERARDUINOPULL-UPDIGITAL INPUT

Created by Matthew Barker