Driving an LCD With I2C Module

by NassimBouyacoub in Circuits > Arduino

680 Views, 3 Favorites, 0 Comments

Driving an LCD With I2C Module

Afficheur-LCD-20x4-avec-interface-I2C-Maroc.jpg

In this tutorial we will see how an LCD screen works and how to use it more easily with the I2C module

What Do We Need:

- Arduino Uno (Avalible here)

- Des Jumpers (Avalible here)

- Un écran LCD pour Arduino (Avalible here)

- Un module I2C (Avalible here)

What Is an LCD Screen ?

An LCD (liquid crystal display) is a device that can display characters while consuming a lot of electricity is why it is found in several electronic project

What Is I2C Module

The I2C (Inter-Integrated Circuit) is a computer bus Designed by Philips for home automation and home electronics applications, it makes it easy to connect a microprocessor and different circuits by reducing the number of lines required to only two lines, SDA (Serial DAta), and SCL (Serial CLock).

How It Works

ddd.PNG

You have to know that we are going to Display the characters in the LCD as if it were a table each box of the table represents a space to display a character in the screen (See diagram below)

The Diagram

eeeeeee.PNG

For the assembly nothing more simple:

you can solder the I2C module and the LCD screen like this

And Now the The I2C-Arduino Link

dsl.PNG
ssss.PNG

note that the A5 PIN also represents the SCL pin and the A4 pin represents the SDA pin

And Finally the Code

here: http://festyy.com/w3Bh7p

Enjoy ^^

Captureds.PNG