Buttons, Pull-Ups and Debouncing
Read a button reliably, and see why one press can look like five. Pull-ups, active low, edges and bounce, with a toggle and a press counter in the Board Lab.
- Pins as Outputs: Blink a light from a program, then run a row of them. Work out each LED’s resistor, and build a traffic light and a binary counter in the Board Lab.
- Reading Analog Values: Turn a voltage into a number with the analog-to-digital converter. Read a knob, a light sensor and a temperature sensor, and build a thermostat that does not chatter.