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.
Elektor Magazine is al 65 jaar een van de toonaangevende informatiebronnen op het gebied van elektronica voor ingenieurs, ontwerpers, start-ups en bedrijven. Ons magazine wordt ondersteund door een actieve community van elektronica-ingenieurs – van studenten tot professionals – die gepassioneerd zijn over het ontwerpen en delen van innovatieve ideeën.
Voor hen publiceren we jaarlijks honderden items in verschillende formats, zoals artikelen, video’s, webinars en andere leervormen. Onze missie is om kennis op elke mogelijke manier te delen en lezers te inspireren met de nieuwste ontwikkelingen binnen de elektrotechnische sector.
Bedankt voor uw beoordeling!
Voeg hieronder eventueel commentaar toe!
Bedankt voor uw beoordeling!
Reactie bij uw beoordeling plaatsen? Log hieronder in. Geen behoefte aan? Sluit dan gewoon dit venster.
Discussie (3 opmerking(en))