4-line LCD Help - using PortA instead of B


Closed Thread
Results 1 to 29 of 29

Hybrid View

  1. #1
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762


    Did you find this post helpful? Yes | No

    Default

    Arch,

    that's what I thought, as it has an embedded 44780.

    Assuming Tom has got his hardware wired up properly I don't know how to slove his problem.
    regards

    Ralph

    _______________________________________________
    There are only 10 types of people:
    Those who understand binary, and those who don't ...
    _______________________________________________



  2. #2
    Join Date
    Feb 2005
    Location
    Bellevue
    Posts
    125


    Did you find this post helpful? Yes | No

    Default

    The Mfg sent along this note:


    --------------------------------------------------------------------------------
    quote: "All I see are row 1 and 3 with shading, rows 2 and 4 blank, and no text."
    --------------------------------------------------------------------------------

    This is a sign that the lcd controller is not initialized. A typical init sequence is:

    0x38 [wait 4mS] 0x38 [wait 100uS] 0x38 0x38 0x08 0x01 0x06 0x0C

    just like the data sheet shows. Apparently LCDOUT is not performing the init. I think it has an internal flag to keep track of the init, and it probably thinks it doesn't need to do it again. I'm not really familiar with that code.
    __________________

    Does anyone know how to 'manually send' those commands? What is 0x38, etc?

    Tom

  3. #3
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762


    Did you find this post helpful? Yes | No

    Default

    Tom,

    You definitely don't have to worry about "initialisation" with PBP and a 44780 (or compatible),
    PBP does it for you.

    you have either got a bug in your wiring or your LCD is "dead" (or even both)
    regards

    Ralph

    _______________________________________________
    There are only 10 types of people:
    Those who understand binary, and those who don't ...
    _______________________________________________



  4. #4


    Did you find this post helpful? Yes | No

    Default

    I have to agree with Ralph,you have a short somewhere or bad connection.

  5. #5
    Join Date
    Feb 2005
    Location
    Bellevue
    Posts
    125


    Did you find this post helpful? Yes | No

    Default

    OK, folks. Thanks for the help. I am going to rewire this to another LCD and see what happens. I agree something must have gotten messed up or fried, it just is not that complicated.

    Tom

  6. #6
    Join Date
    Oct 2004
    Location
    Porto - Portugal
    Posts
    30


    Did you find this post helpful? Yes | No

    Default

    Hi to you all

    I remembered that when I implemented Melanie's OLIMPIC TIMER with a Crystal Clear Technology LCD (with Hitachi controller) I couldn't have any character on dispaly until I set pull-ups on the four datas lines to LCD. I don't know if it could solve you problem, but I suppose it won't make things worst. maybe it deserves a try.

    Sometimes components...

    Have a nice weekend

    ps. - lcd from CCT can be bought throw ARROW, they are cheap (!?), we use it in our vending machines and so far so good...
    nomada

  7. #7
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    If you're still using the 18F2525, then you need to change ADCON1 = 7 to ADCON1 = 15 or PortA is setup for A/D inputs, and you'll never get a response from your LCD.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

Similar Threads

  1. Play with LCD on PICDEM
    By The IceMan in forum mel PIC BASIC
    Replies: 5
    Last Post: - 22nd August 2008, 16:56
  2. PIC16F684 + LCD to use the 256bytes of EEPROM - HELP
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 7th March 2008, 14:19
  3. Need help with LCD number display.
    By Steve Matson in forum mel PIC BASIC
    Replies: 8
    Last Post: - 26th June 2007, 23:07
  4. having problems with Hantronix 20x4 lcd
    By Rhatidbwoy in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 22nd December 2005, 12:22
  5. 4 line LCD with 16F88
    By anj in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 7th February 2004, 09:06

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