Arduino Uno | 16×2 I2C LCD Display | Arduino Tutorial

In this tutorial, we’ll show you how to use 16×2 I2C LCD Display with the Arduino Uno.

GETTING STARTED

16×2 I2C LCD Display is used in projects requiring output a string of words or sensor data to a display for visual feedback. 16×2 I2C LCD Display can able to display 16×2 characters on 2 rows and has a Hitachi HD44780 LCD controller. It uses a I2C module, which contains an NXP PCF8574T chip. The chip provides general purpose remote input/output expansion via Two Wire Interface (TWI) or I2C bus. We can control backlight of the LCD Display by the on-board jumper and can also adjust contrast of the LCD Display by the on-board potentiometer. This 16×2 I2C LCD Display has a default I2C address of 0x27 and has an operating voltage of 5V.

COMPONENTS REQUIRED

Components that you’ll required:

Arduino Uno

16×2 I2C LCD Display

Jumper Wire

Type-A to Type-B USB Cable

Please check out here to buy these components.

CONNECTIONS

Arduino Uno | 16x2 I2C LCD Display | Arduino Tutorial | Connections

Arduino Uno | 16×2 I2C LCD Display | Arduino Tutorial | Connections

Now, let’s see the connections.

– Connect the SDA Pin of 16×2 I2C LCD Display to the SDA Pin of Arduino Uno.

– Connect the SCL Pin of 16×2 I2C LCD Display to the SCL Pin of Arduino Uno.

– Connect the VCC Pin of 16×2 I2C LCD Display to the 5V Pin of Arduino Uno.

– Connect the GND Pin of 16×2 I2C LCD Display to the GND Pin of Arduino Uno.

PROGRAMMING

In order to program the Arduino Uno, you’ll need to download the software and source code from the links below.

Arduino IDE: https://www.arduino.cc/en/Main/Software

Source Code: 16x2_I2C_LCD_Display.zip

Now, let’s program the Arduino Uno.

– Connect the one end of USB cable to the Arduino Uno, and another end to your Computer.

– Open the sketch in the Arduino IDE. This program enables the Arduino Uno to communicate with the 16×2 I2C LCD Display via Two Wire Interface (TWI) or I2C bus to display text on the LCD Display. This program requires Wire and LCD Display library.

– Include the required Library from the Sketch menu of Arduino IDE.

– Select the proper Board from the Tools menu of Arduino IDE.

– Select the proper Serial Port from the Tools menu of Arduino IDE.

– Click on the Upload button to upload the sketch.

If the upload is successful, the message “Done uploading” will appear in the status bar of Arduino IDE. After a few seconds, you should see the text is displayed on the LCD Display.

WANT TO LEARN MORE ABOUT ARDUINO?

Build a strong foundation in Arduino and Open-Source Electronics with this Comprehensive Course.

eductronics™ The Complete Guide to Arduino | Arduino Course | Arduino eBook

eductronics™ The Complete Guide to Arduino | Arduino Course | Arduino eBook

WANT TO SUPPORT US?

We love to share our knowledge with you and we need your continued support to enable us to continue with our work with the same vigour and passion. If you like eductronics™ and appreciate the information and knowledge we provide, please consider supporting us. Every contribution, however big or small, helps us keep going!

Please visit our Support Us page to make a contribution online.

LIKED THIS TUTORIAL & WANT TO READ MORE?

Here is the list of some tutorials, that you may find useful.

Share this Post

About eductronics

eductronics™ is a team of skilled, experienced Makers and Inventors. We provide Courses, eBooks, Tutorials, and Projects on Microcontroller and Microprocessor-based Development Boards, Single Board Computers, Open-Source Electronics, Internet of Things (IoT), Home Automation, and Robotics.