Modding LCD - powers up but no info...

Discussion in 'Modding' started by Goldfish, 14 Jul 2004.

  1. Goldfish

    Goldfish What's a Dremel?

    Joined:
    4 Jul 2004
    Posts:
    168
    Likes Received:
    0
    Ok sorry to start a new thread on the same topic but it seems other people have had this problem too, and the other thread wasn't particularly on the topic of "how the hell do i get this thing to work!", but it kinda went that way anyway!

    The LCD in question is a 2x16 HD44780 generic screen from Maplin's.

    Hookay. I've wired up the LCD to the paralell port. Wiring is 100% correct, I've checked against several diagrams and its all fine. Power is from the 5V+ rail. When the machine boots, it shows the top line full back charachters, and the bottom is blank.

    When I try to send information to it, the screen goes completley blank. Nothing. Nada. And it stays this way until the next boot. I've tried using port95nt, and winio.dll for the port-driver, but neither of them seem to do anything. I'm pretty sure its a software problem. The thing is I've not actually seen how you're supposed to install these port-drivers. port95nt seems to just be an installer... which I presume works, and winio.dll i copied to the system32 dir. Do I need to register it or somthing?

    Anyway, has anyone had this same problem, and what was the solution?
     
  2. Nexxo

    Nexxo * Prefab Sprout – The King of Rock 'n' Roll

    Joined:
    23 Oct 2001
    Posts:
    34,540
    Likes Received:
    1,932
    What software do you use to actually run the LCD? The drivers you mention just enable software to work with it, but then you still need something like LCDC...
     
  3. Goldfish

    Goldfish What's a Dremel?

    Joined:
    4 Jul 2004
    Posts:
    168
    Likes Received:
    0
    Oh yes, sorry.

    I've tried LCD studio, LCDC (but that doesnt work with paralell connections) and also the Winamp Plugin. All give the same results. Thus why I'm thinking its the port driver thats the problem.
     
  4. fg0d

    fg0d Banned

    Joined:
    18 Jan 2004
    Posts:
    779
    Likes Received:
    0
    check your soldering, its often a problem ypu wouldnt think of
     
  5. Goldfish

    Goldfish What's a Dremel?

    Joined:
    4 Jul 2004
    Posts:
    168
    Likes Received:
    0
    I've checked my soldering so many times, and I'm totally sure its right. Completley sure. What makes me think that its software is someone else had this problem on a previously working module when they installed port95nt.
     
  6. fg0d

    fg0d Banned

    Joined:
    18 Jan 2004
    Posts:
    779
    Likes Received:
    0
  7. Goldfish

    Goldfish What's a Dremel?

    Joined:
    4 Jul 2004
    Posts:
    168
    Likes Received:
    0
  8. coorz

    coorz Miffed

    Joined:
    25 Apr 2003
    Posts:
    1,382
    Likes Received:
    2
    Still not working eh?
    Try LCDInfo 0.6 beta, this one doesn't need any port driver. Select the HD44780 driver and configure / crosscheck the settings (pin layout) in the driver config dialogue.
     
  9. LiL_MJ

    LiL_MJ What's a Dremel?

    Joined:
    4 Nov 2003
    Posts:
    109
    Likes Received:
    0
    try changing you BIOS settings for parallel. :)
     
  10. malcolm

    malcolm What's a Dremel?

    Joined:
    8 Mar 2004
    Posts:
    108
    Likes Received:
    0
    I've found the best way to ensure your LCD is playing the game right is test run it on a 98 box first. In my experience there are less 'peculiarities' to rear their heads up, if you know what I mean ;) Failing that, at least try another XP PC. :)
     
  11. Firehed

    Firehed Why not? I own a domain to match.

    Joined:
    15 Feb 2004
    Posts:
    12,574
    Likes Received:
    16
    Well it sounds like it's wired correctly. Try using crystalcontrol software (from crystalfontz.com) to mess around as it supports HD44780's in addition to their own line of serial/usb displays.
     
  12. Goldfish

    Goldfish What's a Dremel?

    Joined:
    4 Jul 2004
    Posts:
    168
    Likes Received:
    0
    Ok, in order!

    coorz - That program still gives me nothing :( I checked the wiring and it is exacly as it should be and still nothing :(

    LiL_MJ - unfortunatley this IBM PoS doesnt have any settings in Bios other than "on/off", so unfortunatley thats not an option :( On the other machine I tested it on though, had the same problem and none of the settings in BIOS made any difference

    malcom - unfortunatley I don't happen to have a 98 box knocking around here, so I can't really do that either.

    Firehed - I'm just gunna go download that software, see if I get anything out of it.

    Hmm, interesting. Vaary interesting. The screen seems to flicker, but with that Crystalfontz software, the test screen doesnt go away at all... it seems to be strobing but not displaying any data. Hmmmmmmm.....
     
    Last edited: 15 Jul 2004
  13. Firehed

    Firehed Why not? I own a domain to match.

    Joined:
    15 Feb 2004
    Posts:
    12,574
    Likes Received:
    16
    Hmm... perhaps it's not the soldering job but actually a bad wire. Like it kinda got destoryed internally.

    You do have screens set up for it (crystalcontrol) right? Sounds better though... kinda.

    Also, check your control panel and make sure the transfer speed within crystalcontrol is the same as it's set for the parallel port, and make sure there aren't any jumpers or whatnot trying to make it run at a different speed.
     
  14. Goldfish

    Goldfish What's a Dremel?

    Joined:
    4 Jul 2004
    Posts:
    168
    Likes Received:
    0
    In CrystalControl I'm trying to display windows version and windows build.

    The speed... I'm not sure about that as its set to "0" and there are no other options. As far as I can tell there are no jumpers relating to the paralell port at all. I did do a continuity check on the wires to make sure I had them in the right order, so I think they should be ok.

    In LCDInfo there is a "Slow HD44780" checkbox, but that doesnt seem to do anything either. I tried chaning the pins around and nothnig. Humm.

    I am slightly confused about the configuration in LCDInfo. It says "Notes for 4-bit mode. Connect D4-D7 of the LCD to D0-D3 of the LPT port"

    What on earth does that mean?
     
  15. Smilodon

    Smilodon The Antagonist

    Joined:
    25 Mar 2003
    Posts:
    6,244
    Likes Received:
    102
    just one thng: how long is the parallellcable you are using? and how is the thing connected to ground? (grounded only on PSU,only on paralellport, or both?)

    The testpattern you get on startup is generated on startup i think, so it really only shows that the LCD gets power and is ok... Also: don't use the testpattern to set the contast after... it always get wrong (you can see the testpattern, but not the letters and so on...) tru turning the conrast pot for each new thing you try...
     
  16. Goldfish

    Goldfish What's a Dremel?

    Joined:
    4 Jul 2004
    Posts:
    168
    Likes Received:
    0
    Yep all the test I've done ive moved the contrast through full 10k range.

    The module is grounded only through the PSU. The cable used to be about 2m long, but now its about 1m long (lots of stripping).

    The testpattern shows that its getting power ok, and that the controller isn't fried (probably isnt anyway :S) ... so that shouldnt be a problem.

    Should I connect the paralell port pins to ground? :confused:
     
  17. Smilodon

    Smilodon The Antagonist

    Joined:
    25 Mar 2003
    Posts:
    6,244
    Likes Received:
    102
    yeah...

    http://www.myrolypoly.com/lcd_project/lcd_project.html go to this page and scroll down to the chematic posted there (i don't want to post the image directly, and i'm to lazy to host myself ;) )

    as you can see some of the pins are connected to ground... i don't know if it will help, but you could try... It could be some differences in the voltages there, making the signal levels to low...

    also: are you sure you havent connected everything on the D-sub connector mirrored?
     
  18. Firehed

    Firehed Why not? I own a domain to match.

    Joined:
    15 Feb 2004
    Posts:
    12,574
    Likes Received:
    16
    Just looked at the CC settings... do you also have it set to 0x378 for the parallel port and the size set correctly? And check your bios, make sure parallel is enabled and set to 0x378.

    Those pins being grounded shouldn't matter... only about half of the schmatics I've read mention those and they're all a copy of that one anyways. In fact they're ground pins already so they really don't need to be connected to ground.
     
  19. Goldfish

    Goldfish What's a Dremel?

    Joined:
    4 Jul 2004
    Posts:
    168
    Likes Received:
    0
    I have it set to 0x378 yes, checked that against the page on Device Manager, and it is correct (if XP is telling the truth anyway!)

    I'm fairly sure I've wiried it the right way around, as the connector im using has numbers next to the pins... but I'll check that anyway :)

    Thanks peeps :D
     
  20. crystalfontz

    crystalfontz What's a Dremel?

    Joined:
    9 Nov 2001
    Posts:
    14
    Likes Received:
    0
    For testing cabling with parallel displays, CFAH_WinTest can be handy.
     

Share This Page