Physical computing – pushbutton tutorials
On/Off, auto-off, cycle-modes, short or long-press
You’ll learn how to control anything with a single pushbutton. How to code for using momentary switches with Arduino. Four fundamental principles you always wanted to have explained in detail.
While the electronic circuit is usually very straightforward, the “magic” in physical computing projects happens always in the code. So, please see the GitHub link to the BOM, the schematic, and extensively commented code that you can easily adapt and recycle in your own projects. Often, there’s a useful code concept or code snippet that you can use for an entirely different design, because it’s a fundamental principle.
If you want to learn about good soldering, this seven minute vintage video is still the best of them all.