Driver for character LCD module on parallel interface requiring only single I/O
Peter Jakacki
Posts: 10,193
Here is a driver using a single I/O pin to drive a parallel interface LCD module. Can't be done?
Well, we are cheating a bit and reusing the I2C bus pins and plus we need a 50 cent shift register but other than that we only need a single I/O pin.
If you happen to have 1 or 2 other pins then you can use that to control the contrast and the backlight.
*Peter*
Well, we are cheating a bit and reusing the I2C bus pins and plus we need a 50 cent shift register but other than that we only need a single I/O pin.
If you happen to have 1 or 2 other pins then you can use that to control the contrast and the backlight.
*Peter*
spin
14K
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Airspace V - international hangar flying!
www.airspace-v.com/ggadgets for tools & toys
Thanks for the heads up on the 8153, that is a nice chip and the price is good too. The autobaud is a bit of a cheat as anybody can autobaud if you are always guaranteed a fixed width low pulse which is what they require for the transmission format. But I give you that it is really neat. It's a pity they have adopted standard CMOS input levels though which means you can't drive them directly from the Prop if the 8153 runs on +5V. Cross that out! It's got a separate VCC for the outputs that go up to 12, wow!. I'm going to design these chips into my boards from now on because they only need one pin and they are cheap and they can run at 12V. Max data rate is a bit on the pedestrian side though at 24Kbps but that's ok.
You made my day.
*Peter*
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·"I have always wished that my computer would be as easy to use as my telephone.· My wish has come true.· I no longer know how to use my telephone."
- Bjarne Stroustrup
Ahem... according to the TI datasheet it has outputs that you can switch between OC and push-pull on a separate power supply of up to 12 V while the inputs are run at 3 V. I consider that you can use it as an integrated voltage converter.
Okay, you have a 'data efficiency' of only 50% because each byte contains only 4 data bits. But you can drive up to eight of these chips on a single pin giving you 64 outputs!
Just in case the '8153 is too expensive you can also take a 14 pin PIC controller and emulate the 8153...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Airspace V - international hangar flying!
www.airspace-v.com/ggadgets for tools & toys
The 8153 really is cheaper than I2C I/O and for around a buck the only other thing cheaper would be a plain old shift register.
*Peter*
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·"I have always wished that my computer would be as easy to use as my telephone.· My wish has come true.· I no longer know how to use my telephone."
- Bjarne Stroustrup
Post Edited (Ken Peterson) : 2/28/2009 7:27:03 PM GMT