ESP32 Magnetometer using HMC5883L

HMC5883L Breakout Board

For this article, I will show you how to use an ESP32 microcontroller as a magnetometer - a device that measures the direction and strength of a nearby magnet. In the absence of a nearby magnet, the device detects the Earth’s magnetic field. Hence, a compass is a type of …

Read More »

How pinMode, digitalWrite and digitalRead Work

arduino digital input

I believe what makes Arduino popular is how it makes microcontrollers easier to use. I remember the time when I have to spent hours coding a project and then spend money on programming hardware. Arduino has its limitations, but the platform helps create tons of electronic projects even for non-engineers. …

Read More »

Clap Switch for RGB LEDs using Arduino

Arduino clap switch for RGB

Introduction This week’s Arduino project is a classic one and ideal for beginners. Here I will be showing how to build a simple clap switch for an RGB LED strip. Basically, a microphone captures the sound of the clap and converts it to a voltage. The Arduino processes that voltage …

Read More »

MQ-135 Air Quality Sensor Tutorial

MQ-135 breakout board

The MQ-135 “air quality” sensor is part of the MQ series of gas sensors that uses a chemical-sensitive element. The resistance of such elements varies when exposed to certain gases. The MQ-135 is sensitive to multiple gases including Benzene, Acetone, Alcohol, and Ammonium.

Read More »