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

What is polygon mesh, What is Polygon mesh?  Polygon mesh is a method t...

What is Polygon mesh?  Polygon mesh is a method to show the polygon, when the object surfaces are tiled, it is more convenient to state the surface facets with a mesh function.

Put the system of a geometric data table for a 3d rectangle, Put the system...

Put the system of a geometric data table for a 3d rectangle. Solution : Vertex Table Edge Table Polygon Surface Table

Sequence of steps to generate a full animation, Sequence of Steps to Genera...

Sequence of Steps to Generate a Full Animation The sequence of steps to generate a full animation would be as given below: 1)  Improve a script or story for the animation.

Trivial rejection case of cohen sutherland line clippings, Trivial Rejectio...

Trivial Rejection Case of cohen sutherland line clippings Case: it  is Trivial Rejection Case; if the logical intersection (AND) of the bit codes of the end points P, Q of

Derive the single combined transformation matrix, A 2D geometric shape is r...

A 2D geometric shape is rotated about a point with coordinates (1,2)  by 90°  in a clockwise direction.  Then, the shape is scaled about the same point in the x-coordinate by 2 tim

Perspective distortion - ray tracing methods , Perspective Distortion - Pol...

Perspective Distortion - Polygon Rendering and Ray Tracing Methods Anomalies are introduced since interpolation is performed after perspective transformation in the 3-D scree

Define the term -monitoring, Define the term -Monitoring Chemical and n...

Define the term -Monitoring Chemical and nuclear plants (monitoring key parameters), hospitals (monitoring patient's vital signs), burglar alarms (monitoring for intruders) etc

Define the term avatars- animation, Define the term Avatars- Animation ...

Define the term Avatars- Animation Avatars are another instance of animation. These are frequently used to represent people either in 3-D (as used in computer games) and in 2-D

3d studio max -softwares for computer animation, 3DStudio Max -Softwares fo...

3DStudio Max -Softwares for computer animation The successor to 3-DStudio 3.0, 3-DStudio Max runs in WindowsNT. This is completely object-oriented, featuring new enhancements a

Use the outline method to plot font boundaries, 1. Use the outline method t...

1. Use the outline method to plot the following font boundaries (style should remain the same). Implement your method in C language.    ANswer: Here letter G is produced

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