Home / Tutorials / Arduino Tutorial (page 4)

Arduino Tutorial

Arduino tutorials

A collection of Arduino tutorial articles, from newest to oldest. These tutorials are compiled from personal to paid projects and university lectures. See Arduino Tutorials page if you want to learn from basics to advanced.

The Arduino simplifies microcontroller programming through easy to use code, software and hardware. The best way to learn Arduino is by building projects so start by trying these Arduino tutorials and improve them!

How to Use MQ-4 Methane Gas Sensor

MQ-4 methane sensor breakout board

The MQ-4 is one of many gas sensors ready to be interfaced with microcontrollers. Just like the rest of the MQ sensors, the MQ-4 is most sensitive to a particular gas. This time, it’s methane, although the sensor can still detect other flammable gases like butane and propane.

Read More »

Using AD9833 Signal Generator with Arduino

Arduino AD9833 signal generator

How can you create sine, square or triangular waves with Arduino? Apparently, there’s a way with the help of an IC package — the AD9833. With it, you can now create waveforms for communications, instrumentation, or other similar projects. My tutorial on building your own Arduino AD9833 signal generator after …

Read More »

Watchdog Timer on Arduino Tutorial

Arduino watchdog timer interrupt

In Arduino programming, we learn about functions setup() and loop(). Any code inside setup() executes once while code inside loop() executes again and again until the next reset. Now what if while inside the loop(), something went wrong either in code or in hardware? Normally we just press the reset …

Read More »

How to Use Load Cell with HX711 and Arduino

HX711 Load Cell

Measuring an object’s weight can sometimes be part of a bigger project. And unless you have a good reason, you wouldn’t want to use an analog weighing scale. A digital weight sensor is easier to interface with, not to mention its accuracy and durability against an analog weight sensor. In …

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 »

Ultrasonic Sensor and Temperature Compensation

Ultrasonic sensor with temperature compensation

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 »

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 »