Arduino Delay [Tutorial]

In this tutorial you’ll learn how to properly use the delay() function to add some delay between 2 actions in your Arduino programs. Then, you will discover why using delay() is often not a good idea when you want to make your programs scale, and how to fix that. All right, let’s get started! Why … Read more

Arduino Store Array Into EEPROM

In this tutorial I’ll show you how to store an array into the Arduino EEPROM. First we’ll look at arrays composed of int numbers (2 bytes each), and then we’ll do the same with long numbers (4 bytes each). I strongly advise you to check how to store an int number into EEPROM before reading … Read more

Arduino Fast digitalWrite

So, you’re using the digitalWrite() function in most of your Arduino projects. But you may come to a point when this function is too slow, because you have to use it a lot, and with a high frequency. In this tutorial I’ll show you how to make a fast digitalWrite(), so you can speed up … Read more

Control Arduino from Ubuntu VirtualBox

In this tutorial I’ll show you how to program your Arduino board from an Ubuntu virtual machine, using VirtualBox. For some reasons, you could want to work with Arduino from your Ubuntu guest instead of your Windows 10 host. In this case, you’ll have a few things to configure before it can work. Nothing really … Read more

Arduino Store int into EEPROM

In this tutorial I’m going to show you how to store an Arduino int data type into your EEPROM memory. If you don’t know how to store and read a byte into EEPROM on Arduino, please check out this Arduino EEPROM tutorial first. This tutorial applies to all Arduino boards that have EEPROM Memory, like … Read more

Arduino Standard Firmata Tutorial

This tutorial is an introduction to Arduino Firmata, with a focus on Standard Firmata. First I’ll explain to you when and why to use Firmata for Arduino. After that, you’ll see how to quickly setup Standard Firmata on your Arduino. And then you’ll create a client on your computer to actually communicate and give commands … Read more

Arduino – Compute Duration of an Action

In this tutorial I’ll show you how to compute the duration of a part of code in Arduino. The notion of time/duration is super important when you program, especially on embedded systems like Arduino. Writing a code that takes too much time, and not being able to know it, can lead to severe problems in … Read more

Create Your Own Arduino Library

In this tutorial I’ll show you how to create your own Arduino library. You’ll see, this might be much simpler than you thought! Very simply put, an Arduino library is a bunch of Cpp files that you have to organize in a certain way. Then you import it, use it, and that’s it. Creating an … Read more