Home / Tutorials / Arduino Tutorial

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!

How to Use the PT100 RTD with Arduino Cloud

Using a PT100 RTD (Resistance Temperature Detector) with an Arduino and connecting it to the Arduino IoT Cloud via Wi-Fi allows you to remotely monitor temperatures with high accuracy and reliability. In this tutorial, we’ll walk you through the process of setting up your PT100 sensor with an Arduino that …

Read More »

Binary Search and Its Application on Arduino

Binary search is an efficient search algorithm that is particularly useful for finding elements in a sorted array. In comparison to linear search, which goes through each element one by one, binary search dramatically reduces the number of comparisons by dividing the search interval in half repeatedly. This is especially …

Read More »

Arduino RS-485 Protocol Tutorial

RS485-TTL-Module

RS-485 is a popular serial communication standard used in industrial control systems, automation, and other applications where long-distance communication is required. Unlike RS-232, RS-485 uses differential signaling, which makes it more robust to noise and interference, making it ideal for industrial environments. Moreover, RS-485 supports multi-device communication on the same …

Read More »

Creating Tones with Arduino

Arduino Tones

One of the fun and engaging projects with Arduino is creating tones using a piezo buzzer. You can generate simple beeps, melodic tunes, or even popular themes like the Super Mario theme song. In this tutorial, we’ll explore how to generate tones, work with melodies, and build a simple sound …

Read More »

Converting Between Data Types in Arduino

Arduino data types

When writing code for Arduino, you’ll often need to convert between different data types. This guide will show you how to easily convert between the most common data types. We’ll break it down with clear examples and easy-to-read tables to make it simple to follow. Why Convert Data Types? Sometimes, …

Read More »

Arduino Interfacing with MLX90614 (GY-906) Sensor

Arduino MLX90614

The MLX90614 is a really cool infrared thermometer sensor that can measure temperature without even touching an object. It works by detecting infrared radiation (heat) emitted by an object and converting it into a temperature reading. This makes it perfect for projects where you want to measure temperature from a …

Read More »

Implementing PID for a Line Follower Robot

  A PID controller is a must-have for any control system aiming for stability. I’ve introduced how to implement PID using an Arduino microcontroller. Now, I’ll be applying PID in the design of a beginner robot project, a line follower. A line follower does what it’s named after. An optical …

Read More »

How to Use a LED Bar Graph with Arduino

In this tutorial, we will look into adding LED bar graphs to your Arduino projects. Understanding how to effectively use Arduino LED bar graphs opens up possibilities for visualizing data, creating dynamic displays, or simply adding an eye-catching element to your projects. Throughout this guide, I will show you how …

Read More »

Using an NPK Sensor with Arduino

arduino NPK sensor wiring diagram

We’ve featured in a previous project how we can make a “plant” send messages when it needs more water. Of course, healthy plants don’t only need water; the soil in which they are planted must also be abundant in a number of chemicals. Is there a sensor that does this?

Read More »