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!

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 sensor …

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 »

What is meant by “packed” in Embedded C programming?

attribute packed

In embedded C programming, “packed” refers to a method of organizing data in memory where there are no empty spaces or padding between the data elements. When data is packed, it’s placed right next to each other without any additional room, which can help save memory space. 

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 »

Unleash the Potential of the Internet: 10 Essential IoT Starter Kits to Kickstart Your Journey

End your search for the ultimate, cost-effective IoT starter kits designed to help you construct innovative IoT solutions. With these exceptional smart device kits, your journey into the world of IoT begins here. The Internet of Things (IoT) represents the future of technology, a sector poised to attract billions of …

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 »