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
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
1602 SPI display:
Arduino Uno :
I2C module for LCD
Connect the IIC Module to the Display
Connect the IIC module to the back of the display as shown in the image.
Install the Libraries in Your Arduino IDE
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
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
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.