Interfacing lcd liquid crystal display, Computer Graphics

Assignment Help:

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.


Related Discussions:- Interfacing lcd liquid crystal display

Hypertext/media and human memory, Hypertext/media and Human Memory Huma...

Hypertext/media and Human Memory Humans associate pieces of information along with other information and make complicated knowledge structures. Thus, this is also said as the h

What is the feature of inkjet printers, What is the feature of Inkjet print...

What is the feature of Inkjet printers? Features of inkjet printers: They can print 2 to 4 pages/minutes. Resolution is about 360d.p.i. Thus better print quality is achie

Normalization transformation, what is normalization transformation?why is i...

what is normalization transformation?why is it needed and important?give simple example also.

Sutherland hodgman algorithm, Sutherland-Hodgman Algorithm Any polygon...

Sutherland-Hodgman Algorithm Any polygon of any type of arbitrary shape can be explained with the assist of some set of vertices connected with it. While we try to clip the po

What is graphics, What is Graphics It is a term that refers to any com...

What is Graphics It is a term that refers to any computer device or program which makes a computer able of displaying and manipulating pictures. The name also refers to the im

Two modes of operation of tablets - cad and cam, Two Modes of Operation of ...

Two Modes of Operation of Tablets Tablets typically sustain two modes of operation as: 1)  Digitizer Mode: creates a one-for-one connection between screen and tablet.

Engineering-applications for computer animation, Engineering: CAD has alwa...

Engineering: CAD has always been an imperative tool in industry. For illustration in automobile design, CAD could be utilized to model a car. Although with the advent of computer

Different advertising hooks, Question: (a) Name two visual effects you...

Question: (a) Name two visual effects you would use to communicate: i. Good old days ii. Rebellion iii. Fear (b) Explain each of your answers given in section (a).

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd