HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

How to connect and program LCD I2C Displays & Adapters with Arduino

3,600 views October 26, 2019 8:43

Watch on YouTube
ChannelQ26

Chapters

Description from the creator

Find out how to Display data using only 2 data lines with I2C on your LCD Display!
Scroll down for contents, links and more information.
Click here to Subscribe to our channel:
youtube.com/channel/UCh0QmsIGnYJUgSNa4HYcvoA?su…

Display data from your projects using only 2 data lines with I2C on your LCD Display!
Just add an I2C Adapter Module to your LCD screen or buy an I2C ready display.
The common sizes are 16 lines 2 characters (1602) and 20 characters on 4 lines (2004).
Either of these will work with the most common adaptors using the PCF8574 chip.

In this video I show how to connect the adapters and displays, and how to set up and get them wotking with Arduino, including a run through of the most useful display commands.

Links
The NewLiquidCrystal Arduino Library is available from:
bitbucket.org/fmalpartida/new-liquidcrystal/wik…

Code at the start to paste into your sketch:
LiquidCrystal_I2C lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE);
...change the name you want to use (just before the bracket) or the address of your adapter (first item in the bracket) if you need to.

Click Here for our website article, including a link to the Arduino Sketch:
q26.co.uk/i2c-adapters-and-lcd-displays-explain…

Contents:
00:00 Introduction
00:41 I2C & Backpacks
01:51 Hardware Setup
02:48 Software Setup
03:27 Arduino Sketch
04:05 I2C Address
07:32 Displaying Variables
07:47 Useful LCD Print Commands
--
Subscribe to our channel for more videos on Electronics, 3D Printing and more:
youtube.com/channel/UCh0QmsIGnYJUgSNa4HYcvoA?su…
Click the Bell icon for video alerts.

Q26 Videos by Mortimer Rhind-Tutt

About this tutorial

Q26 published this 8:43 video tutorial on October 26, 2019. It has been watched 3,600 times on YouTube.

Channel
Q26
Duration
8:43
Published
October 26, 2019
Views
3,600
Likes
57

Tags

Share

Further reading

  • LCD I2C Tutorial - Arduino Project Hub create.arduino.cc

    Learn how to use an LCD with I2C ASAP. A Liquid crystal display is a form of visual display used in electronic devices, in which a layer of a liquid crystal is sandwiched between two transparent electrodes... not gonna…

  • How to Connect I2C Lcd Display to Arduino Uno : 5 Steps (with ... instructables.com

    Hello Guys , In this Instructable you are going to see how to connect i2c lcd display to arduino and how to print on lcd display . Before going to start this tutorial you must know a brief about i2c communication . Each…

  • Use 16x2 LCD With I2C : 4 Steps - Instructables instructables.com

    Use 16x2 LCD With I2C: In one of my previous Instructable, I showed you how to connect and interface an LCD to Arduino Uno and display values on it. But as observed, there were a lot of connections and if the project st…

This tutorial in other languages