Close Menu
Circuit of Things
  • Home
  • Projects
    • Raspberry Pi Projects
    • Arduino Projects
    • ESP8266 Projects
    • ESP32 Projects
    • IoT Tutorials
    • Sensors & Modules
    • IoT Basics
  • About Us
  • Get In Touch
  • 3D Print
  • Shop Now !
  • Electro Calc

Stay in the Loop!

Subscribe to get the latest IoT tutorials, Arduino projects, and electronics guides delivered straight to your inbox.

Instagram WhatsApp
  • Terms and Conditions
  • Disclaimer
  • Privacy Policy
Circuit of Things Circuit of Things
  • Home
  • Projects
    • Raspberry Pi Projects
    • Arduino Projects
    • ESP8266 Projects
    • ESP32 Projects
    • IoT Tutorials
    • Sensors & Modules
    • IoT Basics
  • About Us
  • Get In Touch
  • 3D Print
  • Shop Now !
  • Electro Calc
Hire us
Circuit of Things
Home»Arduino Projects»Arduino I2C LCD Display Tutorial: Show Sensor Data on Screen
Arduino Projects

Arduino I2C LCD Display Tutorial: Show Sensor Data on Screen

Sai Preetham KoyyalaBy Sai Preetham KoyyalaMay 4, 2026No Comments2 Mins Read
Share Facebook Twitter Pinterest LinkedIn Tumblr Reddit Telegram Email
Share
Facebook Twitter LinkedIn Pinterest Email
Contents
  • Introduction
  • Components Needed
  • Wiring (I2C)
  • Install the Library
  • Project 1: Hello World
  • Project 2: Temperature Display with DHT11
  • Troubleshooting
  • Conclusion

Introduction

Adding a 16×2 LCD display with an I2C module to your Arduino project lets you show real-time sensor readings without a computer. The I2C backpack reduces wiring from 12 wires to just 4 — making it one of the easiest display setups available.

Components Needed

  • Arduino Uno
  • 16×2 LCD with I2C backpack module
  • DHT11 temperature sensor (optional)
  • Jumper wires

Wiring (I2C)

I2C LCD Pin Arduino Pin
VCC 5V
GND GND
SDA A4
SCL A5

Install the Library

In Arduino IDE go to Sketch > Include Library > Manage Libraries. Search for LiquidCrystal I2C by Frank de Brabander and install it.

Project 1: Hello World

#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27, 16, 2);
void setup() {
  lcd.init(); lcd.backlight();
  lcd.setCursor(0, 0); lcd.print("Circuit of Things");
  lcd.setCursor(0, 1); lcd.print("Hello, Maker!");
}
void loop() {}

Project 2: Temperature Display with DHT11

#include <Wire.h>
#include <LiquidCrystal_I2C.h>
#include <DHT.h>
#define DHTPIN 2
#define DHTTYPE DHT11
LiquidCrystal_I2C lcd(0x27, 16, 2);
DHT dht(DHTPIN, DHTTYPE);
void setup() {
  lcd.init(); lcd.backlight(); dht.begin();
}
void loop() {
  float t = dht.readTemperature();
  float h = dht.readHumidity();
  lcd.clear();
  lcd.setCursor(0,0); lcd.print("Temp: " + String(t,1) + " C");
  lcd.setCursor(0,1); lcd.print("Hum:  " + String(h,1) + " %");
  delay(2000);
}

Troubleshooting

  • Blank screen? Adjust the contrast potentiometer on the I2C backpack.
  • Wrong I2C address? Most modules use 0x27 or 0x3F. Use an I2C scanner sketch to find yours.

Conclusion

The I2C LCD is a fantastic way to add a user-friendly display to any Arduino project with minimal wiring complexity.

Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
Previous ArticleESP8266 NodeMCU Web Server: Control LEDs from Any Browser
Next Article ESP32 Bluetooth Tutorial: Wireless Serial Communication with Arduino IDE
Sai Preetham Koyyala
  • Website
  • Facebook
  • X (Twitter)
  • Instagram
  • LinkedIn

Hello, I am Sai Preetham Koyyala. I'm an electronics engineer by profession, a DIY enthusiast by passion. ESP32 and Arduino are the main topics of my work.

Related Posts

Arduino Projects

Relay Module with Arduino: Control High Voltage Appliances Safely

May 4, 2026
Arduino Projects

PIR Motion Sensor with Arduino: Smart Security Alarm System

May 4, 2026
Arduino Projects

Arduino Servo Motor Control: Sweep, Potentiometer and Button Projects

May 4, 2026
Add A Comment
Leave A Reply Cancel Reply


KSP Electronics
✓ Trusted Store
Everything for Your
Next IoT Build
Boards, sensors, modules & kits delivered fast across India.
ESP32 Arduino Sensors Modules DIY Kits
500+
Products
Fast
Delivery
★★★★★
Rated
🛒 Shop Now →
kspelectronics.in
💻
● Available for Projects
Hire Me for
IoT Projects
ESP32, LoRaWAN, cloud dashboards & custom hardware — end-to-end IoT solutions for your needs.
ESP32 LoRaWAN MQTT Arduino Cloud PCB Design
3+
Yrs Exp
20+
Projects
★★★★★
Rated
💬 Chat on WhatsApp
View services →
Top Posts

Raspberry Pi: How to Control a DC Motor with L298N and PWN on a Web Server

July 14, 2023

Relay Module with Arduino: Control High Voltage Appliances Safely

May 4, 2026

Esp8266 / NodeMCU Pinout: A Comprehensive Guide for Beginners

June 25, 2023
Follow Us
  • Telegram

Stay in the Loop!

Subscribe to get the latest IoT tutorials, Arduino projects, and electronics guides delivered straight to your inbox.

Most Popular

Raspberry Pi: How to Control a DC Motor with L298N and PWN on a Web Server

July 14, 2023

Relay Module with Arduino: Control High Voltage Appliances Safely

May 4, 2026

Esp8266 / NodeMCU Pinout: A Comprehensive Guide for Beginners

June 25, 2023
Our Picks

Relay Module with Arduino: Control High Voltage Appliances Safely

May 4, 2026

NodeMCU ESP8266 Sensor Data to ThingSpeak IoT Platform

May 4, 2026

ESP32 Firebase Realtime Database: Send and Receive Data from the Cloud

May 4, 2026

Stay in the Loop!

Subscribe to get the latest IoT tutorials, Arduino projects, and electronics guides delivered straight to your inbox.

© 2026 Circuit of Things. All Rights Reserved. Built with ❤️ for the Maker Community.

  • About
  • Privacy
X (Twitter) Instagram YouTube WhatsApp
  • Book an Appointment
  • My Bookings
  • Support Us
© 2026 Circuit of Things. Designed by Sai Preetham Koyyala.

Type above and press Enter to search. Press Esc to cancel.