Arduino – I2C 20 X 4 LCD Display - Eli The Computer Guy

I2C Control Boards allow you to connect an LCD Display to your Arduino using only 4 wires.

Note: I2C is an Addressable Communication Protocol. 0x27 should be the default address of the display. If this does not work you will have to find the address by running a sketch designed to find I2C address on an Arduino: https://playground.arduino.cc/Main/I2cScanner/

Links:

  • New Liquid Crystal Library – https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
  • Liquid Crystal I2C Library – https://www.arduinolibraries.info/libraries/liquid-crystal-i2-c

Functional Parts in the Project:

  • Arduino Uno – https://store.arduino.cc/usa/arduino-uno-rev3
  • 20 x 4 I2C LCD Screen – https://amzn.to/2JVuKzn
  • 560 Piece Jumper Wire Kit – https://amzn.to/2MsCLjL
#include <Wire.h> #include <LCD.h> #include <LiquidCrystal_I2C.h> LiquidCrystal_I2C lcd(0x27,2,1,0,4,5,6,7); void setup() { lcd.begin(20,4); lcd.setBacklightPin(3,POSITIVE); lcd.setBacklight(HIGH); lcd.setCursor(0,0); lcd.print("Hello, World!"); lcd.setCursor(0,1); lcd.print("This is:"); lcd.setCursor(0,2); lcd.print("An I2C Display"); lcd.setCursor(4,3); lcd.print("Kinda Cool..."); } void loop() { }
  • Arduino
  • I2C
Previous

Arduino – Send Email Notifications with PHP Mail Function

Next

Arduino – Find I2C Addresses (I2C Scanner)

Related Articles

Arduino

Arduino – Draw Shapes on OLED Screen

Eli the Computer Guy Arduino, Arduino - Display Basics

You can draw and overlap custom shapes on OLED screens to provide your users with a better User Experience. Libraries Required for this Demonstration: Adafruit SSD1306 Adafruit GFX Note: Remember to change the I2C address […]

*NEW

Arduino Modules – Log Temperature to SD Card Data Logging Module (HW-125)

Eli the Computer Guy *NEW, Arduino Modules

This project shows you how to log Variable Values to an SD Card using a Data Logging Module. Prerequisite Classes: Analog Temperature Sensor with Arduino Functional Parts in the Project: Arduino Uno – https://store.arduino.cc/usa/arduino-uno-rev3 Breadboard Kit […]

Arduino

Arduino Vehicle Platform Introduction

Eli the Computer Guy Arduino, Arduino - Basics, Arduino - Vehicles

Arduino allows you to build autonomous and remote controlled vehicles. picking the right vehicle platform for your project is vital. Some platforms are small and agile, while others are large and can handle terrain. Large […]

Be the first to comment

Leave a Reply Cancel reply

You must be logged in to post a comment.

DONATE

If you want to tip a few dollars for the education videos.

Search for:

Tag » Arduino New Liquidcrystal I2c Download