embedded system bye sj
DESCRIPTION
TRANSCRIPT
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)
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.
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.
Requirements for embedded system
● Software:- Keil µVision Win- AVR Proteus Dip trace
● Hardware:- AT89C51 and as our requirement
EMBEDDED SYSTEM IN DAILY LIFE
Moving message display Digital clock
DVD player Traffic Light
Micro controller Micro controller is used to control
the operation of various machines and devices according to the program/instruction.
PIN DIAGRAM OF THE 8051
Pin’s of 8051. Vcc GND Port 0 Port 1 Port 2 Port 3 RST ALE / PROG PSEN EA / VPP XTAL 1 XTAL 2
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.
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
Various integrated circuits.
->ULN2003/2803-> 78XX series->79XX series->L293D
78xx/79xx series3-terminal positive voltage regulatorsXx- output voltage (7805 +5v, 7812 +12v,)Output current is 1.0A
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.
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
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.
print “hello world “at lcd
Proteus connection for lcd
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);}}
After coding
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)