I2C / IIC LCD Display | Use a SPI LCD to the I2C LCD Display Using SPI to IIC Module With Arduino

by Utsource in Circuits > Arduino

2899 Views, 1 Favorites, 0 Comments

I2C / IIC LCD Display | Use a SPI LCD to the I2C LCD Display Using SPI to IIC Module With Arduino

Screenshot_20190929-193831__01.jpg
Hi guys since a normal SPI LCD 1602 has too many wires to connect so it very difficult to interface it with arduino but there is one module available in market which can convert SPI display into IIC display so then you need to connect only 4 wires.

Things You Need for This

Km5Zu-2RIncAUweU7uG7IhyWPySZ0SqIgAI0-vk9w7767_IkthCPCcsirj2GGmXF4IdQDg8UVpHVLVM6CXnzFsG1hnAdSkK7BIhIOtEldXoZiDsvzsPo-6o0rD6Mda7UyOE=w456-h323-nc.png
images(64).jpg
images(63).jpg

Connect the IIC Module to the Display

Screenshot_20190929-193706__01.jpg
Connect the IIC module to the back of the display as shown in the image.

Install the Libraries in Your Arduino IDE

Screenshot_20190929-195025__01.jpg

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

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

Getting I2C Address of IIC Display Module

Screenshot_20190929-193730__04.jpg

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://playground.arduino.cc/Main/I2cScanner/



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

Test the Hello World

Screenshot_20190929-193817__01.jpg
Screenshot_20190929-193831__01.jpg
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.