0% found this document useful (0 votes)
0 views5 pages

Lab 04

This document outlines Lab 4, which focuses on interfacing various types of LCD screens with Arduino, both with and without I2C modules. It includes objectives, theoretical background on LCDs and I2C modules, and detailed lab tasks for practical implementation. The tasks involve circuit schematics and programming to display messages and sensor values on the LCD screen.

Uploaded by

Muhammad Khan
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)
0 views5 pages

Lab 04

This document outlines Lab 4, which focuses on interfacing various types of LCD screens with Arduino, both with and without I2C modules. It includes objectives, theoretical background on LCDs and I2C modules, and detailed lab tasks for practical implementation. The tasks involve circuit schematics and programming to display messages and sensor values on the LCD screen.

Uploaded by

Muhammad Khan
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/ 5

Contents

Lab 4: Interfacing of different types of LCD Screens with Arduino, with and without I2C..................3
Abstract:...................................................................................................................................................3
Objectives:...............................................................................................................................................3
Theory:.....................................................................................................................................................3
LCD:....................................................................................................................................................3
How LCDs are Constructed?..........................................................................................................3
How LCDs Work?..........................................................................................................................4
Different Types of LCD:.................................................................................................................5
I2C module:..........................................................................................................................................5
What are the two I2C wires?...........................................................................................................5
I2C module illustration:...................................................................................................................5
Lab Tasks:................................................................................................................................................6
Task 01: Interfacing LCD with Arduino without I2C module, use Potentiometer in circuit..............6
Circuit:............................................................................................................................................6
Lab Work:.......................................................................................................................................7
Appendix:........................................................................................................................................8
Task 02: Display Temperature Sensor value on LCD Screen also use Potentiometer in the circuit. .8
Circuit:............................................................................................................................................8
Appendix:........................................................................................................................................9
Task 03: Interfacing LCD with Arduino with 12C module, print your name and registration
number or anything of your choice...................................................................................................10
Circuit:..........................................................................................................................................10
Appendix:......................................................................................................................................11
Task 04: Repeat task 2 with 12C module..........................................................................................11
Circuit:..........................................................................................................................................11
Lab Work:.....................................................................................................................................12
Appendix:......................................................................................................................................13
Task 05: Control the delay of LED blinking with analogue value of Potentiometer........................13
Circuit:..........................................................................................................................................13
Appendix:......................................................................................................................................14
Reference:..............................................................................................................................................15

1
Lab 4: Interfacing of different types of LCD Screens
with Arduino, with and without I2C

Abstract:
In this lab we will study about LCD and its interfacing with Arduino by writing proper
program and by doing proper hardware assembly. We will prove the results by printing some
message on LCD screen.

Objectives:
 To learn interfacing of LCD screen with Arduino.
 To learn interfacing of LCD screen with I2C.

Theory:

LCD:

Stands for “Liquid Crystal Display.” LCD is a flat panel display technology commonly used
in TVs and computer monitors. It is also used in screens for mobile devices, such as laptops,
tablets, and smartphones.

All character LCDs have:


 Eight (8) data pins D0-D7
 Vcc (Apply +5 volt here)
 Gnd (Ground this pin)
 Rc (Register select)
 Rw (read - write)
 En (Enable)
 V0 (Set Lcd contrast)

I2C module:

The I2C or IIC stands for “Inter-Integrated Circuit” is a serial computer bus invented by
Philips semiconductors, today known as NXP semiconductors. This bus system was invented
in 1982.

2
Lab Tasks:

Task 01: Interfacing LCD with Arduino without I2C module, use
Potentiometer in circuit.

Circuit:

Follow the Circuit Schematics and make the connections with the help of hook up wires.
 LCD RS pin to digital pin 12
 LCD Enable pin to digital pin 11
 LCD D4 pin to digital pin 5
 LCD D5 pin to digital pin 4
 LCD D6 pin to digital pin 3
 LCD D7 pin to digital pin 2
 LCD R/W pin to ground
 ends to +5V and ground via 5k potentiometer
 Potentiometer to LCD VO pin (pin 3)

Figure 4.5: Task 1 Input


Lab Work:

3
Figure 4.7: Task 1 Lab Work

Task 02: Display Temperature Sensor value on LCD Screen also use
Potentiometer in the circuit

Circuit:

Figure 4.9: Task 2 Output

Lab Work:

4
Figure 4.10: Task 2 Output

Task 03: Interfacing LCD with Arduino with 12C module, print your name
and registration number or anything of your choice.

Circuit:

Figure 4.11: Task 3 Input

Task 04: Repeat task 2 with 12C module

Circuit:

Figure 4.14: Task 4 Output

You might also like