Go Down

Topic: can never get a LCD to work with UNO (Read 4 times) previous topic - next topic

floresta

Has anyone else noticed that we haven't even gotten to step 1 of the troubleshooting because we still don't have the basic information we need.

(1) Get the backlight (if there is a backlight) working properly.
(2) Get the contrast set properly.
(3) Connect the Arduino properly.

etc.

Don

bperrybap

66knuckles, there are multiple versions of Michaels book so just saying page 366 or the
Arduino Cookbook is not good enough.
It is the 2nd edition.

With embedded s/w which involves manipulating hardware it all about the details.
So far you are not providing enough accurate detailed information for anyone to be able
to detect what you have done. Which makes it impossible for a "second set of eyes"
to see any mistakes. We are not there so we can't see what you see so you must provide
all the information. Think of it this way. If we were to reproduce EXACTLY what you have
at our location, how could we do that with 100% certainty? The 100% part is crucial.
The only way that there can be 100% certainty is to provide the exact code that is running
and visual information of your exact hardware rather than written information which is subject to error.
That is why we need a photograph of your lcd wiring as well as information for the exact
LCD module you are using.

Anything else and were stuck guessing, which is wasting time.

Michael presented very good and detailed 3 pages of how to wire it up and get it working,
including a sample sketch (as shown in reply #26) and even a really nice wiring diagram on page 365
(attached) and some debugging information in the section.
The one thing that Michaeal forgot mention as it would seem to be obvious
is that the connections to the LCD module must be soldered.

--- bill

liudr


Has anyone else noticed that we haven't even gotten to step 1 of the troubleshooting because we still don't have the basic information we need.

(1) Get the backlight (if there is a backlight) working properly.
(2) Get the contrast set properly.
(3) Connect the Arduino properly.

etc.

Don


I second you there. The OP is more likely just venting out his frustration than getting help. I see this type of students right near semester ends like clockwork.

floresta

#33
Dec 09, 2012, 11:54 pm Last Edit: Dec 10, 2012, 12:01 am by floresta Reason: 1
Quote
Michael presented very good and detailed 3 pages of how to wire it up and get it working,
including a sample sketch (as shown in reply #26) and even a really nice wiring diagram on page 365
(attached) and some debugging information in the section.


I see a potentially big problem with that really nice wiring diagram.

(1) There aren't very many LCD modules out there (at least I haven't run into any) with the row of terminals at the lower right.
(2) There are some, but not very many, LCD modules with pin 1 near the center and pin 14 (or 16) near the edge of the pc board.

Since most LCD modules seem to have the terminals at the upper left it is quite possible that his display was simply rotated 180 degrees to match the diagram and then connected exactly backwards by following the diagram, especially if the display has no pin numbers, if the pin numbers are on the bottom, or if the user didn't realize their significance.  In that case the backlight works but nothing else will work, especially if any smoke comes out.


Don

NickPyner


]There is nothing in the original post that mentions anything specific about the LCD that he is using or the code that he is trying to run it with.  I don't see any mention about whether he is or is not using a shield as the word 'shield' appears nowhere in the post.


Yes there is. He said with a startling clarity that only bad punctuation can provide

".ive used sample progs from tronixstuff..... "

Now, how clear is that?

Your reading skills might be a bit limited, but you only had to stagger to the second line. I made an assumption that he is not using the freetronics shield, for which the tronixstuff code was written, hence his problem. I guess you had difficulty reading my posts as well, but I had the same problem, with the same code for the same reason, hence my posting a solution - which worked for me.


Go Up