Hi! Im trying to replicate this build for a class. I checked my connections to make sure everything was good already as well. I only get white boxes to appear when I plug my Arduino into my computer. The servo motor runs as I can feel/hear it buzz when I plug it in. Im using the exact same code as in the linked page. Any ideas on whats wrong and what I can do to fix it so that the letters/numbers appear? Thanks

OK, so you have the contrast adjusted more-or-less correctly. Good start, but just a little hint: There is a silly blunder that has passed through nearly all of the tutorials and project designs using these displays. Removethe connection from one end of the contrast potentiometer to Vcc - 5 V. This is a mistake; removing the wrong connection will make setting the contrast easier; easier still if you use a 1k potentiometer instead.
But that is not your problem. We do not quite know what the problem is but it either wiring or code.
Hmmm. I see a green wire from the R/W pin (5) on the display to row "a" of the breadboard. This should connect to ground.
Wow, thank you! The LCD is actually working properly now! I wonder why the tutorial had it attached to the "a" connection where it seemed to be working in his video... Anyways thanks again for your help! ![]()
Yes.
That is not such a good tutorial overall. He uses the buttons connected to Vcc with pull-downs. Better practice is to connect them to ground and use pinMode of INPUT_PULLUP so you generally do not need the resistors, adjusting the code accordingly. And he does not provide a proper circuit schematic.
I hope you have removed the potentiometer connection to Vcc and found the contrast adjustment easier. This also saves a tiny bit of current which would be useful if you were running from batteries.
Rentaya:
Wow, thank you! The LCD is actually working properly now! I wonder why the tutorial had it attached to the "a" connection where it seemed to be working in his video... Anyways thanks again for your help!
The author of that tutorial cleverly used the same red colored wires for the center connection of his potentiometer (LCD pin 3) and for the R/W line (LCD pin 5).
In another clever maneuver he put the two red wires one over the other where they passed next to the potentiometer.
To make absolutely sure that you can't unambiguously interpret the connections he used a low resolution photograph.
Don
floresta:
To make absolutely sure that you can't unambiguously interpret the connections he used a low resolution photograph.
Yes, I noticed that.
And did I mention - no schematic, just a slightly confusing nodemap.
Not that I bothered about the resolution as I was just checking the order of the wires against the OP.
the tutorial is written
the tutorial is published
the tutorial is wrong
nobody comes back and corrects the tutorial
I suspect no-one has told the author.
Note the statement (which the Javascript helpfully renders into all caps
): "Be respectful and constructive – most Hackster members create and share personal projects in their free time".
There are presently no comments there.
It's only been up for 5 days.
Don
Paul__B:
I suspect no-one has told the author.. . .
There are presently no comments there.
There's one there now.
Don
Today at 11:57:03
... Depending on your time zone of course. ![]()
Today at 11:57:43
I thought that was a really quick comment!
But it was indeed brief - and appropriate. Why write it all again for his benefit when he can simply come here to see?
Apologies for the poorly written project. I adopted the post from work I had done for a school project and didn't adjust the formatting much. There may have been an error in my project that was never noticed by a grader. I will fix it as soon as I can. For the time being, I've noted to view this post in the beginning of the project. This is my first project posted to here, so apologies if it's not up to par. ![]()
Ah! Great that we have you here. ![]()
I would really appreciate it if you take note of my comment in my first paragraph of #1. This silly blunder - connecting the potentiometer to Vcc when it should not be - is so pervasive that we need to have it corrected in as many places as possible.
