Showing posts with label Address Counter (AC) of LCD. Show all posts
Showing posts with label Address Counter (AC) of LCD. Show all posts

Monday, December 26, 2011

Schematic Frequency Counter and Pulse Width Measurement System

Frequency Counter and Pulse Width Measurement System, Cum Digital Clock

This post discusses the implementation of frequency counter and pulse width measurement system and digital clock. The purpose of post is to present the hardware and software parts of the project. The main components are: AT89C52 microcontroller, HD44780U LCD Display Panel and MAX232 level converter. The software is written/programmed in Kiel C51.

Table of Contents of the Project based on microcontroller AT89s52

1 Project Description of Frequency Counter and Pulse Width Measurement System, Cum Digital Clock
2 8052 OVERVIEW
2.1 Special Function Registers (SFR) of 8051 family microcontrollers
2.2 ALU of 8051 family microcontrollers
2.3 Accumulator of 8051 family microcontrollers
2.4 Program Status Word (PSW) of 8051 family microcontrollers
2.5 Stack Pointer (SP) of 8051 family microcontrollers
2.6 Data Pointer (DPTR) of 8051 family microcontrollers
2.7 Timer/Counters of 8051 family microcontrollers
2.8 UART in 8051 family microcontrollers
2.9 I/O Ports of 8051 family microcontrollers
2.10 Program Counter (Pc) of 8051 family microcontrollers
2.11 Scratchpad Registers (Ram) of 8051 family microcontrollers
2.12 Register Banks of 8051 family microcontrollers
2.13 Address/Data Bus of 8051 family microcontrollers
2.14 Internal Ram Organization of 8051 family microcontrollers
2.15 Interrupts of 8051 family microcontrollers
3 LCD Overview and its uses with 8051 family microcontrollers
3.1 Function Description of liquid crystal display
3.1.1 Registers of liquid crystal display
3.1.2 Busy Flag (BF) of liquid crystal display
3.1.3 Address Counter (AC) of liquid crystal display
3.1.4 Initializing by Internal Reset Circuit
3.2 Pin assignment of liquid crystal display
3.3 Instruction set of liquid crystal display
3.4 LCD addressing values
4 MAX 232 and its interfacing with microcontroller 8051
5 Circuit Diagram of Frequency Counter and Pulse Width Measurement System Project
6 SOFTWARE of Frequency Counter and Pulse Width Measurement System project

What will you do in this project:-
  1. students will learn the Introduction of microcontroller 8052
  2. How do frequency counters work
  3. Functionality of pulse width modulation and PWM measurements with microcontroller 8052
  4. Implementation of digital clock with microcontroller 8051
  5. how do different task are performed within a microcontroller
  6. Time trigger task performance
  7. Interfacing of LCD with microcontroller
  8. Serial communication RS232 between PC and microcontroller 8052
  9. Code writting in Keil C51 for Microcontroller 8051 family

 . Next Page

Tags:-frequency meter with 8051,microcontroller based frequency meter, read precise frequency with microcontroller, how to develop a frequency meter, atmel 89c51 microcontroller, high frequency meter, measure frequency using microcontroller
read more "Schematic Frequency Counter and Pulse Width Measurement System"

Friday, December 2, 2011

Schematic Address Counter (AC) of LCD

3.1.3 Address Counter (AC)
address counter ( ′adres ′kau̇ntər ) ( computer science ) A counter which increments an initial memory address as a block of data is being transferred.

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

We have used an LCD (liquid crystal display). They are all around us -- in laptop computers, digital clocks and watches, microwave ovens, CD players and many other electronic devices. LCDs are common because they offer some real advantages over other display technologies. They are thinner and lighter and draw much less power than cathode ray tubes (CRTs), An internal reset circuit automatically initializes theHD44780 when the power is turned on. The following instructions are executed during the initialization. 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.1.5 Pin Assighnment

The pin assignment shown in Table . is the industry standard for character LCD-modules with a maximum of 80 characters.
Pin number Symbol Level I/O Function


1 Vss - - Power supply (GND)

2 Vcc - - Power supply (+5V)

3 Vee - - Contrast adjust

4 RS 0/1 I 0 = Instruction input

1 = Data input

5 R/W 0/1 I 0 = Write to LCD module

1 = Read from LCD module

6 E 1, 1->0 I Enable signal

7 DB0 0/1 I/O Data bus line 0 (LSB)

8 DB1 0/1 I/O Data bus line 1

9 DB2 0/1 I/O Data bus line 2

10 DB3 0/1 I/O Data bus line 3

11 DB4 0/1 I/O Data bus line 4

12 DB5 0/1 I/O Data bus line 5

13 DB6 0/1 I/O Data bus line 6

14 DB7 0/1 I/O Data bus line 7 (MSB)

Clear display 0 0 0 0 0 0 0 0 0 1 Clears display and returns cursor to the home position (address 0). 1.64mS


Cursor home 0 0 0 0 0 0 0 0 1 * Returns cursor to home position (address 0). Also returns display being shifted to the original position. DDRAM contents remains unchanged. 1.64mS

Write to CGRAM or DDRAM 1 0 write data Writes data to CGRAM or DDRAM. 40uS

Read from CGRAM or DDRAM 1 1 read data Reads data from CGRAM or DDRAM. 40uS




 BACK to Content Page

 . Next Page

 .   Previous Page
tags:- ′adres ′kau̇ntər ,Sample Address Counter ,Program counter ,The program counter, or PC (also called the instruction pointer to a seminal Intel instruction set, such as the 8080 or 4004, or instruction address ,HEX address counter,8051-Assembler,Addresses and Counter-Motions ,Address Counter (AC),“Set DD RAM Address”,Advanced Microprocessors And Peripherals ,auto address increment counter,DDRAM Display data RAM CGRAM Character generator RAM ACC CG RAM address ADD DD RAM address, corresponds to cursor address AC Address counter Program counter address
read more "Schematic Address Counter (AC) of LCD"