Results 1 to 16 of 16

Thread: LCD Panel Fun

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2001
    Posts
    521

    LCD Panel Fun

    Want to do something like this?

    If so, you need:
    - soldering iron, flux & solder
    - LCD panel
    - male SUBD 25 pin connector (i.e. parallel port connector), or a printer cable
    - 2 AA batteries and a battery holder
    - a small amount of knowledge of soldering

    If anyone is interested, I'll show you how to do this...

  2. #2
    Hyperactive Member Knowledge_is_Et's Avatar
    Join Date
    Dec 2001
    Location
    An Oak.
    Posts
    305
    I'm sorry, but doing that kind of circuit on perfboard is so horribly frightening It took me 5 minutes to recover from the shock. Even what you did in that picture it looks scarier than elmo...Good luck to anyone else who wants to try.

    very impressive...
    Now returning to the world of VB. Please make sure your seatbelts are securely fastened and all trays are in their upright and locked position.

  3. #3
    Fanatic Member
    Join Date
    Jun 1999
    Location
    California, USA
    Posts
    662
    actually, i'm very interested in how you managed to connect an lcd panel to your computer. would you mind giving me a few resources to help get me started?

    was the font you used included with the lcd panel circutry? are you able to programatically set or clear the individual pixels?

    i'd like to eventually hook up a large led board (those wide red ones, not the full color things you see all over the place in Las Vegas)

  4. #4
    Lively Member Wah's Avatar
    Join Date
    Aug 2002
    Location
    colchester (Up the U's)
    Posts
    82

    koooooooooool

    kooooooooooooooool got more info ????????
    Up the U's, Up the U's. Up The Good Old White And Blues
    When We Get Together What a Game We'll See We're As Strong As The Old The Old Oak Tree
    All For One And One For All We're Football Good And Clean
    BULLSH*T
    You Can Hear The Crowd Sing "Oi We've Got A Team"
    Up the U's, Up the U's. Up The Uoooos's

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2001
    Posts
    521
    Knowledge_is_Et:
    a) That's a wishboard, not a perfboard ;P Wishboards don't require soldering...
    a) You did not read what I said the requirements were. You won't need a wishboard or any chips. Those are so I can protect my parallel port when doing questionable things and seeing the status of the pins. You can connect the parallel port directly to the LCD.

    Everyone
    http://www.epemag.com/lcd1.pdf is a good place to go to understand how to talk to standard character displays (which is what I use). In that pdf document you will be able to find a page that shows all the different pre-programmed characters available. In addition, you can have up to 8 user-programmed characters (where you set each individual pixel in the 5x8 grid). Once you figure them out (which was a pain and required a lot of perseverence), the instructions to control the panel are quite simple. I'm not sure anything out there does a really good job of explaining, so if you wanted to do this, I'd write up my own FAQ on the topic.

    Here's a list of resources which seem to be better than what google produced: http://links.epanorama.net/links/project_display.html

    Just a little warning to those who have gone off and played with this like I did, without consulting many resources: Long, unshielded wires are BAD. At first I connected the parallel port with the lcd panel using an IDE-like cable which was 3 feet long. The panel acted very weird; the reason was interference.

    FYI: I keep saying parallel port because it's good to be consistent. What I'm talking about is the printer port on your computer. I'll also call it LTP1, since that's a concise way of describing it. I constructed my setup so that I'd connect the board with the computer using a standard printer cable, so I wouldn't have to construct any long cables...
    Last edited by VictorB212; Feb 26th, 2003 at 03:20 PM.

  6. #6
    Hyperactive Member Knowledge_is_Et's Avatar
    Join Date
    Dec 2001
    Location
    An Oak.
    Posts
    305
    Wow! Thats not all actually necessary? That is very impressive, and I thank you for putting this up. I'm an enthusiast (although I really don't know too much, I prefer High Voltage) and this is just amazing. I thought you would actually have to mess with the motherboard itself to figure out whats going on. Thank you!

    P.S: I know thats not perfboard (I call them solderless circuit boards), but I figure in order to make it last more than a week I would need to actually solder it, not just put it together like you have.
    Now returning to the world of VB. Please make sure your seatbelts are securely fastened and all trays are in their upright and locked position.

  7. #7
    Lively Member
    Join Date
    Aug 2001
    Posts
    82
    Cool! I really dig this kind of stuff! Thanks and if you have more info on ICs and stuff like that, please send it to me email or PM!!!
    If you think I am wierd, then thats YOUR problem!

    -----------------------------------

    I keep snakes and lizards, wanna know more? PM me

  8. #8

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2001
    Posts
    521
    Ehh, modify that to 3 AA batteries, kinda forgot that ~5 volts is needed. All you need are the batteries and what I listed above, IC's are not required...

  9. #9
    Lively Member Wah's Avatar
    Join Date
    Aug 2002
    Location
    colchester (Up the U's)
    Posts
    82

    lcd

    where abouts could i get an lcd panel....i need a site that ships to the uk ????
    Last edited by Wah; Sep 10th, 2002 at 03:10 PM.
    Up the U's, Up the U's. Up The Good Old White And Blues
    When We Get Together What a Game We'll See We're As Strong As The Old The Old Oak Tree
    All For One And One For All We're Football Good And Clean
    BULLSH*T
    You Can Hear The Crowd Sing "Oi We've Got A Team"
    Up the U's, Up the U's. Up The Uoooos's

  10. #10
    Lively Member RobIII's Avatar
    Join Date
    Jul 2002
    Location
    Netherlands
    Posts
    112
    Cool!

    Please, tell us more.
    You have some code? How do you control the LPT port?
    Rob.

    Window XP: From the makers of DoubleSpace...

    Press ANY key... NO, NO, NO!!! NOT THAT ONE!!!!

  11. #11
    Lively Member RobIII's Avatar
    Join Date
    Jul 2002
    Location
    Netherlands
    Posts
    112
    Hellooooow... Still alive?
    Rob.

    Window XP: From the makers of DoubleSpace...

    Press ANY key... NO, NO, NO!!! NOT THAT ONE!!!!

  12. #12

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2001
    Posts
    521
    Sorry, was busy the last few days. Here are the declares that you use w/the IO.dll that I found somewhere:
    VB Code:
    1. Public Declare Function PortIn Lib "IO" (ByVal Port As Integer) As Byte
    2. Public Declare Sub PortOut Lib "IO" (ByVal Port As Integer, ByVal Value As Integer)
    3. Public Declare Sub SetPortBit Lib "IO" (ByVal Port As Integer, ByVal Bit As Integer)
    4. Public Declare Sub ClrPortBit Lib "IO" (ByVal Port As Integer, ByVal Bit As Integer)
    5. Public Declare Sub NotPortBit Lib "IO" (ByVal Port As Integer, ByVal Bit As Integer)
    6. Public Declare Function GetPortBit Lib "IO" (ByVal Port As Integer, ByVal Bit As Integer) As Integer
    7. Public Declare Sub RightPortShift Lib "IO" (ByVal Port As Integer, ByVal ShiftIn As Integer)
    8. Public Declare Sub LeftPortShift Lib "IO" (ByVal Port As Integer, ByVal ShiftIn As Integer)
    9.  
    10.  
    11. Public Const DPort = &H378
    12. Public Const SPort = &H379
    13. Public Const CPort = &H37A
    The three ports (DPort, for Data Port, CPort, for Control Port, and SPort, for status port) are the standard ports if you have an LTP1 port on your motherboard.

  13. #13
    Lively Member RobIII's Avatar
    Join Date
    Jul 2002
    Location
    Netherlands
    Posts
    112
    Could you post the IO.dll as well? Does it work under XP/NT/2000 or just 95/98/ME? Is it freeware?
    Rob.

    Window XP: From the makers of DoubleSpace...

    Press ANY key... NO, NO, NO!!! NOT THAT ONE!!!!

  14. #14

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2001
    Posts
    521
    http://home.attbi.com/~labreuer/IO.DLLIt works on NT, though you have to register it under an admin account as a kernel-mode driver. It works on 9x w/out a problem. It's freeware.

  15. #15
    New Member
    Join Date
    Apr 2002
    Posts
    9
    "works on NT, though you have to register it under an admin account as a kernel-mode driver."

    Hello,

    Could you please explain how to register a dll as a kernel-mode driver?

    I want to replace inpout.dll with io.dll in an existing project to ensure Win2K compatibility, but the app crashes when any of the io.dll port procedures are called.

    Interestingly my VB app works correctly if I have the parmon application (written by the same guy that wrote io.dll) running, which suggests to me that I am not initialising or registering the dll properly.

    Thanks.

  16. #16

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2001
    Posts
    521
    The reason it works when the other program is running is that io.dll is running in shared mode, where multiple programs can use it at once. Either put it in the same directory as the exe/project that you are using, or put it in the system32 folder of WINNT (or the system folder of the Windows OS you are using). The first time you try to use the functions in it, you'll get a little pop-up message that says you have to restart and logon as an administrator. After you do that, it is registered, and you can use it freely.

Posting Permissions

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



Click Here to Expand Forum to Full Width