Tutorials

The Makers Workbench

Tutorials

Step-by-step guides for wiring, programming, and understanding the hardware you build with. Start with a platform below, or browse every tutorial in one place.

Browse by platform

Raspberry Pi & More Tutorials

Single-board computers and the wider microcontroller ecosystem.

Raspberry Pi archive
The full library

All Tutorials

Every published tutorial on The Makers Workbench, newest first.

DIY Electronics

How to Control a Relay Module with an ESP32

Learn how a relay works, how to read COM, NO, and NC, whether a 5 V relay module will work with the ESP32's 3.3 V pins, and how to switch a 12 V fan with timers and hysteresis, with a full bill of materials and troubleshooting guide.

Arduino

Using AI Models With Arduino App Lab

How App Lab runs AI on the UNO Q Linux side as Bricks or Python, why the microcontroller never executes the model, and how to send a small result over the Bridge to a pin.

Arduino

How to Program Arduino From a Chromebook

How to write, save, and upload Arduino sketches from a Chromebook using Arduino Cloud and the Chromebook app, which boards work, how USB fits in, and what you give up compared with Windows, macOS, or Linux.

Arduino

Arduino Cloud: The Complete Guide

What Arduino Cloud is, how Things, variables, dashboards, triggers, and OTA fit together, how the Cloud Editor compares to Arduino IDE 2, and a first project that puts a sensor on a dashboard.

Arduino

How to Build an Arduino CI/CD Pipeline

How to turn Arduino CLI compile checks into a small pipeline: compile on pull requests, save hex artifacts, optionally lint, and keep flashing boards as a local or tagged-release step, not something GitHub-hosted runners can do without hardware.

Arduino

Using the MicroPython REPL on Arduino

How to use MicroPython's Read-Eval-Print Loop in Arduino Lab: live lines, paste mode, Stop, soft reset, and why REPL experiments are not the same as a main.py you can reboot.

Arduino

Arduino C++ vs MicroPython

A practical comparison of Arduino C++ and MicroPython on Arduino boards: compiled vs interpreted, speed, memory, how fast you can try an idea, the REPL, libraries, debugging, hardware access, and which one is easier when you are new.

Arduino

How to Move From Arduino IDE 1.8 to Arduino IDE 2

How to install Arduino IDE 2 beside 1.8.19, keep your sketchbook and libraries, reinstall cores if needed, find Serial Monitor and Board Manager in the new window, and only uninstall 1.8 when a project compiles and uploads in 2.

Keep exploring

Other Content You Might Like

Recent projects, tutorials, news, reviews, and ideas from the rest of The Makers Workbench.

Complete archive

Tutorials Archive

Browse every published item in this section.

Tutorial

How To Use Amazon Alexa To Control The LinkNode R4 ESP8266 4-Channel Relay Board

Control an ESP8266 With Amazon Alexa! Over the last year or so I have became captivated with anything and everything ESP8266 related, and rightfully so. This little WiFi module is everything I have been hoping for in a development board for years. It’s small and compact, and has built in WiFi, as well as several G...
Tutorial

Raspberry Pi Basics: Installing The Latest Version of Raspbian onto a SD Card

Installing Raspbian To An SD Card Welcome back to another installment of The Workbench . In this episode I walk you through the process of installing the latest version of Raspbian onto an SD card for use with a Raspberry Pi. This is the first episode in a series of videos in which I cover the basics of getting a Ra...
Tutorial

Use NirCMD To Change Default Audio Device in Windows on Startup

Use NirCMD to reset your PC's default audio device on startup. For the last seven months or so, I have been having issues with my main PC resetting its default audio device to my headset when I reboot. I am told that this issue stems from something in the Windows 10 registry being updated when I installed the driver...
Tutorial

Triggering a servo using an HC-SR04 distance sensor and an Arduino

Trigger A Servo With A Ping Sensor This weeks tutorial revisits some of our past experiences with the HC-SR04 Ultrasonic sensor, and adds in a new element, the Servo! I decided to write up this tutorial as a resource for the students in my Young Makers class to follow in a project they are currently working on.
Tutorial
Project

DIY Meade 505 Telescope to PC Cable

Most of my readers here will be surprised to learn that I am an avid amateur astronomer. I spend every chance I get under the stars taking in the amazing views that can be seen from my 10" Meade LXD-55 Schmidt Newtonian. With my background in photography, it should come as no surprise that I have shifted more into a...
Tutorial
Project

Reading Liquid Flow Rate with an Arduino.

Tutorial Type: Arduino Tutorial Difficulty Difficulty Level 2 Parts Required Arduino Water Flow Meter 10k Resistor Breadboard Jumper Wires Tools Required This i
Tutorial
Project

Reading PC Fan RPM with an Arduino

Today we are going to learn how to read the RPM of a PC Fan. This also works well for the Water Pumps used in PC Water Cooling as well as any dc pump or fan that has a rotation sense wire. This is accomplished by counting the falling edge of the square wave generated by the Hall effect sensor that is located inside ...
Tutorial
Project

Tutorial: Cheap 9 Component Theremin

Build a light-sensitive pocket theremin from two 555 timer ICs, two photocells, and only a handful of other components.