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
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
BUY PARTS:>
BUY 1602 IIC display:
https://www.utsource.net/itm/p/7958924.html
BUY 1602 SPI display:
https://www.utsource.net/itm/p/6466294.html
BUY digispark:
https://www.utsource.net/itm/p/8673532.html
///////////////////////////////////////////////////////////////////////////////////////////////////////
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...
for india- https://www.amazon.in/gp/product/B00XT53RI0/ref=a...
Arduino Uno- https://www.banggood.com/UNO-R3-ATmega328P-Develo...
https://www.banggood.com/ATmega328P-Nano-V3-Contro...
(for india) -
https://www.amazon.in/gp/product/B015C7SC5U/ref=a...
I2C module for LCD - https://www.banggood.com/IIC-I2C-TWI-SP-Serial-In...
for india- https://www.amazon.in/gp/product/B071JRMRB8/ref=a...
Jumper wires - https://www.banggood.com/3-IN-1-120pcs-10cm-Male-...
for india -
https://www.amazon.in/gp/product/B00ZYFX6A2/ref=a...
Digispark Attiny 85 Board - https://www.banggood.com/Digispark-Kickstarter-Mi...
for india - https://www.amazon.in/gp/product/B00Z09R3YC/ref=a...
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.
Install the Libraries
for the i2c lcd download the given library and paste it in libraries folder of arduino as shown in image
Get the Address of I2c Display
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
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.