0% found this document useful (0 votes)
18 views4 pages

LCD Message Display Using Arduino and I2C LCD

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views4 pages

LCD Message Display Using Arduino and I2C LCD

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Data Communication and Networking 1

Partial Requirements

Date:
06/11/2024

Submitted by:

LAWRENCE J. VILLACORTE
BSIT - 2B

Submitted to:

MR. JOSIE DEGORIO


Project Title:

LCD Message Display Using Arduino and I2C LCD

Description:

This project uses an I2C-connected 16x2 LCD display to show the message "Hello
World!!". The microcontroller initializes the LCD and enables the backlight, then sets the
cursor to display "Hello" on the top row and "World!!" on the bottom row. This
demonstrates how to interface with an LCD using the I2C protocol for clear, simple text
output.

BILL OF MATERIALS:

Item Number Parts Name Quantity Cost Each (PHP) Cost Extended
(PHP)

1 Arduino Uno 1 1000 1000


Board

2 LCD 1 500 500

3 Jumper Wire 4 7 28

Total number of parts: 6 Total costs: 1,528


SCHEMATIC:

CODES:

#include <Wire.h>
#include <LiquidCrystal_I2C.h>

LiquidCrystal_I2C lcd(0x27, 16, 2);

void setup() {
lcd.begin(16,2);
lcd.backlight();
}

void loop() {
lcd.setCursor(5, 0);
lcd.print("Hello");
lcd.setCursor(4, 1);
lcd.print("World!");
}

SUMMARY:

This project demonstrates how to interface a 16x2 LCD screen with a microcontroller
using the I2C protocol, allowing for efficient control with only two data lines. The code
initializes the LCD with an I2C address (in this case, `0x27`), sets it up for 16 columns and 2
rows, and enables the backlight to improve readability. Once initialized, the program displays
the message "Hello" in the center of the top row and "World!!" in the center of the bottom
row, using precise cursor positioning for a neatly formatted output.

This project introduces the basics of I2C communication and LCD display control,
including commands for setting the cursor position and managing the backlight. It’s a great
starting point for projects that require user-friendly text output, such as simple menus,
notifications, or status displays, and can be extended to show sensor data or other dynamic
information.

You might also like