[ Parallel Port to LCD HOWTO ]

This one is from 2007, back when a spare parallel port was the easy way to bolt a character LCD onto a Linux box. Most of the original figures were lost to bitrot; the LCD photo below was recovered from a 2013 Wayback Machine snapshot.

[ Overview ]

Here I will describe how to make your own parallel to LCD circuit. It is
a fairly simple process. I have also included a schematic of the circuit,
I will explain how to read the schematic below. If you have any questions
or comments, or find this tutorial useful.. let me know...
A DE-LM004 16x2 character LCD module
The DE-LM004 character LCD. This photo was recovered from a 2013 Wayback Machine snapshot.
h0eLCD Schematic (PNG and Eagle SCH source files no longer available)
(schematic figure unavailable - original lost to bitrot)

Reading the schematic is mostly fairly simple, some of the confusingness
may be caused by the wire layout. A simple connected wire is normally
drawn as a dot at the intersection. UnConnected wires that cross without
joining are drawn with a hop / arc.
(original wire-style diagrams unavailable - figures lost to bitrot)

Molex connector: (connector photo + Fig. 20 unavailable - original figures
lost to bitrot)

Note: Do not follow the picture much as far as what goes where, I did
things a bit backwards from the instructions, specifically the pic shows
reversed 5v+ and 5v-.

[ Parts ]

Parts needed:

1 Parallel cable - Use any old printer cable, just chop the end off
  the plugs into the printer.
1 LCD - I used a 2x16 HD44780 compatible LCD
1 100 ohms resistor 1/4watt
1 10k potentiometer (optional)
1 male DB25 connector
1 male molex connector, I used a 3 prong y-splitter molex cable.
Multimeter (optional, makes life much easier (; )
Tape and/or Shrink tubing

[ Build ]

Now that you have all the required parts, it is time for some hax0ring.
Begin by chopping off the printer plug end of your parallel port. I did
the pain staking way of mapping out the pins and cables by using the
multimeter to test connectivity.
I suggest that you wire each end by hand, this will be much easier
especially if you do not have a multimeter...

Step 1: Take your male DB25 connector and solder some 22 or 24 gauge
wire to pins 1 through 9, 14, 16 and then 18 through 25.
Note: If you are making your own cable make it long enough to reach
where you wish to install it. If you are using a printer cable that you
chopped up, use the multimeter to find the correct wire for each pin.

Step 2: Once you have soldered on all of your wires to the correct
pins, double check your work and then we can proceed to connecting them
to your LCD display.

Step 3: Take the wires from pins 1 through 9 of the DB25 connector,
and solder them to pins 6 through 14 on the LCD. Refer to your LCD's data
sheet for the proper pin layout.

Step 4: Remove the yellow & black wire next to it from the molex
connector. Wrap these up with some tape or shrink tubing so no wires are
left exposed.

Step 5: Use the top left mounting hole for your 5v+ source. The top
right mounting hole will be for the ground.

Step 6: On the LCD solder a wire from pin 2 then connect it to the
left mounting hole for 5v+. Then solder a wire from pins 1 & 3 and
connect them to ground.

Step 7: Almost there! Now take all of those wires from the DB25
connector pins 19-25 and twist them all together really tight. Then wrap
another single wire and solder or crimp them together, solder this single
wire into the right mounting hole for ground.

Step 8: On the right side of the LCD there is 2 small pins. Some are
labeled A/C, others A/K. Connect C or K with a 10ohms resistor into
ground.

Step 9: Connect a wire from A into the left mounting hole for 5v+.

Step 10: Tape all the wires up so there is no exposed wiring, power
down your computer and connect up to the power supply and the parallel
port. If all goes well when you power your computer on, the LCD screen
lights up and displays a series of boxes.

[ Mods & Software ]

- Mods -
Adjustable Backlight Brightness: This can be accomplished by replacing
the 10ohm resistor from pin 16 of the LCD with a variable resistor
'potentiometer'.

Adjustable Contrast: This can be accomplished by using the optional 10k
variable resistor 'potentiometer' to pin 3 of the LCD.

- Software -
lcd4linux - https://sourceforge.net/projects/lcd4linux/
lcdproc   - https://lcdproc.org/

[ See Also ]