Arduino DS3231 RTC Module: Complete Guide with Code Examples

Arduino Uno connected to DS3231 RTC module and OLED display showing real-time clock

Picking the right Real-Time Clock (RTC) module is crucial when building time-sensitive Arduino projects. You’ve got many options – DS1302, DS1307, DS3231, DS3232, and more, but if you want precision, affordability, and reliability, the DS3231 stands out. In this guide, I’ll break down everything you need to know when working with Arduino and DS3231. You’ll learn: … Read more ➯

Arduino Servo Motors – Complete Guide

Arduino Servo Motor Control

Servo motors are a great fit for projects that require precise movement of things. Usually, they have a servo arm that can rotate up to 180 degrees or 360 degrees. These motors require a control signal to determine the position of their arm. Servo motors are often used in robotics to control the direction and … Read more ➯

Arduino PIR Motion Sensor Tutorial

Do you ever think about how automatic taps give water when you put your hand beneath them or the magic of smart bulbs that illuminate a room the moment someone enters? In many of these instances, a PIR sensor is the magic behind the scenes. In this tutorial, you will learn how a PIR motion … Read more ➯

Arduino Relay Tutorial

Arduino is a 5v (some are 3.3v) system, so we can easily control any 5v device using an Arduino output pin. But we cannot control high-voltage appliances directly with an Arduino, we need a relay for this. Relay is very helpful for controlling high voltage (120-240V) appliances like lights, fans, heaters, etc. using Arduino or … Read more ➯

Arduino RGB LED Tutorial

LEDs are cool RGB LEDs are even cooler. RGB LEDs can display a variety of colors without wiring multiple color LEDs at once. RGB LED has three different color LEDs in one package. So you can mix up this base color to create any color you want. In this Arduino tutorial, you will learn what … Read more ➯

Make an Arduino Temperature Sensor using Thermistor

Thermistor Temperature Sensor Arduino Tutorial

The thermistor is basically a thermal resistor. That means its resistance changes according to the change in temperature of the environment. We can use a thermistor to measure the temperature of the environment. If you want simple, inexpensive, and accurate components to get the temperature data for your project thermistor would be a good choice. … Read more ➯

Arduino Light Sensor Using LDR

Light Dependent Resistor or LDR is basically a photoresistor. That means its resistance is dependent on the amount of light it gets. We can use an LDR to detect the light level of the environment. If you want a cheap solution to detect day and night LDR would be a good choice. In this tutorial, … Read more ➯

Arduino millis() and micros()

After a few days of working with Arduino, you will realize that although the delay() function is easy to use it has some drawbacks. If you use delay() in a program it will stop all activity on the Arduino until the delay is finished. You cannot perform any other task at that time period. The … Read more ➯

Arduino Potentiometer Tutorial

Arduino Potentiometer Tutorial

In this tutorial, I will show you how to connect a potentiometer with Arduino. First I will show the potentiometer reading on the Arduino serial monitor. Then I will use that data to control the brightness of an LED. Potentiometer Overview A potentiometer is a three-terminal resistor with a sliding or rotating contact that forms … Read more ➯

Arduino Buttons and LEDs | Push Button Tutorial

Push-button is a key component in most electronics projects. It is a very simple and useful component to add user interaction to your project. I am sure all of you used a push button before in day-to-day life. For example, a tv remote has push buttons to change channels and volume. In this tutorial, I … Read more ➯