LCD 16x2 problems

Hey,

I connected a usual LCD 16x2 to my arduino.
But the LCD doesn't work. I used the code from http://arduino.cc/en/Tutorial/LiquidCrystal
and I connected the pins like I saw on http://arduino.cc/en/Tutorial/LiquidCrystal
All I saw was a blank display and when I adjust the potensiometer I saw these white squires. I sent pictures of this project. I hope you can help me.

Normally these problems turn out to be some sort of connection issue.

How have you got it connected and can you post a picture?

Well, that looks OK.

The hello world example should print on two lines, I notice that you don't have any thing there.

Could you try re checking the solder joints?

It wasn't easy to get to those photos - they don't show up in any of my browsers.

It look like you may have the wires going to LCD D4 and LCD D5 swapped. It would help if you used different color wires for adjacent data lines.

Don

I tried a few times to reconnect the lcd i dont think this is the problem. I also checked the solders. I suspect the problem is with the lcd. Althogh it has 16 legs maybe it doesnt support hd44780?

I think you have pins 4 and 5 on your arduino switched around.

Yes looking at it again I agree it does look like pins 4 and 5 are crossed over. It is hard to follow when adjacent wires are the same colour.

You right. Thats because I connected them only for the picture. Im sure of my wiring

Show us a picture of your actual setup then.

I think you have pins 4 and 5 on your arduino switched around.

Isn't that the same as "It look like you may have the wires going to LCD D4 and LCD D5 swapped"?

Don

I suspect the problem is with the lcd. Althogh it has 16 legs maybe it doesnt support hd44780?

I am pretty sure that this is not the case. Your LCD is obviously functioning but the single row of rectangles indicates that it's controller is not being initialized properly. This is almost always due to programming errors or wiring problems. When you get these sorted out your LCD will most likely function as intended.

If you really want to get this resolved then you should provide the information that we are asking for. Basically we need only two things to get started.

(1) A complete listing of the actual code that you are using. This should be a copy and paste from the Arduino IDE. A copy of or link to the code that you think you are using is not the same.

(2) A photograph of your setup that clearly and unambiguously shows all of the connections between your Arduino and your LCD.

Don

It has to be said I have had a number of these sorts of conversations over eBay messaging with customers. Eventually I get them to wire it correctly and they work.

I doubt that the chips are actually Hitachi but on the other hand I would be very surprised if they were not 100% hd44780 compatible.

Show us it wired correctly with the actual code, it should not take long to see if there is a fault anywhere.

floresta:
Isn't that the same as "It look like you may have the wires going to LCD D4 and LCD D5 swapped"?

Yes but since I'd just spent about half an hour ZOOMING in on the photo to glean that information. I hadn't seen the comment "It look like you may have the wires going to LCD D4 and LCD D5 swapped".

If my efforts are so unappreciated I think I'm done with this thread.

If (you can't figure it out && everybody keeps telling you it has to be the wiring && they even point to an error){
tear down your hardware setup;
rebuild setup using the given advice;
}

We seem to be discussing pictures and/ or code, but there are no pictures or code there!

How are you supposed to see them?

Paul__B:
We seem to be discussing pictures and/ or code, but there are no pictures or code there!

How are you supposed to see them?

Exactly. It's all an exercise in futility.

The "empty" post actually holds a link to an image.
The IMG tags are used but do not do what they are supposed to do.
I just tried that using the image button.
This is the actual link:

http://s27.postimg.org/hcx6945g2/20141103_202135.jpg

How are you supposed to see them?

For the code you will need a crystal ball. For the pictures I said it wasn't easy!

I looked at the page source, extracted the URL of the image, and pasted that into another browser tab.

I thought the OP would respond to my statement but I see now that he doesn't respond to much at all.

Don

floresta:
For the code you will need a crystal ball. For the pictures I said it wasn't easy!

I looked at the page source, extracted the URL of the image, and pasted that into another browser tab.

I thought the OP would respond to my statement but I see now that he doesn't respond to much at all.

Don

That is quite odd, as I saw both images, bold as brass in the middle of a post.