Welcome
Username or Email:

Password:


Missing Code




[ ]
[ ]
Online
  • Guests: 22
  • Members: 0
  • Newest Member: omjtest
  • Most ever online: 396
    Guests: 396, Members: 0 on 12 Jan : 12:51
Members Birthdays:
All today's birthdays', congrats!
Gavin (49)
Froskoy (33)
UnHappy1 (59)


Next birthdays
07/16 Gavin (49)
07/16 Froskoy (33)
07/16 UnHappy1 (59)
Contact
If you need assistance, please send an email to forum at 4hv dot org. To ensure your email is not marked as spam, please include the phrase "4hv help" in the subject line. You can also find assistance via IRC, at irc.shadowworld.net, room #hvcomm.
Support 4hv.org!
Donate:
4hv.org is hosted on a dedicated server. Unfortunately, this server costs and we rely on the help of site members to keep 4hv.org running. Please consider donating. We will place your name on the thanks list and you'll be helping to keep 4hv.org alive and free for everyone. Members whose names appear in red bold have donated recently. Green bold denotes those who have recently donated to keep the server carbon neutral.


Special Thanks To:
  • Aaron Holmes
  • Aaron Wheeler
  • Adam Horden
  • Alan Scrimgeour
  • Andre
  • Andrew Haynes
  • Anonymous000
  • asabase
  • Austin Weil
  • barney
  • Barry
  • Bert Hickman
  • Bill Kukowski
  • Blitzorn
  • Brandon Paradelas
  • Bruce Bowling
  • BubeeMike
  • Byong Park
  • Cesiumsponge
  • Chris F.
  • Chris Hooper
  • Corey Worthington
  • Derek Woodroffe
  • Dalus
  • Dan Strother
  • Daniel Davis
  • Daniel Uhrenholt
  • datasheetarchive
  • Dave Billington
  • Dave Marshall
  • David F.
  • Dennis Rogers
  • drelectrix
  • Dr. John Gudenas
  • Dr. Spark
  • E.TexasTesla
  • eastvoltresearch
  • Eirik Taylor
  • Erik Dyakov
  • Erlend^SE
  • Finn Hammer
  • Firebug24k
  • GalliumMan
  • Gary Peterson
  • George Slade
  • GhostNull
  • Gordon Mcknight
  • Graham Armitage
  • Grant
  • GreySoul
  • Henry H
  • IamSmooth
  • In memory of Leo Powning
  • Jacob Cash
  • James Howells
  • James Pawson
  • Jeff Greenfield
  • Jeff Thomas
  • Jesse Frost
  • Jim Mitchell
  • jlr134
  • Joe Mastroianni
  • John Forcina
  • John Oberg
  • John Willcutt
  • Jon Newcomb
  • klugesmith
  • Leslie Wright
  • Lutz Hoffman
  • Mads Barnkob
  • Martin King
  • Mats Karlsson
  • Matt Gibson
  • Matthew Guidry
  • mbd
  • Michael D'Angelo
  • Mikkel
  • mileswaldron
  • mister_rf
  • Neil Foster
  • Nick de Smith
  • Nick Soroka
  • nicklenorp
  • Nik
  • Norman Stanley
  • Patrick Coleman
  • Paul Brodie
  • Paul Jordan
  • Paul Montgomery
  • Ped
  • Peter Krogen
  • Peter Terren
  • PhilGood
  • Richard Feldman
  • Robert Bush
  • Royce Bailey
  • Scott Fusare
  • Scott Newman
  • smiffy
  • Stella
  • Steven Busic
  • Steve Conner
  • Steve Jones
  • Steve Ward
  • Sulaiman
  • Thomas Coyle
  • Thomas A. Wallace
  • Thomas W
  • Timo
  • Torch
  • Ulf Jonsson
  • vasil
  • Vaxian
  • vladi mazzilli
  • wastehl
  • Weston
  • William Kim
  • William N.
  • William Stehl
  • Wesley Venis
The aforementioned have contributed financially to the continuing triumph of 4hv.org. They are deserving of my most heartfelt thanks.
Forums
4hv.org :: Forums :: General Science and Electronics
« Previous topic | Next topic »   

2x40 LCD (powering up?)

Move Thread LAN_403
Penguin7471
Sun Mar 12 2006, 07:06AM Print
Penguin7471 Registered Member #71 Joined: Thu Feb 09 2006, 08:23AM
Location:
Posts: 63
Hi everyone..

I have a 2x40 LCD screen with a 14 pin connector that i found in a drawer today. Must've ripped it from something years ago... Anyway i had a look at some stores in want of a kit that provides an interface between the LCD and a computer. I want to display custom text on the LCD by simply typing it on the computer in a dialog box or something.

However, the only interface kit i found was from oatleyelectronics, and it required writing a full program everytime the text needed to be changed.

Is there a relatively economical kit that provides a program so I can just type in say, "go to school" or something, and instantly displays it on the LCD?
Back to top
Bjørn
Sun Mar 12 2006, 07:40AM
Bjørn Registered Member #27 Joined: Fri Feb 03 2006, 02:20AM
Location: Hyperborea
Posts: 2058
Most of those displays contain a Hitatchi 44780 controller. If you search for it you will find a lot of information, including schematics for connecting it directly to the printerport.
Back to top
Hellmark
Sun Mar 12 2006, 09:04AM
Hellmark Registered Member #189 Joined: Thu Feb 16 2006, 07:43PM
Location: Winfield, Missouri, USA
Posts: 46
if its the HD44780 (which it sounds like to me), then its fairly easy to wireup. Being 14 pin, if its the HD44780, then it doesnt have a backlight, or the backlight is on a separate part of the board (some are 16 pin, which allows for easier software control of the backlighting, with the use of a single diode.)

There are pretty much two options as far as wiring right now. A: you can use the old standby method of a parallel interface, (which is extremely easy, and I can post schematics and such for), or B: you can go with USB. If you go USB, I'd recommend doing it in this method Link2 . For 14 pin ones, like you have, in the parallel method, you just run 14 wires directly from the plug to the corresponding spot on the LCD, nothing fancy.

Once its wired, the next part is software. On linux systems, lcdproc is a good well developed solution with support for either USB or Parallel, and for Windows, LCD Smartie is a good choice. You could also write a simple commandline app (I have some source code in C++ that would work), that would update the screen with what ever you typed in. For Macs, there is a guy who used the LCD Proc daemon, along with a custom client (LCD Proc is a client/server type setup), that works with Growl, for sending notices from any app with ease. All the above is open source software.

Right now I have a HD44780 based 4x20 blue backlit with white text LCD that I am wiring up. If I can get a double sided PCB made in the method of afforementioned link, I'd like to do that (which is actually why I was asking about the adhesive copper foil), but what I'm probably gonna end up doing is have it be parallel with a Belkin F5U002 USB Printer adapter, which will work good (as long as you get the non corded adapter, Belkin made a corded version with the same model number, and it is made in a different manner, and will not work for this). I picked up one off ebay for $5, and now just waiting on the female centronix adapter to arrive so I can wire it up, and use the adapter, or any normal printer cable.

Also, a note of interest for your LCD, is that the 40 long ones were made by hacking the 20 character displays. Only difference between a 4x20 and 2x40 is the arrangement. Basically, they'd have line one, and sat immediately next to that was the second "line", and below those two is lines 3 and 4 juxtaposed.
Back to top
Penguin7471
Sun Mar 12 2006, 09:33AM
Penguin7471 Registered Member #71 Joined: Thu Feb 09 2006, 08:23AM
Location:
Posts: 63
Wow, thanks heaps guys.

Yep its the HD44780.. I'll go for the simple, parallel method. Thanks alot for the software suggestion also, im always really lost around software stuff...

I'll let you know how it goes, whenever i get around to wiring the whole lot up.
Back to top
Hellmark
Mon Mar 13 2006, 04:28AM
Hellmark Registered Member #189 Joined: Thu Feb 16 2006, 07:43PM
Location: Winfield, Missouri, USA
Posts: 46
No problem man, just was glad I could help a bit.

When I get mine done up, I'll post a bit more on it too.

Edit - I recieved the Centronix adapter today. I am doing it this way, rather than using a male 25pin Dsub so that way, I can use any printer cable to connect it, or the afforementioned Belkin F5U002 USB adapter, where as most people, just hook up the standard Dsub 25pin male connector directly to the LCD.

For the most part, it is no more difficult to use a Centronix connector than hooking directly up to the 25 pin connector. Pins 1 through 14 on the centronix are treated the same as Pins 1-14 on the 25pin. The changes come in after that. Pin 15, on what would be the 25pin connector, is pin 32 on the centronix adapter, pin 16 goes to pin 31 on the centronix, and pin 17 goes to pin 36 on the centronix. Pins 18-15 on the 25 pin connector are for ground, and on the centronix, the grounds are 19 through 30. Knowing that, its drop dead easy to wire up the Centronix adapter instead, and in my opinion, you end up with a nicer, more professional setup.
Back to top
Psyko
Tue Mar 14 2006, 09:52AM
Psyko Registered Member #81 Joined: Thu Feb 09 2006, 11:57AM
Location: Paris, France
Posts: 43
just have a look at Link2 and for the software, Link2 will match to your desires
Back to top
Penguin7471
Wed Mar 15 2006, 11:17AM
Penguin7471 Registered Member #71 Joined: Thu Feb 09 2006, 08:23AM
Location:
Posts: 63
Well its up and running...

Now i know why someone chucked it out in the first place, theres a single column of pixels that don't work, but thats fine.

I'm using LCDSmartie and it works great. Although the MBM capability is wasted since MBM5 doesnt support my motherboard... sad

Thanks for all the info!
Back to top

Moderator(s): Chris Russell, Noelle, Alex, Tesladownunder, Dave Marshall, Dave Billington, Bjørn, Steve Conner, Wolfram, Kizmo, Mads Barnkob

Go to:

Powered by e107 Forum System
 
Legal Information
This site is powered by e107, which is released under the GNU GPL License. All work on this site, except where otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. By submitting any information to this site, you agree that anything submitted will be so licensed. Please read our Disclaimer and Policies page for information on your rights and responsibilities regarding this site.