welcome to DPV technology in this video
we will learn how to find out the
address of this 16 into 2 LCD display to
work properly with this I2C module
for I2C communication using Arduino
mega so let's get started
you can buy all types of electronic
components modules sensors at best price
from www.dpvtechnology.com when we want to
connect this 16 into 2 LCD display with
this I2c module for I2C
serial communication then we want the
address of this 16 into 2 LCD so by
default the address of this LCD hex 27
but in some cases the address may be
different so in that case we need to
know the address of this LCD so in this
video we will learn how to find out the
address of this LCD for that purpose for
the circuit setup we need an i2c module
a 16 into 2 LCD an Arduino mega an
Arduino mega USB cable and four pieces
of male to female jumper wires 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 then 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
is ready now connect your Arduino mega
board to PC through the USB cable now
open your arduino ide software and copy
and paste this code the link of this
code is given in the description of this
video now go to tools then select your
board
so here mega and then select your port
and after that upload this code here we
can see done uploading now go to your
serial monitor here top right corner
then click on that now here I2C
device found that address hex 27 for my
case also the i2c address of the LCD is
hex 27 but if your I2C  has
different address then you will get it
here you can buy all types of electronic
components modules sensors at best price
from www.dpvtechnology.com Thank you
