Forum >Ethernet Arduino with IIC LCD1602
ArduinoGeneral

Ethernet Arduino with IIC LCD1602

userHead robvantour@hotmail.com 2012-12-13 01:53:52 4788 Views5 Replies
Hello

I bought a IIC LCD1602 for my ethernet Arduino.
The problem is that I dont get it to work at all.

I don't have a manual that tells me how to connect the LCD so I tried the standard I2C method.(4 SDA, 5 SCL)
I tried connecting with and without pullup resistors.

I have downloaded the library from this website and tried the hello world demo.

When I run it I only see one row of white blocks.

Does anybody know how to find the I2C adress of the LCD?

2012-12-15 00:10:13 Hello! I think your "Hello World" program is correct and your connection between the LCD and your Ethernet Arduino Board is also perfect.  We may check our problem from following respects:
Firstly , we should not overlook the three Jumper Caps (A0&A1&A2) as they deceide which address we should use for our IIC LCD. You may see these three little jumper caps on the back of our IIC LCD (just beside the blue Potentiometer). In the "Hello World" program, we have a sentence like this:
"[color=orange]LiquidCrystal_I2C [/color]lcd(0x27,16,2);" and this sentence tells us that the address for our LCD is 0x27 now. When we use 0x27 as our LCD_address, we have to take off all the three jumper caps (A0&A1&A2) otherwise our LCD cannot display "Hello Wolrd" or angthing else. If you do not want to take off the three jumper caps (A0&A1&A2), you have to change the address and set it as 0x20.

Secondly, if you have known the relationship between the jumper caps and the address of the LCD and this is not the problem for your program, you may check the blue Potentiometer. The blue Potentiometer is used for adjusting contrast of the LCD screen and after loading the program into your Arduino board you can adjust it to make sure your screen can display words with proper abstract.

Finally, as I used the Arduino UNO board to test the "Hello World" program, please make sure your Ethernet Arduino can work properly.  :P
I hope you can work out your problem. May the best wishes!
userHeadPic leletkt
2012-12-14 00:24:31 I connected my LCD like this:

[img]http://incolab.com/IMAG0650.jpg[/img]

This is my code
[img]http://incolab.com/CodeScreenShot.jpg[/img]

And this is what I get:

[img]http://incolab.com/IMAG0649.jpg[/img]

I think that all jumpers connected means 27.(I do not know)
And I think that all jumpers disconnected means 20.

However I left all the jumpers connected and changed the code 8 times.
So I tried 0x20 to 0x27.

I make a mistake somewhere......
But I don't know where..
userHeadPic robvantour@hotmail.com
2012-12-13 23:56:09 Thank you for your response.

I connected the screen like shown on the wiki page.
Tried the code.

And still I only have one row of white blocks.....

userHeadPic robvantour@hotmail.com
2012-12-13 07:34:41 Also, please check our wiki page of this product.

[url=https://www.dfrobot.com/wiki/index.php/I2C/TWI_LCD1602_Module_(SKU:_DFR0063)]https://www.dfrobot.com/wiki/index.php/I2C/TWI_LCD1602_Module_(SKU:_DFR0063)[/url]
userHeadPic R2D2C3PO
2012-12-13 07:33:46 The default address is 0x27. try to adjust the potential meter on the back of the lcd.  It may help. userHeadPic R2D2C3PO