Interfacing lcd liquid crystal display, Computer Graphics

Main Objectives:

  1. Interfacing LCD to the Micro-controller (PIC18F4520)
  2. Programming LCD by using C- language via MPLAB
  3. Sending data or command to the LCD

Components required for this task are listed below:

1. Personal Computer
2. MPLAB MPASM Assembler Software(Student Edition)
3. PIC Tool Kits ( ICD2 Debugger) and Demo Board
4. LCD and 10k variable Resistor (potential)

Recently, embedded systems engineers has done many projects using liquid crystal display (LCD) which is as a result of their ability to display not just numbers, but also letters, words and all manners of symbols, which really make them more versatile than the very familiar 7 segment light emitting diode (LED).

Advantages of using LCD instead of LEDs are as follows:

• Ability to display numbers, characters and graphics
• Easy of programming for characters and graphics
• The declining prices of LCDs

2135_LCD.png

FIGURE: Image of LCD pin outs

The above diagram shows the LCD in nibble (4-bit) mode, and used only 7 pins to interface the LCD. The pins connections are Data (D4-D7) and Enable (E) and Register Select (RS) are used for LCD control pins. The Read/Write (RW) Pin of the LCD was grounded permanently, as we are only writing on the LCD and also connected to the microcontroller in case we need to use it. The LCD contrast is controlled by the Potentiometer RV1. All other unwanted data pins of LCD i.e. D0-D3 are connected to ground.

The LCD pins are connected to the PIC18F452 via PORTD (RD0 - RD3) for data line D4-D7 and PORTE (RE0 -RE2) for E, R/W and RS respectively. I have used only 4bits (nibble) data bus (i.e. D4 - D7) in order to reduce the pin .or line interfacing with the PIC. Pin 15 and 16 are not connected the PIC.

Posted Date: 2/23/2013 12:48:30 AM | Location : United States







Related Discussions:- Interfacing lcd liquid crystal display, Assignment Help, Ask Question on Interfacing lcd liquid crystal display, Get Answer, Expert's Help, Interfacing lcd liquid crystal display Discussions

Write discussion on Interfacing lcd liquid crystal display
Your posts are moderated
Related Questions
What is uniform rational splines

Implement displacement mapping and bump mapping on a sphere. The displacement can be whatever your choice. The bump map can be whatever your choice as well.

Curve Clipping and Character Clipping As you proceed further, you would see that the methods for curve clipping and character clipping have also been developed based on boundin

what is the opengl code for tcp connection?

Construction of a Solid with a Translational Sweep Figure demonstrates construction of a solid along with a translational sweep. Translating the control points of the periodic

Archeology: along with the advent of the computer, the archeologist has obtained a new tool, computer animation. An object-model can be made comparatively quick and without any we

There are mostly two kinds of Video Tele Conference systems: 1) Desktop systems are add-ons to normal PC's, transforming them in Video Tele Conference devices. A range of variou

Space Exploration: now, the farthest point far away from earth which the human was on the moon, although we continually want to learn more. A trip by a human to the other planet w

Perspective Projections - Transformation In this projection the center of projection is at limited distance. This projection is termed as perspective projection since in this

Computer Aided Design and Drafting CADD or CAD stands for Computer Aided Design and Drafting. This is different from both "draw" and "paint" programs in which measurement is c