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

Computer aided design and computer aided manufacturing, The development of ...

The development of CAD had little consequence on CNC initially because of the various abilities and file formats used through drawing and machining programs. Conversely, as Compute

What are the different types of parallel projections, What are the differen...

What are the different types of parallel projections?  The parallel projections are basically divided into two types, depending on the relation among the direction of projectio

Applications that can handle bitmap data, Applications that can handle Bitm...

Applications that can handle Bitmap Data Hundreds of applications are there in the market which can be used to modify or make bitmap data. For illustration: Adobe Photo Shop, C

Applications of ray tracing - modeling and rendering , Applications of Ray ...

Applications of Ray Tracing Thus, you might ask, just what practical utilizes does ray tracing have: a) For vision research, simulation of real-world phenomena, b) Medica

De casteljeau algorithm - bezier curves, De Casteljeau algorithm: The cont...

De Casteljeau algorithm: The control points P 0 , P 1 , P 2 and P 3 are combined with line segments termed as 'control polygon', even if they are not actually a polygon although

Frame buffers - graphics hardware, Frame Buffers - Graphics Hardware ...

Frame Buffers - Graphics Hardware The storage region in a raster scan display system is set as a two-dimensional table. All row-column entry stores information as brightness

Design a game using graphical user interface, BlackJack is a popular card g...

BlackJack is a popular card game played in many casinos. The player plays against the dealer aiming to reach 21 points, or a score higher than the dealer without exceeding 21. The

Panning and zooming a component, Panning and zooming Components (such as yo...

Panning and zooming Components (such as your Polybounce or Animation) is simply a matter of reFrameing the world window. To pan right or left horizontally, one shifts it in the pos

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