Code that worked with WINDSTAR LCD doesn't work with Newhaven LCD?


Closed Thread
Results 1 to 37 of 37

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default

    Also could be as simple as a contrast voltage issue (Vo). Do you have a pot on the Vo pin?

    Also noticed pin 15 and 16 of the New Haven display are listed as NC in the data sheet, but the example schematic shows them as A+ and K- and shows then both grounded. So maybe you need some clarification from New Haven on how to connect up the display.
    Tim Barr

  2. #2
    Join Date
    Mar 2009
    Location
    Colorado
    Posts
    378


    Did you find this post helpful? Yes | No

    Default Thanks for comments

    Quote Originally Posted by falingtrea View Post
    Also could be as simple as a contrast voltage issue (Vo). Do you have a pot on the Vo pin?

    Also noticed pin 15 and 16 of the New Haven display are listed as NC in the data sheet, but the example schematic shows them as A+ and K- and shows then both grounded. So maybe you need some clarification from New Haven on how to connect up the display.
    Yes, I have a 20K ohm potentiometer connected as a Vo source for controlling contrast. I see the black matrix dots on the 1st line of the display when I power up with the pot set near 0 ohms....that is how Newhaven said I could tell if the LCD is alive and well and hasn't been zapped.

    You are right, that on the prototype PCB pins 15 and 16 are connected to ground...did that because that is wn on scheamtic on Page 4 of the LCD data sheet.....but we checked with Newhaven tech support and they said it doesn't make any difference whether pins 15 and 16 are grounded or left un connected for this particular module that doesn't have a backlight.

    Thanks for the comments, anyway...they help me keep thinking.
    Last edited by jellis00; - 14th April 2010 at 21:43.

  3. #3


    Did you find this post helpful? Yes | No

    Default

    Did you see the data sheet for line addresses? Look for "DDRAM" bottom page 6 in the LCD data sheet.

    Also have you set ADCON1 to %00001111 for all digital on porta?

  4. #4
    Join Date
    Jan 2009
    Location
    California, USA
    Posts
    323


    Did you find this post helpful? Yes | No

    Default

    Are you SURE you have the pinout correct on the New Haven display? It MAY not be the same as the windstar...

    I know nothing of Windstar, but I use quite a few Lumex displays, and have recently started using some New Haven displays, and the pinout on the NewHaven that I'm using is NOT the same as the Lumex.

    Lumex :

    Pin1 = Ground
    Pin2 = Vdd
    Pin3 = Contrast adjust

    New Haven:

    Pin1 = Ground
    Pin2 = Contrast adjust
    Pin3 = Vdd

    All other pins are the same except for 2 & 3 being swapped between NewHaven and Lumex.
    Can't vouch for the Windstar, but you might want to have a look at the data sheets again?


    Steve

  5. #5
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Byte_Butcher View Post
    ... and the pinout on the NewHaven that I'm using is NOT the same ...
    Awesome!
    Didn't see that coming, and I was looking at the datasheet, which agrees with you.

    Easy enough to test.
    Jellis, If you turn the contrast pot the other way, does it start smoking?
    OK, probably not the best way to test it.

    Add: Probably wouldn't anyway's, rats.
    <br>
    Last edited by Darrel Taylor; - 14th April 2010 at 23:18. Reason: add
    DT

  6. #6
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    I had a similar issue with a 16 x 2 LCD, which turned out required a voltage range between -5v and +5, and seemed to offer the ideal contrast when the voltage was around -3.5v

    Not saying this is the cause (haven't looked at the datasheet for your display), but it did catch me out.

  7. #7
    Join Date
    Jan 2009
    Location
    California, USA
    Posts
    323


    Did you find this post helpful? Yes | No

    Default

    When I bought my Newhaven displays, the pinout difference stood out immediately to me in the data sheet.
    On the Lumex, and all other displays I've used, the Vss, Contrast, and Vdd pins are laid out in a row with the contrast in the middle like the pins on a pot usually are, with a voltage across the "outer" legs and the wiper in the middle.

    The out of sequence power / contrast / ground sequence caught my eye right off.

    Sorry I didn't mention it sooner. I didn't think about it until the word "Newhaven" came up again in one of the later posts and sparked a brain cell....

    I hope that's the problem for Jellis00 !


    Steve

  8. #8
    Join Date
    Mar 2009
    Location
    Colorado
    Posts
    378


    Did you find this post helpful? Yes | No

    Default Newhaven LCD interface

    Quote Originally Posted by Byte_Butcher View Post
    The out of sequence power / contrast / ground sequence caught my eye right off.

    Sorry I didn't mention it sooner. I didn't think about it until the word "Newhaven" came up again in one of the later posts and sparked a brain cell....

    I hope that's the problem for Jellis00 !
    Unfortunately not, Steve.
    Here is data right out of the data sheet for my display and Contrast Vo is in the right plac:.
    Pin No. Symbol Function Description
    1 Vss Power Supply Ground
    2 VDD Power Supply Supply voltage for logic (+3.3V)
    3 V0 Power Supply Power supply for contrast (approx. 0.3V)

    My MCU interface to the Newhave LCD is correct with their data sheet and is shown in attached image. Still looking for the problem.
    Attached Images Attached Images
    Last edited by jellis00; - 15th April 2010 at 02:06. Reason: enter table of pins

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts