329
Two Wire LCD
This segment is basically the repetition of the bit-banging-based LCD example shown earlier. In that
example, we saw software SPI-based LCD driving technique. Here we will see the same but with USI-
based I2C. We can also use software I2C for the same purpose.
In the embedded system world, there is a cheap and popular 2-wire LCD module based on PCF8574T.
There are a few advantages of this module. Firstly, it is based on a PCF8574T chip that is made by NXP
(a.k.a Philips). NXP happens to be the founder of I2C communication and so the chip is well
documented in terms of I2C communication. Secondly, there are three external address selection bits
which can be used to address multiple LCDs existing on the same I2C bus. Lastly the module is compact
and readily plug-and-playable.