Article
LC Display with I2C Bus
multi-purpose and for the MSC1210 board
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.
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 the Elektor PCB Service service from its business partner Eurocircuits or AISLER as the best services for its own prototypes and volume production.
The use of our Gerber files is provided under a modified Creative Commons license. Creative Commons offers authors, scientists, educators and other creatives the freedom to handle their copyright in a more free way without losing their ownership.
PCB
Component list
Resistors:
R1 = 10k?
R2-R5 = 270?
P1 = 10k? preset
Capacitors:
C1,C2 = 100nF
Semiconductors:
T1 = BS170
T2 = BS250
IC1 = PCF8574(A)P
Miscellaneous:
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
R1 = 10k?
R2-R5 = 270?
P1 = 10k? preset
Capacitors:
C1,C2 = 100nF
Semiconductors:
T1 = BS170
T2 = BS250
IC1 = PCF8574(A)P
Miscellaneous:
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
Discussion (0 comments)