Arduino Timer Interrupts – Explained with Timer1 and Timer2 Examples

Arduino UNO LED blink time interrupts

Interrupts are used to handle events that do not happen during the sequential execution of a program. There are two types of interrupts for the Arduino microcontroller. Hardware or external interrupt and Timer interrupt. In a previous tutorial, we looked at Arduino external interrupt where the interrupt was caused by is caused by the external … Read more

OLED Display Interfacing with Arduino – Display Text, Draw shapes and Images

OLED interfacing with Arduino display text images shapes

In this comprehensive user guide, we will learn to interface SSD1306 OLED with Arduino. We will discuss how to display simple texts, set pixels, draw lines and shapes on OLED display with Arduino. Additionally, we will also display monochrome bitmap images on the OLED screen. An OLED (organic light-emitting diode) is used frequently in displaying texts, … Read more

BME280 Data Logger with Arduino and Micro SD Card

Arduino BME280 data logging to microSD card hardware

In this user guide, we will learn how to log sensor readings acquired from BME280 sensor to a microSD card using Arduino and Arduino IDE. We will create a .txt file in our microSD card through programming our Arduino board and consequently log current temperature(°C), pressure(hPa), altitude(m) and humidity(%) readings to that file after every … Read more

DHT22 Data Logger with Arduino and Micro SD Card

Arduino DHT22 data logging to microSd card hardware

In this user guide, we will learn how to log temperature and humidity readings acquired from DHT22 sensor to a microSD card using Arduino and Arduino IDE. We will create a .txt file in our microSD card through programming our Arduino board and consequently log temperature and humidity readings to that file after every 20 … Read more

GPS Data Logger with Arduino and Micro SD Card – GPS Tracker

GPS Data Logger with Arduino and Micro SD Card tutorial

In this user guide, we will learn how to log GPS data acquired from NEO-6M GPS module to a microSD card using Arduino and Arduino IDE. The GPS data will consist of a latitude, longitude, and altitude values as well as the current date and time. We will create a .txt file in our microSD … Read more

Nokia 5110 LCD with Arduino – Display Images and Texts

Noki 5110 LCD Arduino tutorial

In this user guide, we will learn to interface Nokia 5110 Graphic LCD Display with Arduino. We will discuss how to display simple texts, rotate texts, draw numbers and shapes on Nokia 5110 LCD display. Additionally, we will also display a monochrome bitmap image on the screen. We have a similar guide with ESP32 and … Read more

Interface TMP36 Temperature Sensor with Arduino

Arduino UNO with TMP36 sensor and 16x2 LCD demo

In this user guide, we will focus on TMP36 temperature sensor and its interfacing with Arduino UNO. This sensor provides a highly precise temperature in centigrade. Most importantly, it produces output in dc voltage that we can measure easily with the help of any bare metal microcontrollers such as Arduino Uno, STM32F4, PIC16F877A. In the starting sections, we will … Read more

Interface Force Sensor (FSR) with Arduino – Measure Force

display force sensor output on Arduino serial monitor

In this user guide, we will learn about Force Sensor also known as FSR, and learn to interface FSR sensor Arduino using the Arduino IDE. We will go through its introduction, working mechanism, pinout, and how to obtain readings from the sensor. Furthermore, we will display the sensor readings on Arduino serial monitor. After learning … Read more

Interface Flex sensor with Arduino – Measure Bent or Deflection

display flex sensor resistance angle on 16x2 LCD Arduino

In this tutorial, we will learn to interface a flex sensor with Arduino. In the starting sections, we will see bend sensor introduction, pinout, working principle, and how to use it with our Arduino board. Secondly, we will see an example to show resistance and bent angle readings obtained from the sensor on the Serial … Read more