Home / Tutorials / Arduino Tutorial (page 4)

Arduino Tutorial

Arduino tutorials

A collection of Arduino tutorial articles, from newest to oldest. These tutorials are compiled from personal to paid projects and university lectures. See Arduino Tutorials page if you want to learn from basics to advanced.

The Arduino simplifies microcontroller programming through easy to use code, software and hardware. The best way to learn Arduino is by building projects so start by trying these Arduino tutorials and improve them!

Interrupt Tutorial II - Arduino Timer Interrupt

Arduino Timer Interrupt

On my previous Arduino Interrupt tutorial, I showed how to use the external and pin change interrupts for the ATMega328p-based Arduinos. There, I showed an example where pressing a button halts the normal program execution any time and serves another routine (Interrupt Service Routine or ISR). In this article, we’ll …

Read More »

Arduino Interrupt Tutorial

Arduino Interrupt A0 Pin Change Example

An interrupt, in microcontroller context, is a signal that temporarily stops what the CPU is currently working at. Programming using interrupts is very different from the usual top-to-bottom sequence in an Arduino program and thus can be confusing for some. This article aims to introduce how an interrupt works and …

Read More »

Arduino RGB LED Tutorial

arduino rgb led tutorial

A RGB LED is a special light emitting diode which can produce 16 million possible colors, all by combining the colors red, green and blue in varying intensities. This tutorial will show you how to use a RGB LED with Arduino. Introduction to RGB LEDs RGB LEDs typically have four …

Read More »

Using an Arduino Turbidity Sensor

Turbidity refers to the haziness of a fluid caused by the increased number of very tiny particles which, individually, is invisible to us. Moreover, turbidity measurement is important in testing the quality of water. This Arduino turbidity sensor tutorial provides a guide on how to implement this setup using a …

Read More »

How to Use a Microphone with Arduino

arduino microphone

How can an Arduino capture sound? Just like how your computer captures sound: through a microphone. In this Arduino microphone tutorial, we’ll look at how a sound sensor works. Also, we’ll build a simple clap switch project as an example on how to use a microphone with Arduino.

Read More »

How to Use I2C LCD with Arduino

Arduino I2C LCD Backpack

The classic parallel LCD sometimes post a problem for projects that use a lot of Arduino pins. The least amount of pins you can use is six, excluding the power pins and the potentiometer contrast adjust (optional) pin. Thankfully, by using an I2C LCD "backpack", the pin use can be …

Read More »

Arduino BMP085 Tutorial

The BMP085 is a relatively cheap barometric pressure sensor from Bosch. I believe this sensor is kinda old (no information about this device is found on the Bosch site) and yet it’s still used today because of its simplicity. This Arduino BMP085 tutorial covers the basics of using this device …

Read More »

Vibration Sensor Tutorial

SW-420 Vibration Sensor breakout board

Vibrations can be an indicator that trouble is coming. It can be your machine going haywire, a gear on a robot missing a teeth, or worse, a looming earthquake! In this vibration sensor tutorial, we will look at how to detect vibrations using especially designed sensors and an Arduino microcontroller.

Read More »

Arduino Relay Module Tutorial

Arduino Relay module

A relay is commonly used to interface a low-current circuit to a higher-current circuit. As such, it’s very useful in controlling appliances and other mains-powered devices using microcontrollers. In this Arduino relay tutorial, I will show you how to use a relay with microcontrollers.

Read More »