Welcome to DPV technology in this video
we will learn how to use this I2C
module with sixteen into two LCD and with
Arduino mega so let's get started
you can buy all types of electronic
components modules sensors at bestprice
from www.dpvtechnology.com for the circuit setup
we need an i2c module a16x2 LCD
an Arduino mega, an Arduino mega 
USB cable and four pieces of
male-to-femalejumper wiress and a
breadboard you can buy all these
components at best price at our official
store DPV technology.com connections
are very simple first insert this LCD
into the breadboard this is a 16 into 2
general purpose LCD you don't don't
require any specific LCD then connect
this I2C module with this LCD pins
by simply inserting this I2C
module into the breadboard so here we
have to keep these pins towards this VSS
pin
now we have to connect this I2C
module with this Arduino mega
so first connect the ground pin of the
i2c module this first pin from the left
side is ground and connect it to ground
pin of arduino mega then connect the
second pin that is this pin from the
left side is VCC and we have to connect
it to 5V pin of arduino mega then we
have to connect the SDA pin of the
module to SDA pin of arduino mega then
at last we have to connect the SCL pin
of the module to SCL pin of the Arduino
mega that is with clock pin now our
circuit it is ready now connect your
Arduino mega board to PC through the USB
cable now to use this I2C LCD
module we have to first download a
library the link of this library is
given in the description of this video
when you click on that link you will be
redirected to the page this library is
provided by Frank de thanks to him for
providing this amazing library now we
have to download this library so go to
this clone or download section and then
click on that and then download zip now
serve it after that open your arduino
ide software then go to sketch then go
to include library and then go to add
zip library and click on that then open
your download folder where you have
downloaded the i2c library so here I can
see this is my i2c library Arduino
liquid crystal I2C  library
master so open it then it will be
automatically added to your arduino
library folder now go to file then
example then go to
Arduino liquid crystal I2C
library then here go to hello world now
here in this code at first wire.h  library is added then liquid
crystal I2C dot each library is
added then here is the address of our
LCD that means I2C address of our
LCD in most of the cases the i2c address
of the sixteen into two LCD is hex 27
but after uploading this code if you
will not get output on your display then
you have to Change this address to find
the address of your 16 into 2 LCD you
have to run a program you will get a
video in our channel about how to find
the i2c address of LCD display the link
of the video is given in the 
description of this video you can go and
find that video if you will not get
output after that here LCD dot begin to
start the communication with LCD then
here LCD dot print hello world to print
the hello world on the LCD now go to
tools then select the board as Arduino
mega and then again go to tools and
select the port for Arduino mega then
upload the code so here we can see done 
uploading after uploading your code to
the mega then we have to rotate the knob
of this potentiometer so here we can see
hello world is printed on the display
cuircuit is working
properly
you can buy all types of electronic
components modules sensors at best price
from www.DPV Technology.com thanks for watching
