lcd MC1602E-SYL/H , not run

hi , i got new lcd MC1602E-SYL/H , and i connect , test any example , and all not run ...

LCD : MC1602E-SYL/H Datasheet : http://www.gme.cz/_dokumentace/dokumenty/513/513-109/dsh.513-109.1.pdf

Photos : http://effik.cz/arduino/lcd.zip

sorry for my english :)

What is in your sketch?

The display will not display anything until you write something to it from the sketch.

code : http://pastebin.com/d5a585162
circuit : http://i31.tinypic.com/2gsedlv.jpg

Maybe 2 things to try:

1) From your pictures it looks like you have the "contrast" pot to far negative - can you adjust it to dim the black squares? Does this produce "hello world"? 2) I have not used the LiquidCrystal library. I know there are some initialisation issues with that library. I have used LCDExtended and have had no problems with a 2x16 display in 4-bit mode.

contrast is ok , where can a get LCDExtended library ? and pls post me some test code :)

Look here: http://arduino.cc/en/Reference/Libraries

for “Displays and LEDs” “Improved LCD library”

follow link to “updated LiquidCrystal library here” which takes you to this page: http://www.adafruit.com/index.php?main_page=product_info&cPath=35_37&products_id=181

Near the bottom is a link to the library.

Their example looks like this (they have overwritten the existing LiquidCystal library):

#include <LiquidCrystal.h>

// LiquidCrystal display with:
// RS, EN, D4, D5, D6, D7
// or: RS, R/W, EN, D4, D5, D6, D7
// or: RS, EN, D0, D1, D2, D3, D4, D5, D6, D7
// or: RS, R/W, EN, D0, D1, D2, D3, D4, D5, D6, D7

// In this case, the minimum: RS, EN, D4, D5, D6, D7
LiquidCrystal lcd(7, 8, 9, 10, 11, 12);

void setup()
{
  // Print a message to the LCD.
  lcd.print("hello, world!");
}

void loop()
{
}

You will either need to change the pin assignment to match your circuit or re-wire your circuit. I used the pin assignment in their code but I don’t see any reason why yours should not work.

More info:

I have read that there can be "timing issues" if you use the LCD without the R/W pin connected - these timing issues are fixed in the new library just posted.

I have always used the R/W pin connected.

So maybe this is why yours does not work. Worth trying the new library.

thx, its run :) i use lcd extended library :)

I suggest you use the library in the Arduino IDE. Its fixed since Arduino 0016, including ladyada's fixes.

I always connect the RW pin to GND. It doesn't work if I don't set -1 as the pin in the Sketch, or I don't set it at all.