Home / Tutorials / Arduino Tutorial (page 2)

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!

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

Plants need more than water to grow well. They also need nutrients in the soil, especially nitrogen, phosphorus, and potassium. These three nutrients are often shortened to NPK, which is why this type of soil nutrient probe is commonly called an NPK sensor. In this tutorial, you will learn how …

Read More »

Arduino Simulation in Proteus ISIS

Arduino simulation model UNO version

Labcenter Electronics’ Proteus has become an indispensable tool for engineers as it offers not only schematic and PCB design but also real-time simulation. However, Arduino simulation is not supported by this application by default. This tutorial will show you how to simulate an Arduino with Proteus ISIS.

Read More »

Arduino Programming: Ternary Operator

nested-ternary-arduino-circuit

If your Arduino code involves decision-making, then it's very likely you're using conditional statements. Using if ... else... is common;  switch statements as well. But there is a third way, using ternary operator, that will really make your code shorter.   Example Scenario Say we are reading the state of …

Read More »