Arduino: TaskScheduler, no more millis or delay

In this post I am going to talk about TaskScheduler. TaskScheduler are, as the name implies, an object that will allow us to create periodic tasks without having to use millis or conditionals. How do they work? TaskSchedulers are objects to which you can add tasks and they are in charge of executing them from … Read more

Hardware and Software Interruptions in Arduino

One very useful thing I would like to talk about is Interruptions in Arduino. An interruption is a signal of either Hardware or Software that causes our Arduino to exit the main program and execute an indicated function. Before starting with this, there are a number of important considerations to keep in mind: As I … Read more

Pull-up and pull-down resistors on Arduino

Hello, today I bring you a basic tutorial about the pull-up and pull-down resistors, and the INPUT_PULLUP input mode of the Arduino pins. This type of resistance will help your Arduino not be affected by electrical noise and receive errors in your measurements such as false pulsations on a button. What is HIGH, LOW or … Read more

Install Python 3.6+ on Debian 9

Today I bring you an easy method to install python 3.6 or higher on Debian 9, and incidentally solve a couple of problems that arose during this installation. These steps have been tested only in Debian 9, but they will surely be equally compatible with other OS such as Ubuntu or similar. In the case … Read more

Read and write data from EEPROM with Arduino

One of the things that we all ignore many times (I confess that I have ignored it until now), is the EEPROM memory of our Arduino. This memory is not very large, but it has the advantage that it survives the shutdowns of our microcontroller. That is why in this article I will teach you … Read more

Arduino: Basic circuit, bootloader and programming

In this tutorial I am going to teach you how to create a basic Arduino circuit, burn the Bootloader and do the programming directly on the breadboard. This is useful when we want to create circuits using independent ATMega328p, or we simply want to reduce consumption by eliminating extra components. Among the advantages of this … Read more

I2C Master-Master communication with Arduino

Today I bring you a guide on how to make a two-way I2C communication between Arduino. I have recently started tinkering with this protocol because I am interested in a project that I have in mind, and after a few tests I have been able to verify that two Arduino masters can communicate without problems. … Read more