I2C / IIC LCD Display | Convert a SPI LCD to the I2C LCD Display

by electronicGURU in Circuits > Arduino

6381 Views, 3 Favorites, 0 Comments

I2C / IIC LCD Display | Convert a SPI LCD to the I2C LCD Display

I2C LCD with Arduino | convert a SPI LCD to I2C with PCF8574

using spi lcd display needs too many connections to do which is really hard to do so i found a module which can convert the i2c lcd to the spi lcd so let's get started.

Get the I2C LCD Module and Other Parts

images(7).jpg

Plug the Module to the Display

Screenshot_20180319-090127.png

so plug the module on the back of the display as shown in image and for more precise idea of how to do that please refer video.

Install the Libraries

Screenshot_20180319-090153.png

for the i2c lcd download the given library and paste it in libraries folder of arduino as shown in image

https://drive.google.com/file/d/1CTRETQsYqGYu9u5PA...

Get the Address of I2c Display

Screenshot_20180319-090205.png
Screenshot_20180319-090208.png

So to get the i2c address of i2c display just connect the lcd to Arduino as given -

Lcd. Arduino

SDA. >. A4(sda)

SCL. >. A5(scl)

Vcc. >. 5V

Gnd. >. Gnd

Then upload the code i2c scanner to the arduino

https://drive.google.com/file/d/1d9pxFStZE8TeZavIZ...

then open the serial monitor and you'll find your i2c address on serial monitor as mine is 0x27

Upload the Code

Screenshot_20180319-090215.png
Screenshot_20180319-092110.png
I2C LCD with Arduino | convert a SPI LCD to I2C with PCF8574

go to examples then under arduino liquid crystal i2c library you'll find hello world code and just change the i2c address with the address you got by i2c scanner and upload the code and hello world will be printed on the screen.

If having problem refer video.

Thanks you.