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
- 01 / Give the input a reference
- 02 / Pressing means LOW
- 03 / Fields are fast. Drift is slow.
- 04 / A floating trace can pick up fields
- 06 / One button. Two clear states.
BEGINNERARDUINOPULL-UPDIGITAL INPUT
Created by Matthew Barker