Home / Tutorials / Arduino Tutorial

Arduino Tutorial

How the DHT22 Sensor Works

DHT22 Sensor from DFRobot5

The DHT22 temperature and humidity sensor is a common sensor; in fact, there are tons of tutorials out there teaching you how to use it with your Arduino, Raspberry Pi or other microcontrollers. What prompted me to write about this sensor is my curiosity on how it gives out two …

Read More »

Using the 3D Gesture Sensor

3D gesture sensor

I recently got my hands on a 3D gesture sensor from DFRobot and honestly, my brain is ringing with the possible projects I can do with it. Basically, it is a device which can sense hand movements in different directions. Imagine controlling anything just by waving your hands! Let's get …

Read More »

Arduino PID Control Tutorial

Arduino PID Control Tutorial

In control systems, a controller corrects the output of a particular system to a desired input in the presence of errors and disturbances. The most popular type of controller is PID which is an acronym for Proportional, Integral and Derivative. In this Arduino PID control tutorial, I will show you …

Read More »

Arduino RFID RC522 Tutorial

Arduino RFID RC522

RFID technology has been around for quite a while. But it was only recently that hobbyist and makers was able to utilize this technology through the Mifare RC522 RFID module. In this article, I will show you how you can easily use cards as keys for anything, from attendance systems, …

Read More »

Arduino Camera (OV7670) Tutorial

Electronics projects like movement and obstacle detection, drones, and robots require a camera for capturing images. I personally recommend using a Raspberry Pi or BeagleBone Black for these kind of projects because the Arduino doesn’t have enough juice to handle the complexities of pictures and, more so, videos. However, if …

Read More »

Interrupt Tutorial II - Arduino Timer Interrupt

Arduino Timer Interrupt

On my previous Arduino Interrupt tutorial, I showed how to use the external and pin change interrupts for the ATMega328p-based Arduinos. There, I showed an example where pressing a button halts the normal program execution any time and serves another routine (called ISR). In this article, we’ll look at how …

Read More »

Arduino Interrupt Tutorial

Arduino Interrupt A0 Pin Change Example

An interrupt, in microcontroller context, is a signal that temporarily stops what the CPU is currently working at. Programming using interrupts is very different from the usual top-to-bottom sequence in an Arduino program and thus can be confusing for some. This article aims to introduce how an interrupt works and …

Read More »