• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » 1602A LCD Display I2C Serial Interface (Arduino)

By Abhishek Ghosh June 16, 2018 5:21 pm Updated on June 16, 2018

1602A LCD Display I2C Serial Interface (Arduino)

Advertisement

Previously, we shown how to setup 1602A LCD Display with Arduino. The units of 1602A LCD I received, is really of good quality. You noticed in that guide we had use huge number of wires occupying many pins of Arduino. That is not good, specially for when Arduino running with ATtiny – if one display occupies so many pins then many projects becomes difficult to make real. We can use a module/IC for I2C, which will decrease the number of pins required to connect to Arduino. In another guide, we discussed about I2C protocol. Here is How to On 1602A LCD Display I2C Serial Interface For Using With Arduino With Just Few Wires.

 

1602A LCD Display I2C Serial Interface (Arduino)

 

This tutorial uses a module which uses the PCF8574T IC chip. PCF8574 I2C chip converts I2C serial data to parallel data for the LCD display. We suggest not to solder the module with 1602A LCD Display but solder them with male headers like this photograph (jumpers came out for photography) :

1602A LCD Display I2C Serial Interface Arduino

In this way, you can use that PCF8574T IC module with your future or present other LCDs. These I2C modules should work fine with 4-row displays. Also, it keeps the way open to use the LCD in the way we interfaced in older guide – we can change the protocol easily.

Advertisement

---

You must connect the pins on the module to the correct connections on the display. Although it is simple, it may go completely reverse. Now, we only need to connect :

Connect the I2C Module to the Arduino. This is really simple and here are the connections:

SCL of module to A5 of Arduino
SDA of module to A4 of Arduino
VCC of module to +5V of Arduino
GND of module to GND of Arduino

You can adjust the small blue colored potentiometer on module for correct brightness. This is an example code :

Vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include <Wire.h>
#include <LCD.h>
#include <LiquidCrystal_I2C.h>
 
LiquidCrystal_I2Clcd(0x27,2,1,0,4,5,6,7);
 
void setup()
{
    lcd.setBacklightPin(3,POSITIVE);
    lcd.setBacklight(HIGH);
    lcd.begin(16, 2);
    lcd.clear();
}
 
void loop()
{
    lcd.setCursor(0,0);
    lcd.print("jima.in");
    lcd.setCursor(0,1);
    lcd.print("I2C Protocol");
    delay(1000);
}

Notice this line :

Vim
1
LiquidCrystal_I2Clcd(0x27,2,1,0,4,5,6,7);

0x27 is the I2C bus address for an unmodified module. If your display does not work with the above code, you can change 0x27 address to 0x3F or 0x26. Some I2C module for 16×2 (1602A) LCD can have pathetic printing to indicate number of pin.

Tagged With 1602A , LCD 1602A , 1602a lcd arduino , arduino 1602a , 1602a lcd , 1602a arduino , display 1602a , 1602a display , arduino lcd 1602 , 1602a with arduino
Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to 1602A LCD Display I2C Serial Interface (Arduino)

  • ESP32 Arduino With LCD : Connection & Code (I2C, LCD 1602A)

    1602 LCD and I2C module are quite cheaper and easy to setup and code. Here are the Required Connection & Code to Use ESP32 With LCD.

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • How To Convert LCD Display to LCD Serial Display For Arduino

    Here is How To Convert LCD Display to LCD Serial Display For Arduino. You Can Convert Your Existing LCD to Serial With a Simple Module or By Using Components.

  • Arduino Temperature & Humidity Sensor DHT 11 With LCD 1602A

    Create a Arduino Temperature & Humidity Sensor DHT 11 With LCD 1602A Following Few Steps. Circuit Diagram, Code and Helpful Step by Step Guide For Troubleshooting.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Hybrid Multi-Cloud Environments Are Becoming UbiquitousJuly 12, 2023
  • Data Protection on the InternetJuly 12, 2023
  • Basics of BJT TransistorJuly 11, 2023
  • What is Confidential Computing?July 11, 2023
  • How a MOSFET WorksJuly 10, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy