Driving a 2x16 LCD with only One Pin and 74HC595


Closed Thread
Results 1 to 21 of 21

Hybrid View

  1. #1
    Join Date
    Jan 2014
    Posts
    10


    Did you find this post helpful? Yes | No

    Default Re: Driving a 2x16 LCD with only One Pin and 74HC595

    Now im confused

    LCD_Init _Only the First 4 Commands (2 Steps):


    Step1: shiftout 1 byte.
    Enable_High + Data high nibble + Latch => nearly 910µs (Delay at the next Command)

    Step2: shiftout 1 byte
    Enable_Low + Data high nibble + Latch => nearly 910µs (Delay at the next Command till Latch)

    => 1,8 µs => extra delay necessary.

    Next Command....

    The 3 others Commands 4 Steps ; (see after LCD Init)


    After LCD Init (4 Steps): (Commands without RS)

    Step1: shiftout 1 byte.
    RS + Enable_High + Data high nibble + Latch => nearly 910µs (Delay at the next Command or Data)

    Step2: shiftout 1 byte
    RS + Enable_Low + Data high nibble + Latch => nearly 910µs (Delay at the next Command or Data)

    Step3: shiftout 1 byte
    RS + Enable_High + Data low nibble + Latch => nearly 910µs (Delay at the next Command or Data)

    Step4: shiftout 1 byte
    RS + Enable_Low + Data low nibble + Latch => nearly 910µs (Delay at the next Command or Data till Latch)

    => 3,6µs

    Next Command or Data....


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


    Did you find this post helpful? Yes | No

    Default Re: Driving a 2x16 LCD with only One Pin and 74HC595

    Or I'm confused, not sure.
    I see how it takes 4 "steps" just to toggle the E line.

    But, the LCD will not accept any data or commands while it is busy.
    Even though it takes 4 steps ... you are clocking in the first nibble after the first 2 steps 1.82 mS.

    The HD44780 datasheet timing diagrams show that the first nibble can't be clocked in until after the last command is complete (not busy).
    There is no text that confirms it, but that's what the timing diagrams show.
    DT

Similar Threads

  1. 2x16 LCD Graphics :)
    By Art in forum General
    Replies: 51
    Last Post: - 13th June 2015, 12:02
  2. Need advice with LCD 2x16
    By fratello in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 26th April 2011, 07:58
  3. LCD via 74HC595
    By helloo in forum General
    Replies: 7
    Last Post: - 31st October 2010, 21:49
  4. 2x16 lcd problem
    By k3v1nP in forum mel PIC BASIC
    Replies: 11
    Last Post: - 30th October 2008, 05:46
  5. small 2X16 LCD
    By Ron Marcus in forum Off Topic
    Replies: 2
    Last Post: - 26th October 2007, 21:37

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