If you've been using Arduino, you might have used or have heard about the ultrasonic sensor. Most of us use it for level/distance measurement while some use it to detect an obstacle in front. What most of us don’t know is that there is an underlying flaw with the ultrasonic …
Read More »Clap Switch for RGB LEDs using Arduino
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
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 »Flame Sensor Project: Comprehensive Guide
Flame sensors are found from the simplest gas stoves to huge industrial plants. There are different types of fire sensors -- some cheap, some expensive. Yet they’re all built for one single purpose: detect fire. In this article, I will guide you on how to build a flame sensor with …
Read More »Sensor Display on ESP32 Web Server
Last time, I showed you how to setup the ESP32 development board with the Arduino programming environment. This time, I will be building a simple ESP32 web server where data from a sensor is displayed on a web page.
Read More »Using ESP32 (NodeMCU-32S) Board for the First Time
The ESP32 expands the capabilities of the popular ESP8266 WiFi microcontroller by using a 32-bit microprocessor, and adding Bluetooth 4.2 among others. What possible projects can we build using this device? We will find out as we start our series for the ESP32.
Read More »Generating an Arduino 16-bit PWM
Ever since I wrote about timer interrupts, a number of readers have asked me on how to generate a 16-bit pulse width modulation (PWM) signal with Arduino. Well, here it is.
Read More »Arduino Current Sensor Tutorial: Measuring Current with the ACS712
A current sensor lets an Arduino measure how much current flows through a wire, motor, LED strip, battery-powered circuit, or power supply load. In this tutorial, you will learn how to use an ACS712 current sensor with Arduino to measure DC current and display the result on the Serial Monitor. …
Read More »Arduino Hall Effect Sensor: Making a Magnetic Sensor with the SS49E
A Hall effect sensor lets an Arduino detect a magnet without touching it. An Arduino magnetic sensor like this one can measure the speed of a rotating shaft, tell an alarm when a door opens, or help with navigation. In this tutorial, we'll wire an SS49E Hall sensor module to …
Read More »Send Sensor Data to ThingSpeak via ESP8266
In the previous tutorial, we set up a soil moisture sensor and have its data readable via WiFi. However, that data is only accessible if the NodeMCU ESP8266 and the client (smartphone, PC, etc.) is in the same network. In this tutorial, we will use a service that allows us …
Read More »