My Name is Ahmad Shamshiri and I am presenting this tutorial from Canada.
Hi, welcome to Robojax. in this video I'm going to show you how you can resolve
the issue of addressing of this I2C (I squared C) module that is used with this LCD1602
that module is soldered here so you will solder it the back but in
order to make it communicate with Arduino and display the text you need to
enter the right address so I'm gonna show you in this video how you do. it a
separate video explaining and using this and how to solder it and all that steps
so watch that separately. this is just to address the issue of addressing also I
have another video explaining this module without the I2C so how you can
use it. so you can watch that video as well so this module has these three
points here A0, A1, A2 and this can be soldered so I'm going to solder
different point of this as a binary so it will be 1 2 3 and so forth up to 15
but I'm going to test a few of the codes so to make sure that you understand and
that takes a is displayed on the display here here are the values so if
everything is 0 then we have (address ) 27 the order is like this A2, A1, A0 so and
then if we have only A0 is 1 (soldered) then this address will be 0x26, 0x mean hex
value of 26 and so forth so all these are the all combinations so up to this 3
which is 15 but it is disconnected and a 1 is connected so now first I'm gonna
put 25
so let's see I'm applauding it
so 25 worked. If I put a pin of a resistor and then soldered it then just
cut it there. so now he A1 and A1 is connected so this should be the address
we should get that 21 so a1 and a2 these two there should be 21 so I set it
to 0x21 and then let me just upload it so perfectly so 21 worked
now I'm gonna solder the last piece on this side to make it all one
and then carefully clip it with this
so 1 1 1 it's supposed to be 1 1 1 so
let me put this at 1 1 1 means 0x20 so now upload the code
so that is 111 that is the address 0x20 worked. now if I go back to
zero zero zero which is 27 so I'm making it 27 and upload it should just
disappear
this is holding the old code now now I have to reconnect it as you can see yes
is now not working so to make it 27 have to disconnect (remove solders) all of this
so I removed all of them that is zero zero zero now I'm connecting it it
worked because the code that we uploaded was 27 so now this is a table that I've
tested all the values so zero zero zero mean no connection that is 27 that I've
used here the combination of A0, A1, A2
or all these value will create the address for you so I have tested this
I've tested 22, I've tested 25 so this way you can resolve the issue of I2C module
for LCD. thank you for watching so this was how to solve the issue of everything
of this LCD please thumb up 👍 the video please share it if you have any question
please post your question in the comments I'll try to answer it
Subtitle Typed and Corrected on April 19, 2020 by Ahmad Shamshiri.
I did my part to help you. You can send me donation via PayPal so I continue creating this type of videos.
Click on Subscribe now. You don't loose anything. Thanks.