Cheap Arduino 2 Wire LCD Display
Serial Displays are expensive, so lets use a paralell display and a shift register!
This circuit is based on the work of raron.
I just added a Potentiometer to regulate the Contrast.
- 74LS164 shift register
- HD44780 Compatible Display
- 1K Resistor
- Wires (flexible preferred)
- Stripboard (of cource you can do it on a breadboard/perfboard/whatever too)
- 10k PCB Potentiometer (could be replaced by a single resistor, but thats specific to the display)
This is how you solder together the parts:
Dont forget to cut the copper lanes beneath the shift register along the red line.
If your done with it it will probably look like this:
Now you have to choose a library, there are at least 2 availabe:
At time of this writing ShiftRegLCD was not compatible with Arduino 1.0, so if you want a compatible version you can get it from here.
But i would recomend using new LiquidCrystal.
Go to the download section and grab V 1.1.5 or later.
Earlier versions migt also work but 1.1.5 introduces some performane tweak for the Shiftregister Class.
if you need advice on installing the library check out its documentaton here.
Here is a code example: