One-wire interface for LCD

One-wire interface for LCD: When using a small MCU (e.g. like ATTiny), it would be very convenient to save those few pins for something else. A standard textual LCD needs 4 data lines, 2 lines for RS and E (enable) and even one more if you want to turn it on/off (all together 7 lines).
One-wire interface for LCD: When using a small MCU (e.g. like ATTiny), it would be very convenient to save those few pins for something else. A standard textual LCD needs 4 data lines, 2 lines for RS and E (enable) and even one more if you want to turn it on/off (all together 7 lines). Using a 595 shift register IC and a few other components I designed a small circuit and wrote a piece of assembly code to control the LCD using only one MCU output. The same output is also used to turn the LCD on and off. I tested it when I made a simple working hours counter, it works fine. The scheme of this circuit you can find in attached photo. I will redraw it in Protel and send you the piece of program code so you can test it if you are interested.
Discussie (3 opmerking(en))
SR-71 9 jaar geleden
It seems to me that just adding a diode and rewiring the RC network, it would feasible to use all eight shift register bits.
The idea is to change the purpose of latch RC network, and use it as a sort of retriggerable monostable: as the serial clock is active, pushing bits into the SR, it is kept low by the diode. When all the eigth bit are in, the capacitor is allowed to charge, generating , as in the original circuit, the latch rising edge,
Whilst that is not so useful in case of LCD, it could be so in a more general case.
I don't have any 74HC595 at hand, so keep in mind that I just simulated the circuit (see attached files).
Edit:
It turned out that someone else already invented all the thing, for sure before than me; take a look at
http://www.edn.com/design/systems-design/4410875/One-I-O-line-drives-shift-register-with-strobe
serial-rblack-3-simul.png (46kb)
serial_rblsck_3.zip (40kb)
lux36 11 jaar geleden
11 jaar geleden
This page contains a description of a similar circuit:
http://www.romanblack.com/shift1.htm
SR-71 9 jaar geleden