Mastering Arduino

Complete archive

Mastering Arduino Archive

Browse every published item in this section.

Mastery Series

Mastering Arduino Part 12: I2C, Addressing a Bus

Learn how I2C shares two wires among many devices: open-drain lines and pull-ups, 7-bit addresses, the Wire library, scanning for devices, and putting two on one bus.
Mastery Series

Mastering Arduino Part 6: Digital I/O You Can Trust

Part 6 of the Arduino Mastery Series: why a mechanical button chatters, how pull-up and pull-down resistors work, and a tunable two-button counter project that debounces both the hard way and the easy way, for real this time.
Mastery Series

Mastering Arduino Part 5: Arrays, Strings, and Data in C++

Part 5 of the Arduino Mastery Series: how arrays store more than one value under a single name, how a C-string differs from Arduino's String class, and a serial-controlled LED chase project that puts real data types to work.