Hackster is hosting Hackster Holidays, Ep. 7: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Friday!Stream Hackster Holidays, Ep. 7 on Friday!
Akshay Joseph
Published © GPL3+

Interface I2C 16x2 LCD with Arduino Uno (Just 4 wires)

Interface a 16x2 Liquid Crystal Display with Arduino Uno. Here we just use 4 wires.

BeginnerProtip325,596
Interface I2C 16x2 LCD with Arduino Uno (Just 4 wires)

Things used in this project

Hardware components

Arduino UNO
Arduino UNO
×1
Male/Female Jumper Wires
Male/Female Jumper Wires
×1
I2C Serial Adapter
×1

Software apps and online services

Arduino Web Editor
Arduino Web Editor

Story

Read more

Schematics

Interface I2C 16x2 LCD with Arduino Uno

Code

Interface I2C 16x2 LCD with Arduino Uno

Arduino
//sketch created by Akshay Joseph
#include <Wire.h> 
#include <LiquidCrystal_I2C.h>

LiquidCrystal_I2C lcd(0x27, 16, 2);

void setup()
{

	lcd.begin();


	lcd.backlight();
	lcd.clear();
	lcd.setCursor(4,0);
	lcd.print("Hackster");
}

void loop()
{
}

Credits

Akshay Joseph
25 projects • 157 followers
B.Sc. Electronics Student at Govt. College Tanur

Comments