Learn

Tutorials and guides for people who like to understand how things work, and to build them. Pick a topic, or browse every tutorial.

New to electronics? Start with Arduino, then an LED and a button. Get to know your parts in the component library.

Electronics and Arduino

Components, sensors, motors and displays, explained with working circuits and code for Arduino boards.

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.

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.

Smart home and IoT

Automate your home with open source software that keeps your data under your control, and secure the network it runs on.

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.

Off-grid power

Generate and store your own electricity.

Amateur radio

Build transceivers and antennas, and learn the code that started it all.

Browse by tag

News

Short items on security, privacy and technology.

All news