embedded system bye sj

20
A PRACTICAL TRAINING SEMINAR REPORT ON 8051 EMBEDDED SYSTEM Training at CREATIVE AND INNOVATIVE RESEARCH JAIPUR Submitted To: Submitted by: Mr. RAHUL MATHUR SHUBHAJIT VISHWAS ROLL NO. 10ESLEC052 ECE, SLBS, JODHPUR B.TECH. IV year ECE(B3)

Upload: not-yet-working-im-still-studying-

Post on 28-Jan-2015

107 views

Category:

Technology


1 download

DESCRIPTION

 

TRANSCRIPT

Page 1: embedded system bye Sj

APRACTICAL TRAINING SEMINAR REPORT

ON

8051 EMBEDDED SYSTEM

Training atCREATIVE AND INNOVATIVE RESEARCH

JAIPUR Submitted To: Submitted by: Mr. RAHUL MATHUR SHUBHAJIT VISHWAS ROLL NO. 10ESLEC052 ECE, SLBS, JODHPUR B.TECH. IV year ECE(B3)

Page 2: embedded system bye Sj

TOPICS TO BE COVERED:-• What Is Embedded System…?• Micro Controller (Meaning).• Requirement for embedded system. • 8051 pin diagram.• Features of Micro Controller.• Schematic Representation.• Various Integrated Circuits. • Applications of Micro Controller.• Advantages/Disadvantages of Micro Control.

Page 3: embedded system bye Sj

What is an embedded system..?? An Embedded System can be defined

as a computer system designed to perform specific function.

It bring together software, hardware, and mechanical parts with either fixed or programmable capabilities.

Page 4: embedded system bye Sj

Requirements for embedded system

● Software:- Keil µVision Win- AVR Proteus Dip trace

● Hardware:- AT89C51 and as our requirement

Page 5: embedded system bye Sj

EMBEDDED SYSTEM IN DAILY LIFE

Moving message display Digital clock

DVD player Traffic Light

Page 6: embedded system bye Sj

Micro controller Micro controller is used to control

the operation of various machines and devices according to the program/instruction.

Page 7: embedded system bye Sj

PIN DIAGRAM OF THE 8051

Page 8: embedded system bye Sj

Pin’s of 8051. Vcc GND Port 0 Port 1 Port 2 Port 3 RST ALE / PROG PSEN EA / VPP XTAL 1 XTAL 2

Page 9: embedded system bye Sj

8051 Microcontroller Intel introduced 8051, referred as MCS- 51, in

1981.

The 8051 is an 8-bit processor The CPU can work on only 8 bits of data at a time

The 8051 became widely popular after allowing other manufactures to make and market any flavor of the 8051.

Page 10: embedded system bye Sj

8051 Features

4K bytes ROM 128 bytes of on-chip Data RAM 32 bidirectional and individually addressable I/0 lines Two 16-bit timer/counters :T0 and T1 On-chip clock oscillator

Page 11: embedded system bye Sj

Various integrated circuits.

->ULN2003/2803-> 78XX series->79XX series->L293D

Page 12: embedded system bye Sj

78xx/79xx series3-terminal positive voltage regulatorsXx- output voltage (7805 +5v, 7812 +12v,)Output current is 1.0A

Page 13: embedded system bye Sj

Uln 2003/2803 series

• This is 7/8 channel inductive load driver IC.

• Made up by Darlington transistor pair b/w input-output.

• This IC can only sink but not source.

Page 14: embedded system bye Sj

M

12V1 0

M0 1

motor can’t drive

Input from m.c

Gnd.

This showes that this IC can only sink but not source

Page 15: embedded system bye Sj

L293D

The L293D is assembled in a 16 lead plastic

package which has 4 center pins connected

together and used for heat sinking.

This device is suitable for use in switching

applications at frequencies up to 5 kHz.

600mA OUTPUT CURRENT CAPABILITY

PER CHANNEL

It is motor driver IC’s.

Page 16: embedded system bye Sj

print “hello world “at lcd

Proteus connection for lcd

Page 17: embedded system bye Sj

Code#include<regx51.h>#include<LCD.h>unsigned int i;void delay(unsigned int d){ for(i=0;i<d;i++);}void main(){ InitLCD(); while(1){ ClearLCDScreen(); WriteStringToLCD("hello"); WriteCommandToLCD(0xC0); WriteStringToLCD("world");

delay(50000);}}

Page 18: embedded system bye Sj

After coding

Page 19: embedded system bye Sj

Advantages/ Disadvantages of M.C.

Advantages Cheap Small in size Programming of MC is simple

Disadvantages Functionality is quite difficult. Specific purposes Speed ( if you need a response to an inputIn less than a few microseconds)

Page 20: embedded system bye Sj