Difference between revisions of "LCD2004 Module"

From Wiki
Jump to: navigation, search
(Created page with "LCD2004 Module")
 
Line 1: Line 1:
LCD2004 Module
+
==Introduction==
 +
LCD2004, or 2004 character-type liquid crystal display, is a kind of dot matrix module to show letters, numbers, and characters and so on. It's composed of 5x8 dot matrix positions; each position can display one character. There's a dot pitch between two characters and a space between lines, thus separating characters and lines. The number 2004 means on the display, 4 rows can be showed and 20 characters in each. <br>
 +
===Pins of LCD2004 and their functions===
 +
VSS: connected to ground<br>
 +
VDD: connected to a +5V power supply<br>
 +
VO: to adjust the contrast<br>
 +
RS: A register select pin that controls where in the LCD’s memory you are writing data to. You can select either the data register, which holds what goes on the screen, or an instruction register, which is where the LCD’s controller looks for instructions on what to do next.<br>
 +
R/W: A Read/Write pin to select between reading and writing mode<br>
 +
E: An enabling pin that reads the information when High level (1) is received. The instructions are run when the signal changes from High level to Low level. <br>
 +
D0-D7: to read and write data<br>
 +
A and K: Pins that control the LCD backlight. Connect K to GND and A to 3.3v. Open the backlight and you will see clear characters in a comparatively dark environment. <br>

Revision as of 09:50, 17 April 2017

Introduction

LCD2004, or 2004 character-type liquid crystal display, is a kind of dot matrix module to show letters, numbers, and characters and so on. It's composed of 5x8 dot matrix positions; each position can display one character. There's a dot pitch between two characters and a space between lines, thus separating characters and lines. The number 2004 means on the display, 4 rows can be showed and 20 characters in each.

Pins of LCD2004 and their functions

VSS: connected to ground
VDD: connected to a +5V power supply
VO: to adjust the contrast
RS: A register select pin that controls where in the LCD’s memory you are writing data to. You can select either the data register, which holds what goes on the screen, or an instruction register, which is where the LCD’s controller looks for instructions on what to do next.
R/W: A Read/Write pin to select between reading and writing mode
E: An enabling pin that reads the information when High level (1) is received. The instructions are run when the signal changes from High level to Low level.
D0-D7: to read and write data
A and K: Pins that control the LCD backlight. Connect K to GND and A to 3.3v. Open the backlight and you will see clear characters in a comparatively dark environment.