LCD simple "Hello World" dont work.

Hello

I have a 16x2 lcd
this one

o have the datasheets

Pin1 - VSS
Pin2 - VDD
Pin3 - V0
Pin4 - RS
Pin5 - R/W
Pin6 - E
Pin7 - Pin 10 - DB0-DB3
Pin11 - 14 - DB4-DB7
Pin15 LED +
Pin16 LED -

I have connected is like ardunio says
and used this pot
http://www.lawicel-shop.se/prod/Trimpot-10K-with-Knob_873824/Sparkfun_64668/SWE/SEK
10K ohm,

The screen just flickers and shows randows squares, Why :frowning: ?

Because the LCD is broken ORyou haven't done it right.

With so little information about what you have actually done rather than what you have followed it is hard to say.

Ok will provide a picture then,

Iam a little unsure about how to connect to pot-meter.
But this screen just goes crazy.

The link you posted to the display appers to be a spam site. Can you edit the first post and put it right.

The wiper of the pot needs to be to pin 3 of the LCD, the Vo connection, it is not clear from your photos whatis connected to what, but an open Vo would cause the flickering you are seeing.

The links works fine for me, But they are in swedish.. I just wanted to show you how the lcd lookd like.

yeah the pot has 3 pins, the middle one is wiper right?

what about the other two?

If the data sheet on the link you provided is correct, then the wiring you have looks incorrect.
That display uses a different pinout from most hd44780 modules.
It shows:
14,13,12,11,10,09,08,07,06,05,04,03,02,01,16(cathode),15(anode)

Your wiring does not appear to be using the lcd pins this way.

--- bill

what about the other two?

To +5V and ground like the tutorial shows.

Start out by connecting just the backlight (pins 15 and 16) and get that working. You probably need a current limiting resistor.

Then connect pins 1, 2, and 3 and make sure that you can get a display of a single row of blocks.

If that is not working then don't even bother with the Arduino or a sketch, you won't have any success.

Post a photo that permits us to unambiguously follow each wire from one end to the other.

Don't forget that the pin locations on your PC board do not match those of most other LCD modules although the pin numbers do match.

Don

floresta:
Don't forget that the pin locations on your PC board do not match those of most other LCD modules although the pin numbers do match.

Don

This being the biggest problem. From the existing photos, it appears that the wiring was not
done with the correct pinout.
Data sheet shows Pin 14 being the closest to the mounting hole and pin 15 being on the other end.
It looks like it was wired up assuming that pin 16 was closest to the mounting hole and pin 1 on the other end.

--- bill