Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 17

Submitted By: Aanchal Chaudhary Enrollment No.

- Jnu-jpr-2011/00871

What is Embedded system Characteristic of Embedded System

Applications of Embedded system

Automotive electronics Aircraft electronics Trains Telecommunication


3

Overview of 8051 family Microcontrollers and embedded


processors

Types of Registers :
a. Program Counter b. DPTR c. 4 Register Banks PSWR and Stack Instructions different from Microprocessor
6

Structure of Assembly Language Assembling and Running an 8051 program Creating a Hex File

Stack - An area of internal RAM that is used in conjunction with certain opcodes to store and retrieve data quickly.

Stack Pointer - It is an 8-bit register to hold an internal RAM address that is called top - of - stack.

Looping instructions

Subroutines

Jump instructions Loop instructions Call instructions

Arithmetic & Logical Instructions


Time delay

Addition, Subtraction, Multiplication, Division

10

Pin No 1 2 3 4 5 6 7-14 15 16

Description

Vss Vcc Contrast Voltage RS R/W EN Data Input/Output Pins (D0-D7) Anode (K) Cathode (K)
11

12

Code (Hex) 1 4

6
5 7 8 A C

Command to LCD Instruction Register Clear display screen Decrement cursor (shift cursor to left) Increment cursor (shift cursor to right) Shift display right Shift display left Display off, cursor off Display off, cursor on Display on, cursor off
13

Code (Hex) E F 10 14 18 1C 80 C0 38 2

Command to LCD Instruction Register Display on, cursor on Display on, cursor blinking Shift cursor position to left Shift cursor position to right Shift the entire display to the left Shift the entire display to the right Force cursor to beginning to 1st line Force cursor to beginning to 2nd line 2 lines and 5x7 matrix Return home
14

1.Energy Management 2. Touch screens 3. Automobiles 4. Medical Devices

15

IR Sensor Proximity Sensor TSOP

16

17

You might also like