Further Arduino Tutorials

The Arduino for Beginners course introduces the fundamentals of Arduino programming. Here you can explore more independent, detailed and advanced tutorials and guides.

You do not need to follow them in a particular order. Choose the guide that matches your interests or the project you are working on.

Arduino development board with sensors, signal waveforms, a rotary encoder, shift register and watchdog symbols

Arduino serial communication

Learn the basics of serial data transfer on Arduino, from setting up the serial port to sending and receiving data. The Serial Monitor also helps you check your programs and track down problems.

Explore serial communication →

Arduino and the I²C/TWI protocol

The I²C/TWI bus lets several sensors and peripherals share the same two signal lines. This tutorial explains how the bus works, what device addresses are and how to get started with Arduino’s Wire library.

Explore the I²C/TWI tutorial →

Arduino SPI – Serial Peripheral Interface

SPI is a fast, synchronous communication interface used by many displays, memory devices and other peripherals. Get to know its signal lines, the relationship between controller and peripherals, and the basics of connecting more than one device.

Explore the SPI tutorial →

Arduino 1-Wire communication protocol

The 1-Wire bus can handle multiple devices, each with its own unique address, over a single data line. This guide covers how communication works, how devices are identified and the essentials of using 1-Wire with Arduino.

Explore the 1-Wire tutorial →

Arduino interrupts

Learn how external interrupts work, how to use the Arduino interrupt API and why interrupt service routines should be short and safe. A practical example shows how to process signals from a rotary encoder.

Explore the interrupts tutorial →

Arduino DallasTemperature library

The DallasTemperature library makes it easier to discover, address, configure and read DS18B20 and other supported 1-Wire temperature sensors.

Explore the DallasTemperature tutorial →

Short and long button presses with Arduino

Find out how to tell a short button press from a long one and assign a different action to each. The examples have been tested on an Arduino Uno.

Explore the button press tutorial →

Dynamic Arduino LCD menu

Build a menu controlled by four pushbuttons on an Arduino Uno. In the tested 20×4 and 16×2 LCD examples, you switch the built-in LED, adjust the brightness of another LED and then add your own menu item.

Explore the LCD menu tutorial →

Arduino Watchdog

The Watchdog is a hardware timer that monitors program execution and can restart the microcontroller when necessary. This tutorial explains how to use the AVR Watchdog safely on ATmega328P-based Arduino boards.

Explore the Watchdog tutorial →

Arduino special inputs and outputs

With tone(), pulseIn(), pulseInLong(), shiftIn() and shiftOut(), you can generate a sound, measure pulse length, and send or receive bits using a software-controlled clock.

Explore special inputs and outputs →

ESP32 pinout – what is each pin for?

Learn which GPIO pins on the classic ESP32 can be used as inputs or outputs, which are reserved for flash memory and which need extra care during startup. The guide also helps you choose pins for UART, I²C, SPI, ADC, DAC and other functions.

Explore the ESP32 GPIO guide →

Saving energy with ESP32 sleep modes

Depending on its operating mode, the ESP32 can consume a considerable amount of power. This may matter little when it is plugged into a wall outlet, but battery-powered projects benefit from reducing consumption to extend battery life.

Explore the ESP32 power-saving guide →

ESP32 intelligent Wi-Fi roaming and MQTT communication

Explore an ESP32 Wi-Fi client that scans for available networks and selects the access point offering the better connection among those sharing the same SSID.

Explore intelligent Wi-Fi roaming →

ESP32 asynchronous web server

Discover how an ESP32 asynchronous web server works through practical examples. Alongside the earlier sketches, you will find a modern solution that has been tested in practice.

Explore the asynchronous web server tutorial →

ESP32 Web Updater and file manager

Manage files and update firmware through an ESP32 web interface in your browser. Alongside the earlier SPIFFS example, you can explore a version based on LittleFS.

Explore web updates and file management →

ESP32 asynchronous web server – jQuery AJAX

Use jQuery and AJAX to display readings from an LDR without reloading the page, and control an LED from your browser.

Explore the jQuery/AJAX tutorial →

Instant Pushsafer notifications from ESP32

This Arduino example shows how to send Pushsafer notifications from an ESP32. It is useful when you want to be informed promptly about a device’s status or another event in your project.

ESP32 example using Pushsafer notifications

Explore the Pushsafer example →