Problems with the 1602a LCD display

Try again now.
If the contrast is too low, you will see no pixel.
If it it too high you will see all.
(could be the other way around, i'm not sure).
You need to find the right setting in order to see any readable characters at all.

MAS3:
Try again now.
If the contrast is too low, you will see no pixel.
If it it too high you will see all.
(could be the other way around, i'm not sure).
You need to find the right setting in order to see any readable characters at all.

I have played around with the contrast quite a bit, no characters appear. there must be something else wrong with it.
Thanks for the suggestion though

I'm out of ideas. The last one to convert over using just pins 12 & 11 for control was my last idea.
That was so your wiring would conform to the Tutorial wiring (and Hobby Components) for code consistency.
Do you know anyone else who has a similar display that is working that could test yours?
(I assume you would have done this if it were possible but these displays cost about $5 - $8 on eBay and
we have had hundreds of posts about them and sometimes it turns out to be a wrong library but probably
99% of them get working eventually. This is an exception. What country are you in ?
Robert

Don's step by step instructions really do work.
I'd recommend going back to step #2 in his instructions.

Defested:
I have played around with the contrast quite a bit, no characters appear. there must be something else wrong with it.
Thanks for the suggestion though

That isn't what MAS3 asked. He didn't ask about characters, he asked about pixels.
i.e. if things with your pot and connection the V0 constrast input (pin 3) are correct,
the pixels will vary in intensity and if you turn the pot to one end ALL pixels on the display will turn off,
and at the other end ALL pixels on the display will turn on, regardless of anything else being
on the display.

In your case, since all the pixels are on, it appears that your pot is not connected properly.
To me, it looks like the red wire to VCC on the pot is not properly plugged into the breadboard.
I'm assuming MAS3 saw that as well and that is why he asked you if the pot was working.

Don's procedure is a step by step methodical procedure that works and
is designed to catch issues/errors early in the wiring process.
Step #2 is about getting the contrast circuit working.

--- bill

The difference between the last picture and those before, is that now both lines are all blocks.
That makes me think something is happening now, the display must be initialised.

I can't see well enough, is the red wire actually in place at the potentiometer ?

(bperrybap was faster)

What value is the pot?
Can you measure the voltage at pin -3 while adjusting it ?

This new photo looks like the wires are connected to Arduino pins 3,4,5,6 instead of 2,3,4,5.
It's hard to confirm that because of the shadows. Can you verify you only have two empty holes
at 0 & 1 and not three (0,1,2) ?

Have to agree with that

Bill: I guess he isn't ready yet.

Don

Is it just me or does it also look like the wires that should go to Arduino 11 & 12 are going to 12 & 13 ?

raschemmel:
Is it just me or does it also look like the wires that should go to Arduino 11 & 12 are going to 12 & 13 ?

The wires to the Arduinno pins all ok to me.
I have a beautiful photo which shows this that I can't upload & attach because the silly forum
seems to have some sort of quota on attachements. (I'm not going to post it somewhere else).
But if you turn up the brightness and adjust the contrast you can see that there
are 3 blank header slots to the left and right of the 2 wires which
means that the wires are going to pins 11 & 12.
(8,9,10, wire, wire, 13, GND, AREF)

But the problem at this point is not the wiring
(it really wouldn't matter if the wires were correct or wrong)
The problem is that the contrast is not working.
I refer back to Don's post: Problems with the 1602a LCD display - #17 by floresta - Displays - Arduino Forum
and step #2.

From what I've seen, most of the people that run into issues are
the ones that skip ahead and/or don't follow all the steps/instructions.
This seems to be the case here.

--- bill

Well then since you have the better photo, can you confirm the other wires are actually going to 2,3,4 &5 and not 3,4,5 &6 ?

raschemmel:
Well then since you have the better photo, can you confirm the other wires are actually going to 2,3,4 &5 and not 3,4,5 &6 ?

This quota thing is SO irratating, I HATE forums that don't allow attachements
and often stop using them. Not having attached data/photos means that the posts
are not self contained and over time become useless since the linked
data can disapear.

I have the same photo that was posted in the link.
I just adjusted it with brightness & contrast.
You can adjust it in your photo tool.
Gimp is good. On Windoze, you can use FastStone.
PM me your email, and I'll email it to you and then perhaps you can post it here.

The data wires are not correct.
(They don't match the constructor and are offset by one )
We are doing too much work and hand holding on this.
The current problem is Don's step #2. The contrast is not working.
The wires are irrelevant until the contrast is working
and adjusted properly.

Again, I'll recommend to the OP to follow Don's suggested methodology
to get the LCD working.

--- bill

I've downloaded that last picture and opened it in the Gimp.
Zoomed in to 800 %.
That doesn't deblur the picture.
But it is clearly visible that there are wires in pins 3,4,5 and 6, and in 11 and 12.
That means pin 2 is not wired.
So: rerecheck the wiring.

Zooming in this much, the red wire near the potentiometer seems to be in the breadboard, but it's hardly visible.
So investigating that won't harm too.

You could choose to change the constructor, but ensuring that your wiring is correct would be best.

Edit:
Oops, i missed we were at a next page already.
Sorry for the double information.

DEFESTED,
Where did you get the display ?
Take a photo of the back of it and post it.
I may know what the problem is but not until I see the photo.

It is working now! Thank you everyone for your help. I am still unsure as to what the problem was. I unwired, and rewired everything with new wire, breadboard, and arduino again and it works now!

Don't tell anyone this but in the future, if a circuit doesn't work, take a good photo of the wiring and
when you finally get it working after numerous changes, take another photo and compare the two.
In this case , we all know your data lines were miss-wired in the second photo. I don't know what was
wrong in the first photo.

Defested:
I am still unsure as to what the problem was.

Wiring errors. I see wiring errors in every single photo where the
LCD was not working.

--- bill

It may be USB power noise problem, try to add a capacitor 1uF (105) between the LCD pin A,K

So you are giving this advice nearly five and a half years later?

Note Bill's synopsis above:

bperrybap:
Wiring errors. I see wiring errors in every single photo where the LCD was not working.