Showing posts with label 8052. Show all posts
Showing posts with label 8052. Show all posts

Monday, January 23, 2012

Schematic Liquid Crystal Display LCD Introduction

3 LCD Overview
The HD44780 dot-matrix liquid crystal display controller and driver LSI displays alphanumeric characters and symbols. It can be configured to drive a dot-matrix liquid crystal display when interfaced with a processor. A single HD44780 can display up to one 20-character line or two 20-character lines.
3.1 Function Description
The following section introduces some of the important features of the liquid crystal display that are important for interfacing with the liquid crystal display through software.
3.1.1 Registers
The LCD has two 8-bit registers, an instruction register (IR) and a data register (DR).The IR stores instruction information, such as display clear and cursor shift, and address information for display data RAM (DDRAM) and character generator RAM (CGRAM). The DR temporarily stores data to be entered into DDRAM or CGRAM and temporarily stores data to be read from DDRAM or CGRAM. Data written into the DR is automatically written into DDRAM or CGRAM by an internal operation. The DR is also used for data storage when reading data from DDRAM or CGRAM. When address information is written into the IR, data is read and then stored into the DR from DDRAM or CGRAM by an internal operation.
3.1.2 Busy Flag (BF)
When the busy flag is 1, the LCD is in the internal operation mode, and the next instruction will not be accepted. When RS = 0 and R/W = 1 (Table 1), the busy flag is output to DB7. The next instruction must be written after ensuring that the busy flag is 0.
3.1.3 Address Counter (AC)
The address counter (AC) assigns addresses to both DDRAM and CGRAM. When an address of an instruction is written into the IR, the address information is sent from the IR to the AC. Selection of either DDRAM or CGRAM is also determined concurrently by the instruction.
After writing into (reading from) DDRAM or CGRAM, the AC is automatically incremented by 1 (decremented by 1). The AC contents are then output to DB0 to DB6 when RS = 0 and R/W = 1.
3.1.4 Initializing by Internal Reset Circuit
An internal reset circuit automatically initializes the LCD when the power is turned on. The busy flag (BF) is kept in the busy state until the initialization ends (BF = 1). The busy state lasts for 10 ms after VCC rises to 4.5 V
3.2 Pin assignment
The pin assignment, shown in Table1, is the industry standard for character LCD-modules with a maximum of 80 characters.




3.3 LCD addressing values
Liquid Crystal Display LCD Introduction PIN assignment of LCD

HD44780 lcd microcontroller interfacing instruction set

LCD addressing of characters location

Tags:-lcd display microcontroller program,liquid crystal display interfacing with microcontroller, how to use lcd with microcontroller,microcontroller at89c2051 based alarm clock: assembly code,microcontroller at89c2051 based ir wireless frequency counter: assembly code,
read more "Schematic Liquid Crystal Display LCD Introduction"

Thursday, January 5, 2012

Schematic pulse width measurement Project Description

Project Description:-

Our project is to measure the frequency and pulse width of an input rectangular wave form and to implement a digital clock using AT89C52. A signal having rectangular waveform is applied at the pin 12 and 14 of AT89C52. The frequency and pulse width of the signal is measured by the microcontroller and results are displayed on LCD display panel. The project also includes interfacing to personal computer using serial communication. The results are also displayed in hyper-terminal window. The microcontroller also keeps track of time. User can enter the current time by pressing key ‘I’ for one time only. Then microcontroller constantly updates time both in hyper-terminal window and on LCD display panel.

Topics covered in this project of microcontroller are:-

  1. PWM on micro controller 8051 family and measurement of pulse width using built in hardware timers and interrupts.
  2. Understanding of duty cycle of rectangular waves and square waves.
  3. measurements of duty cycle of the square waves.
  4. Hardware of 8052 microcontroller, we used At89c52 microcontroller.
  5. Algorithm of determination of frequency and pulse width of the signal
  6. Liquid crystal display LCD and interfacing of LCD with microcontroller 8052
  7. Interfacing of micro controller board with personal computer PC.
  8. Communication between PC and micro controller 8052.
  9. serial communication between 8052 experimental board to computer.
  10. Use of hyper terminal of windows built in program to communicate with outside world through RS-232 serial communication.
  11. development of clock on micro controller board
  12. adjustment of time of running clock with the help of hyper terminal through serial port.



Previous Page


Tags:- PWM using at89c51 microcontroller, pulse width modulation technique using microcontroller 89s51, interface of LCD with microcontroller 8052, serial communication protocols,RS-232 pin diagrams,Pulse width modulation tutorial for motor speed control and voltage control. 8051 Microcontroller Projects pulse width modulator using 8051(89s52) to illustrate the concept of PWM
pwm circuit pwm pdf pwm controller pwm tutorial pwm inverter circuito pwm hho mosfet hyperterminal download hyperterminal vista hyperterminal software hyperterminal commands hyperterminal xp hyperterminal tutorial hyperterminal windows hyperterminal private edition
read more "Schematic pulse width measurement Project Description"