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 21:19
Read: times


 
#130537 - Thanks for the comment
Responding to: ???'s previous message
Andy Peters said:
Ralph Sac said:
How do use the wr rd E strobe for LCD when their is none on 89c4051. All I want to do is make a smaller microcontroller unit to do the same thing. What it does is it teaches you how to program any LCD that works like Hitachi type display. If you look at 80c31 in url I posted pin 16 goes to a 2 input nand gate of wr. And pin 17 rd goes to the other input of nand gate. Output goes to E strobe on the LCD. The 89c4051 is core part to 80c31 2 ports instead of 4 ports. The 89c4051 uses 4k flash memory. Except that 89c4051 is smaller 20 pin and 80c31 is 40 pin they function the same. The source code is 25 pages but well commented.


Yikes, that interface is old-skool. As others have said, your micro doesn't have the external-memory interface. the main problem is that the Hitachi LCD interface was designed to talk to a Motorola 68xx interface; the give-away is the presence of the E clock.

See here for my LCD page. I do an 8-bit LCD interface in a Silicon Labs 8051 variant. The main point is that you have to toggle E for the proper amount of time. It's this toggling that loads the stuff on the LCD's DB[7:0] into the thing during a write (R/W low) or causes the LCD to drive its data (R/W high).

My code points out the couple of SiLabs-specific details (mostly regarding port direction). Port assignments are arbitrary.

-a


Hi Andy:
I don't read c code or understand it at present. But thank you for comments anyway. I using a 12 clocker with this mcu at 11.05912 Mhz crystal. The fact that I can not post code does not help me explain exactly how this works.

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