About the article

LC Display with I2C Bus

multi-purpose and for the MSC1210 board

LC Display with I2C Bus
Okay, your microcontroller program is finished and now you want to see some text and other stuff on a display. Unfortunately, the LCD you happen to have available seems to take up rather a lot of precious port pins. Even worse, the driver you’ve been able to unearth from a software archive seems to rely on other port pins than the ones you had in mind…Usually, a lot of hard work has been done, including the mental digestion of piles of datasheets, before the first ‘Hello World’ message appears on your microcontroller system display. We propose an end to this rather wasteful process by describing a universally applicable LC display with a nice set of features, employing the I2C bus which translates in the use of just 2 (say, two) of the precious port pins on your microcontroller. Admittedly the small printed circuit needed for the universal LCD board represents extra hardware, but you’ll soon find that it’s well worth the investment.
Downloading of this magazine article is reserved for registered users only.
Login | Register now!
Gerber file

CAM/CAD data for the PCB referred to in this article is available as a Gerber file. Elektor GREEN and GOLD members can exclusively download these files for free as part of their membership. Gerber files allow a PCB to be produced on an appropriate device available locally, or through an online PCB manufacturing service.

Elektor recommends its business partner Eurocircuits as the company of choice for its own prototypes and volume production in selected cases.

Component list
R1 = 10k?
R2-R5 = 270?
P1 = 10k? preset
C1,C2 = 100nF
T1 = BS170
T2 = BS250
IC1 = PCF8574(A)P
JP1,JP2,JP3 = 3-way pinheader with jumper (or wire links) (JP1 to +; JP2 and JP3 to ground)
K1 = 10-way boxheader, angled solder pins
PCB, order code 030060-2 from ThePCBShop
Loading comments...