Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/09/07 14:55
Read: times


 
#130505 - Wrong plenty of research
Responding to: ???'s previous message
Russell Bull said:

Originally the LCD was a bus device. As time has moved on the old hitachi controller is woefully slow for such a task, so we have to 'bit bash' the interface - that is we toggle the LCD signals with code rather than relying on the internal hardware to do it for us.

So the LCD control signals just connect to port pins. See the tutorials section on how to bit bash the LCD interface.

If the software is well written, it is just a matter of changing a few routines to cope with the difference.

The signals you need to take care of are:

E
R/!W
RS
D0..7 (there is also a 4bit mode so you only need 4 data bits)

Depending on what the code expects, you can also not use the R/!W bit and tie it low (write only) as most of the time you only send data to the LCD. The only data usually read from the LCD is the ready status , but you can just use a time delay instead.

Hi Russell:
I did research it. I even set up my LCD to work with data bus switches and pull up resistors to try learn better how display works without a microcontroller controlling the rs,rw, e strobe and data bus D0-D7. Wright now I am not ready learn 4 bit bus if I can learn 8 bit I will be content. Yes it does work, but it will not help me understand how find the code differances in 80c31 w/r rd. I looked at this code 5 and 6 times trying understand what the engineer did. The fact that I can not share code makes it even harder to explain. Since I am still learning and not an expert like you Russell it not easy. This engineer uses women's names like Mary,Amy,Sherry etc. as his labels. So I kind of confused as what he is doing with code even with comments.
I should not receive a negative coment because I don't understand the LCD differnces between the 80c31 and 89c4051 is no reason to give me negative comment. How about taking the negative comment away since I did do great deal of reasearch. Any way it's 25 pages of code even engineer talked to at C.C.I. did not understand completely. Because engineer that wrote this code also made test programs in the code. Five different programs with the test code makes it hard to follow if you are not and expert programmer.

Best regards,

Ralph Sac
















List of 44 messages in thread
TopicAuthorDate
How to create wr rd for E strobe on LCD            01/01/70 00:00      
   No research!            01/01/70 00:00      
      Wrong plenty of research            01/01/70 00:00      
         clock speed?            01/01/70 00:00      
            Erik it is 12 clocker            01/01/70 00:00      
               the question is moot ...            01/01/70 00:00      
         Wrong!            01/01/70 00:00      
            My error            01/01/70 00:00      
               Asm code            01/01/70 00:00      
                  missing boldface            01/01/70 00:00      
                  4051 has no port 0            01/01/70 00:00      
                     Tell me something I don't know!            01/01/70 00:00      
   when posting a schematic PLEASE do not do it in a            01/01/70 00:00      
      This why Erik            01/01/70 00:00      
         upset?            01/01/70 00:00      
            Your 1 True Love            01/01/70 00:00      
               I don't what happen but see below            01/01/70 00:00      
   AT89C4051 hardware            01/01/70 00:00      
      A better schematic post            01/01/70 00:00      
         Understanding the schematic will help.            01/01/70 00:00      
            Thanks for the your reply            01/01/70 00:00      
               Which ports you use doesn't matter ...            01/01/70 00:00      
   LCD interface            01/01/70 00:00      
      Thanks for the comment            01/01/70 00:00      
         Cant post code?            01/01/70 00:00      
      Yikes, that interface is old-skool !            01/01/70 00:00      
         yikes, your attitude sucks            01/01/70 00:00      
         You don't like my idea            01/01/70 00:00      
            It is here!            01/01/70 00:00      
               don't quite understand            01/01/70 00:00      
                  I can            01/01/70 00:00      
                     commodore 64            01/01/70 00:00      
   STOP - THINK - START OVER            01/01/70 00:00      
      Thanks for your comments            01/01/70 00:00      
         You must know what is required            01/01/70 00:00      
            an addition            01/01/70 00:00      
               shortcut            01/01/70 00:00      
                  in response to Andy, there is now one worse            01/01/70 00:00      
                     That's why these queries continue to appear HERE!            01/01/70 00:00      
                     Mapquest            01/01/70 00:00      
   Nice Thread. Lots of passion.            01/01/70 00:00      
      This was a popular PIC demo about 15 years ago            01/01/70 00:00      
         We're dating ourselves a bit arent we?            01/01/70 00:00      
            Well ... Yes ... maybe ... those were the days ...            01/01/70 00:00      

Back to Subject List