Maker Pro
Maker Pro

How to read this timing diagram

Baris Yakut

Jan 1, 2016
1
Joined
Jan 1, 2016
Messages
1
Hello,

I am trying to write my own library for the usual 2x16 LCD. So, I downloaded the datasheet from: https://www.sparkfun.com/datasheets/LCD/HD44780.pdf

As a start, I'd like to write a function that sends an instruction. But I don't kinda get this diagram:

bi5h7t.png


I know there are dozens of examples out there but I'd like to know how to catch a fish.

It seems to me that I should first set E to high, then send 4 bits of data, then set E to low. Is this correct? E is being set to low in the middle of sending 4 bits of data confuses me. How long should I keep sending the data? How long should E stay in high state? Should I wait for some time before sending the second 4 bits of data?

I have these kind of questions as I am new to electronics. I would very much appreciate if someone can explain how to read these kind of diagrams.

Thank you
 

Minder

Apr 24, 2015
3,478
Joined
Apr 24, 2015
Messages
3,478
See these.
M.
 

Attachments

  • lcd2.pdf
    116.9 KB · Views: 76
  • lcd1.pdf
    258.8 KB · Views: 79
Top