All tutorials

Every tutorial on the site, 22 in all. Browse by topic or by tag to narrow them down.

Tutorials

Analog and PWM signals

Use a potentiometer to control an indicator, and learn how analog measurements differ from PWM outputs.

Introduction to Arduino

Upload your first sketch, blink the built-in LED, and use Serial Monitor to see what the board is doing.

Buttons and switches

Wire a button with an internal pull-up, debounce it, and toggle an indicator once per press.

Blinking an LED

Wire a low-current status indicator and blink it without blocking the rest of your program.

Servo motors

Move a lightweight pointer with two buttons while powering a micro servo independently of the controller.

Stepper motors

Move a 5 V 28BYJ-48 with a ULN2003 driver, starting slowly and accounting for missed steps and backlash.

Shift registers

Use a 74HC595 to drive eight low-current indicators with three controller pins.

Transistors

Build a low-side transistor switch, then learn what changes when the load becomes a motor or relay.

Node-RED

Build a temperature reminder with simulated readings, readable debug output, and a rule that does not chatter near its threshold.

Home Assistant

Build and test a door-left-open reminder using two virtual switches before buying any sensors.

MQTT security

Run a loopback-only Mosquitto practice broker, give a sensor and reader different permissions, and test the denied cases.

Using rotary encoders

Decode a mechanical knob’s direction and count complete quadrature cycles without mistaking every bounce for a turn.

Using an RFID module

Read an RC522 tag identifier with correct voltage translation, and understand why a UID is not a secure key.