Microcontrollersš
A microcontroller is a tiny computer that runs one program and connects straight to circuits through its pins. This topic uses an Arduino Uno to go from an empty board to a project that measures temperature and shows the result on a row of LEDs.
The articles assume the basics of voltage, current, and resistance from Circuit Foundations, and no coding background: the code is introduced a line at a time.
1. Meet the Boardš
- What Is an Arduino? ā what's on the board, what a microcontroller is, and how to read your first sketch
- Digital Pins ā how a pin drives an LED and reads a button, and why each pin needs a resistor
2. Outputs and Inputsš
- Blink an LED ā your first complete build, from wiring to code running on the chip
- Pull-up and Pull-down Resistors ā giving an input a steady resting state so a button reads reliably
3. Measuring the Worldš
- Reading an Analog Sensor ā measuring a voltage between the extremes, with a temperature sensor and
analogRead() - Building a Threshold Ladder ā turning one reading into staged, at-a-glance LED output
What You'll Needš
An Arduino Uno (or a compatible board) and its USB cable, a breadboard, a few LEDs, resistors, and pushbuttons from any starter kit, and arduino-cli to load the code.
Where to Startš
Start with What Is an Arduino?. If you want something running in the next ten minutes, jump to Blink an LED and come back for the why.