Newhaven 4x40 LCD, issues!


Closed Thread
Results 1 to 28 of 28

Hybrid View

  1. #1
    Join Date
    Jan 2009
    Location
    Alabama,USA
    Posts
    232


    Did you find this post helpful? Yes | No

    Default Re: Newhaven 4x40 LCD, issues!

    I have a display now. After making some fine adjustments to Vo, characters are writing as they should. Using both LCDOUT and hammering out the commands as in the code above. More to come!

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


    Did you find this post helpful? Yes | No

    Default Re: Newhaven 4x40 LCD, issues!

    A 4x40 is really two 2x40's.
    And it can be handled this way ... http://www.picbasic.co.uk/forum/show...=2388#post2388
    DT

  3. #3
    Join Date
    Jan 2009
    Location
    Alabama,USA
    Posts
    232


    Did you find this post helpful? Yes | No

    Default Re: Newhaven 4x40 LCD, issues!

    Thanks for the link Darrel, I'll check this out. It looks like it will solve my problem.

    Thanks again!
    Wayne

  4. #4
    Join Date
    Oct 2005
    Location
    New Jersey
    Posts
    425


    Did you find this post helpful? Yes | No

    Default Re: Newhaven 4x40 LCD, issues!

    Talk about timing. I just received two Newhaven OLED 4x20 LCD's in the mail today (http://www.newhavendisplay.com/specs...420DZW-AY5.pdf). A couple of questions:

    I am putting this on a Microchip demo board (MCP2515) and I can't use all of Port B. Can I use any 8 pins that are free? Also, what is 4 bit operation and is it worthwhile to use it? The datasheet says that 4 lines aren't used when it's in 4 bit operation so I'm curious of using 4 less pins would be advantageous without losing any clarity on the LCD screen.

    Sorry to hi-jack the thread but it seems appropriate in this case.
    Last edited by Christopher4187; - 5th September 2012 at 00:12.

  5. #5
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default Re: Newhaven 4x40 LCD, issues!

    Dave
    Always wear safety glasses while programming.

  6. #6
    Join Date
    Oct 2005
    Location
    New Jersey
    Posts
    425


    Did you find this post helpful? Yes | No

    Default Re: Newhaven 4x40 LCD, issues!

    Thanks for the link. Regarding my other question, is there any great benefits to using 8 bit (clarity/speed) or will 4 bit do the job? If 4 bit will do the job, just so I understand correctly, I need 7 pins from the PIC:

    1. RS
    2. R/W
    3. E
    4. Low order, bi-directional (1)
    5. Low order, bi-directional (2)
    6. Low order, bi-directional (3)
    7. Low order, bi-directional (4)


    Am I on the right track?

  7. #7
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default Re: Newhaven 4x40 LCD, issues!

    R/W goes to VSS.

    8 bit is a tad faster by the math but I do not think it is humanly noticeable. I never use 8 bit as pins get ...expensive...
    Dave
    Always wear safety glasses while programming.

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