Results 1 to 3 of 3

Thread: has anyone fooled with the 40x4 LCDs?

  1. #1
    Newbie
    Join Date
    Oct 1999
    Posts
    9

    Post has anyone fooled with the 40x4 LCDs?

    Just wondering of anyone has had any luck with the 40x4 LCDs. I had a Matrix Orbital (I think?) with dual HD44780's on it, and wrote some C++ code for it. But alas, I hooked to +12 rather than +5 (What an idiot!) and smoked the piece. I put my mp3 project aside for several months. This has beenm a while ago, so before ordering another 40x4, I wanted to see if anyone has been able to decently control both HD44780's. I know the theory of how it works, and I my code addressed it. I just didnt get a chance to see if it all worked. As I understand it, all you have to do is strobe the E pin of the controller you want to send commands or data to high, send, and strobe the E off.

    Let me know.

    -cyalume

  2. #2
    Variable Bitrate
    Join Date
    Aug 1999
    Location
    Yorba Linda, CA
    Posts
    323

    Unhappy

    I wrote some code to control a 40x4 with dual 44780 controller chips on it. I wrote a small class in Delphi to control the LCD from Windows. You have to treat the display as two separate displays. In your string output routines you have to use the 2nd enable line for the display rows connected to the second controller. I believe the first controller chip handles the odd rows and the second controller handles the even ones.

    My interface was different than your application -- I was using a serial interface I developed so I could run a single piece of cat 5 network cable to the front of the car to connect a keypad and LCD plus provide a regulated 5V.

    I once got a hold of about 6 old SCSI drives from some Sun 3 computers -- 200 MB each -- I made a custom cable that had non-standard wire colors. To make a long story short, by the time I realized what had happened, I had crossed the +5V and +12V lines on all 6 drives!

    I can dig up the code I wrote to help you if you need. Beyond the serialization / deserialization code the interface is the same as what you are doing.


    --Jason
    http://www.m2pc.com

    [This message has been edited by jjohnson (edited 01-06-2000).]
    Jason Johnson
    Yorba Linda, California
    http://www.m2pc.com

    M²PC Phase IV - *** PENDING ***

  3. #3
    Variable Bitrate
    Join Date
    Aug 1999
    Location
    Yorba Linda, CA
    Posts
    323

    Unhappy

    Testing, 1, 2, 3...
    Jason Johnson
    Yorba Linda, California
    http://www.m2pc.com

    M²PC Phase IV - *** PENDING ***

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •