Interface LCD Display & I2C Module With Arduino Uno

by Technoesolution2020 in Circuits > Arduino

5873 Views, 1 Favorites, 0 Comments

Interface LCD Display & I2C Module With Arduino Uno

Featured Image.png

Hello friends welcome back to Techno-E-solution, In previous video we see how to interface LCD 16×2 to Arduino uno, but there are very complicated circuits, so in this tutorial, I'll show you how to reduce circuitry by using I2C module which is very compact & easy to connection. Simply connect I2C module with LCD parallel & connect I2C modules 4 pins to Arduino. I2C module has 4 output pins which contains VCC, GND,SDA, SCL where 5V supply gives to I2C module through VCC & GND to GND of Arduino. SDA is a data pin & SCL is clock pin of I2C module. To interface LCD and I2C with Arduino we need Liquid Crystal I2C Library in Arduino IDE software.

In my upcoming projects we need LCD in project & to avoid complicated circuit I'll use I2C module. So let's get started .....

Follow Me On :-

| YOUTUBE | INSTAGRAM | FACEBOOK | INSTRUCTABLES | DAILYMOTION | HACKSTER |

If you like this project subscribe us on Youtube, So without wasting time Let's get started..............

INSTALL ARDUINO LIQUIDCRYSTAL I2C LIBRARY IN ARDUINO IDE

Open arduino.PNG
Add zip.PNG
dialog box.PNG
Click open.PNG
select file.PNG

To make this project we need Arduino Liquidcrystal library in arduino IDE. Follow following steps to add this library in Arduino IDE software.

  1. Open Arduino IDE Software.
  2. Select Sketch > Include Library > Add. Zip library.
  3. New dialog box will open.
  4. Select Zip file. (Download Zip File)
  5. Click on Open Button.

Now Arduino Liquid Crystal Library is successfully Installed in your Arduino IDE.

MATERIAL REQUIRED

To make this project we need some components (Including best buy link) :-

  1. Arduino Uno x 1
  2. LCD (16x2) x 1 & I2C Module x 1
  3. Connecting Wires x 1 nos
  4. Soldering Gun x 1
  5. Breadboard x 1

CIRCUIT DIAGRAM

Circuit Diagram 1.PNG
I2C + LCD.png

Follow Circuit Diagram to make connection.

Connect I2C Module with LCD display parallel. As shown in circuit.

Arduino To I2C Module Connection :-

5V - VCC

GND - GND

A4 - SDA

A5 - SCL

Next PCB


NextPCB is a high-quality PCB Manufacturer. With professional PCB manufacturing capabilities, our PCB engineers with more than 10 years of experience will double-check your engineering files.

NextPCB is certified by IATF16949, ISO9001, ISO14001, UL, CQC, RoHS and REACH; more importantly, we handle the whole process including the PCB prototype, PCB manufacturing, PCB assembly, testing, and final shipment. We are capable of assembling BGA, Micro-BGA, QFN, and other leadless package parts. We also have an online parts shop, you can choose any parts you need.

If you want a Printed circuit board go through the NEXT PCB

ARDUINO CODE

Arduio Code.PNG

Simply Copy the following code & upload in your Arduino IDE software.

// Welcome to Techno-E-Solution 
// Here is code for Interface LCD I2C module with Arduino

#include <Wire.h>
 
#include <LiquidCrystal_I2C.h>

LiquidCrystal_I2C lcd(0x27,16,2);  // set the LCD address to 0x27 for a 16 chars and 2 line display

void setup()
{
 
  lcd.backlight();
  
  lcd.setCursor(0,0);
  
  lcd.print("Hello world!");

  lcd.setCursor(0,1);
    
  lcd.print("TechnoEsolution");

}


void loop()
{
}

DEMONSTRATION

If you Like this project do subscribe for latest projects :-

NextDFM Software From NextPCB

1 image.jpg
2 Image.png
3 Image.png
4 Image.jpg
5 Image.jpg

A PCB Design Problems Detector, An Engineering Solution Provider Import the Gerber file with one click. No need for complicated file reading steps to review easily and improve efficiency.

Download Software Help you quickly familiarize DFM design specifications and production needs to determine whether there are any manufacturing constraints

Features

Make PCB design more standard Prevent the quality flaw Impedance calculation function and lamination automation Automatically generate the best puzzle CAM350 free alternative version Check Gerber files anytime, anywhere and parse it with one click Instate Quote and evaluate delivery time Reduce cost and improve benefit these are advantage comparing to Eagle and Altium