LCD (Liquid Crystal Display) is also known as an alphanumeric display. It shows only alphabets and numbers only, apart from a few symbols. It is graphic less display, for colors and pictures to show we can go for a TFT display. In this tutorial, we will connect and operate LCD display Arduino.
presently here we will learn LCD display interfacing an Arduino UNO using an I2C module. I2C module decreases the complexity of connecting the LCD display panel with Arduino. Without the I2C module, we may have to use 16 wires for connecting which will become complex and also decrease the number of I/O pins of our Arduino board. And if we use the I2C display we have to make only four connections.
I2C (Inter-Integrated Circuit)
module generally pronounced as IIC or I squared C. It is basically a master-slave system bus. It is two-way communication in which the master can give instructions to slaves and can take data from the slave. Here in this communication master and multiple slave components can be communicated. A Single master can communicate with so many slaves without confusion because each slave element has its own unique address and hence master can choose to which slave it should communicate with. It is a very easy and less costly method of communication in which only two transmission wires are required for information exchange and they are
SDA- Serial Data pin It produces a clock signal that synchronizes the information transfer by the I2C bus. The clock signal is generated by the master element.
SCL- Serial Clock pulse – It is the data pin.
This module should be mounted on a 16X2 LCD display. As already discussed above it consists of two main pins SDA and SCL, apart from these two pins consists of VCC and GND pins. VCC pin is for providing the module with power supply and the GND pin is to close the circuit. A potentiometer in mounted on the I2C display which will change the contrast setting of the LCD display
Connections between the I2C module and the Arduino board can be done as follows.
Once the code is written in Arduino IDE compiled and upload it to the Arduino board and then you can see the output as shown in the picture below. We can also check the output on the serial monitor of the Arduino IDE.