Introduction: I2C / IIC LCD Display | Convert a SPI LCD to the I2C LCD Display
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.
Step 1: Get the I2C LCD Module and Other Parts
BUY 1602 IIC display:
BUY 1602 SPI display:
first of all you need to get the I2C module , LCD display and arduino You can get everything from the given affiliate links-
LCD Display - https://www.banggood.com/1Pc-1602-Character-LCD-D...
Arduino Uno- https://www.banggood.com/UNO-R3-ATmega328P-Develo...
(for india) -
I2C module for LCD - https://www.banggood.com/IIC-I2C-TWI-SP-Serial-In...
Jumper wires - https://www.banggood.com/3-IN-1-120pcs-10cm-Male-...
for india -
Digispark Attiny 85 Board - https://www.banggood.com/Digispark-Kickstarter-Mi...
Step 2: Plug the Module to the Display
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.
Step 3: Install the Libraries
for the i2c lcd download the given library and paste it in libraries folder of arduino as shown in image
Step 4: Get the Address of I2c Display
So to get the i2c address of i2c display just connect the lcd to Arduino as given -
SDA. >. A4(sda)
SCL. >. A5(scl)
Vcc. >. 5V
Gnd. >. Gnd
Then upload the code i2c scanner to the arduino
then open the serial monitor and you'll find your i2c address on serial monitor as mine is 0x27
Step 5: Upload the Code
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.