Skip to content

Faster 3 wire mode #1

Description

@GoogleCodeExporter
3 wire mode has the advantage of latched outputs
so backlight control is steady vs flashing in the case of two wire mode.

When using 3 wire mode, it is possible to have direct control over E
rather than have to drive E from the shift register.
This reduces the SR updates to 1 per nibble and if you want to
give up backlight control, it can be 1 SR update per byte.

To do this you wire
AVR pin to lcd E pin
AVR pin to SR data pin
AVR pin to SR clock pin
lcd RS pin to SR data pin.

You clock in the data.
Set the data pin for the RS state.
Raise and lower E directly.

If you give up the backlight control you can even do 8 bit mode
on non latching parts like the 74ls164
or the latching 4094 (doesn't slip a bit like the HC595)

HC595 would have to run in 4 bit mode with the wiring
shifted down to compensate for the bit slip
when rclk and sclk are tied together.


See this page for an example of how to wire this up:
http://frank.bol.ucla.edu/AVR2LCD.htm

--- bill

Original issue reported on code.google.com by bperry...@gmail.com on 13 Feb 2012 at 8:29

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions