Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: So i got a 40x4 off ebay...

  1. #1
    Maximum Bitrate MikeHunt79's Avatar
    Join Date
    Aug 2001
    Location
    Cambridge & Bristol, UK
    Posts
    707

    So i got a 40x4 off ebay...

    I've wired up 16x2 character lcd's fine before, but this lcd is wierd. I hoped to wire it up using the following diagram, since this LCD has HD44780 controllers:



    But, when I opened the box, I found some wierd daughterboard attached, which looked like a parallel to serial adaptor. It looked homemade, and the only two chips on it were a MAX232 and a PIC16C54. Once I got the daughterboard off, I then went to solder everything like the diagram above, except I could see that the pin coniguration was not the same. Heres a picture:



    Pin 1 is the 1st pin on the left of the lcd, and I think it is meant to be ground since you can see the trace is connected to the LCD mounting point. Yet if you look at the wiring disgram above, you can see that pin 1 on the LCD is meant to be DB7, a data line. Also, pin 6 on the LCD appears to be not connected to anything on the LCD. There are no traces to the pin on either side of the PCB.

    I have absolutely no info on this LCD, it appears to be manufactured by "UFC", since thier logo is on it. By thier logo, "UFC101" and "94V0" is written. I've tried searching for datasheets based on these model numbers (?), but with no luck. I've also tried asking the e-bay seller, but he hasn`t replied yet. I've even tried to find a site detailing how to build that daughterboard thing, so I could find how it was connected to the lcd, and determine the pinout.

    I was wondering if anyone has encountered this LCD before (the e-bay seller has sold more than one), or does anyone here know how to see what pin does what by looking at the traces on the LCD? Maybe someone knows of some big LCD datasheet database that I don`t know about?

  2. #2
    Raw Wave Rob Withey's Avatar
    Join Date
    Apr 2000
    Location
    Bedfordshire, UK
    Posts
    2,139
    If you can't find a datasheet on the display, I suggest tracing the tracks to find out what some of the pins are.

    Datasheet on the 44780 : http://draco.rotol.ramk.fi/~crope/el...sheet/HD44780/


    Rob
    Old Systems retired due to new car
    New system at design/prototype stage on BeagleBoard.

  3. #3
    Maximum Bitrate MikeHunt79's Avatar
    Join Date
    Aug 2001
    Location
    Cambridge & Bristol, UK
    Posts
    707
    Cheers rob, thats exactly the sort of thing I was after...

    Even tho my display has HD44780A00 controllers and not HD44780U controllers, the pinout is apparently the same. With any luck I should have this damn thing working by tonight!

  4. #4
    Maximum Bitrate MikeHunt79's Avatar
    Join Date
    Aug 2001
    Location
    Cambridge & Bristol, UK
    Posts
    707

    Talking YAY!

    After spending most of the day soldering.... I got it going! I managed to work all but one of the pins out, but the process of elimination soon sorted it.



    At the moment, I can only get lcdprint.exe to use the whole display. Both MPXPLAY and markus' winamp plug-in refuse to work properly... but I should be able to sort it with time.

    Also, I'm not sure why the display seems so streaky?... I`m not sure of the age of this display, but I`m sure I should be getting better quality than the pic above. Has anyone else had similar results to this?

  5. #5
    Variable Bitrate peter3's Avatar
    Join Date
    Feb 2001
    Location
    The Netherlands (deventer)
    Posts
    238
    With the plugin from markus:

    start winamp
    press ctrl-p
    select general purpose
    highlite LC Display XXXXXXX
    press configure
    select display type (HD44780 win9x or win nt )
    press configure
    and select 8bit and 2 controller and the rest

    and this will do the trick

    good luck with this great plug-in
    PETER - THE NETHERLANDS - DEVENTER
    sproggy 2.8,epia c3-800,20Gb 2.5", 5.6"lcd,touchscreen.

  6. #6
    Constant Bitrate
    Join Date
    Oct 2002
    Posts
    176
    so did you end up with non standard wiring?
    does the smearing go away when you reduce the contrast?

  7. #7
    Raw Wave Rob Withey's Avatar
    Join Date
    Apr 2000
    Location
    Bedfordshire, UK
    Posts
    2,139

    Re: YAY!

    Originally posted by MikeHunt79
    Also, I'm not sure why the display seems so streaky?... I`m not sure of the age of this display, but I`m sure I should be getting better quality than the pic above. Has anyone else had similar results to this?
    I think LCD displays go like that when they get old. I've got a very old monochrome laptop that has gone streaky in a similar way.


    Rob
    Old Systems retired due to new car
    New system at design/prototype stage on BeagleBoard.

  8. #8
    Maximum Bitrate MikeHunt79's Avatar
    Join Date
    Aug 2001
    Location
    Cambridge & Bristol, UK
    Posts
    707
    peter3: I tried all of that, with no luck... I`m gonna check my wiring again, and see then. I`m not too worried about winamp use at the moment, this is gonna be for MPXplay. I managed to find the latest version today, and apparently it has better support for 4x40 LCD's, so I`m gonna have a go at it today. Thanx for the tips tho.
    Originally posted by davesaudio2
    so did you end up with non standard wiring?
    does the smearing go away when you reduce the contrast?
    Yep, I did end up with non-standard for this LCD. I might aswell post a pinout incase anyone has the same problem in the future, or I ever loose my sheet of paper with it on.

    LCD Pin 1: Vss (GND)
    LCD Pin 2: Vcc (5V)
    LCD Pin 3: Vee/Vlc
    LCD Pin 4: RS
    LCD Pin 5: R/W
    LCD Pin 6: Not Connected
    LCD Pin 7: DB0
    LCD Pin 8: DB1
    LCD Pin 9: DB2
    LCD Pin 10: DB3
    LCD Pin 11: DB4
    LCD Pin 12: DB5
    LCD Pin 13: DB6
    LCD Pin 14: DB7
    LCD Pin 15: E1
    LCD Pin 16: E2

    The point you raised about contrast... Well, I didn`t bother with the 10k pot, I simply wired pin3 to ground (full contrast). So, sometime today, I`m gonna put in a 10k pot for the contrast, and see if I can get rid of the streaky problem. Thanx for the idea davesaudio2.
    Originally posted by Rob Withey
    I think LCD displays go like that when they get old. I've got a very old monochrome laptop that has gone streaky in a similar way.
    Was the laptop STN? I'm really hoping this isn`t the case, and I can sort this thing... Otherwise I`m gonna have to start searching for another 40x4... And it would have to be after spending all this time getting it going wouldn`t it.

  9. #9
    Maximum Bitrate MikeHunt79's Avatar
    Join Date
    Aug 2001
    Location
    Cambridge & Bristol, UK
    Posts
    707

    Talking YAY! x 2

    The contrast pot sorted it right out. The streakyness was because I had the contrast set to full. I backed it off a bit, and now it looks perfect. Also with a bit of tinkering, I got it going with Markus' Winamp Plugin. Heres a pic:

    Thanx for all your help guys - I wouldn't have managed it without you. I should be able to get this in the car today, then I should be able to post some pics in the "show of your project" forum.

  10. #10
    Low Bitrate theedge's Avatar
    Join Date
    Apr 2003
    Location
    Vancouver, BC
    Posts
    83
    Where are you mounting it in your car? Could you get some pics of it as youre sitting normally in the drivers seat please?

    Im thinking of doing a 5.6" lcd + 20x4 or 40x4 character setup, with the character display mounted in my field of view. Im just curious as to how readable it is from a distance

Page 1 of 2 12 LastLast

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
  •