Use A SPI LCD To The I2C LCD Display Using SPI To IIC Module With ...

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

UtsourceBy UtsourceVisit websiteFollowMore by the author:PIR Motion Detection Sensor With ArduinoMP3 Player With Arduino Using DF Player MiniWireless Doorbell Using Arduino and RF Module 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.

Step 1: Things You Need for This

1602 IIC display:

1602 SPI display:Arduino Uno : I2C module for LCD

Step 2: Connect the IIC Module to the Display

Connect the IIC module to the back of the display as shown in the image.

Step 3: 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...

Attachments

  • download {{ file.name }}Arduino-LiquidCrystal-I2C-library-master.zipDownload

Step 4: 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. ArduinoSDA. >. A4(sda)SCL. >. A5(scl)Vcc. >. 5VGnd. >. GndThen upload the code i2c scanner to the arduinohttps://playground.arduino.cc/Main/I2cScanner/

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

Step 5: 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. Hide

Tag » Arduino-liquidcrystal-i2c-library-master Download