SlideShare a Scribd company logo
INDUSTRIAL TRAINING
REPORT EMBEDDED
SYSTEM
Submitted By – MEGHDEEP KUMAR SINGH
ELECTRONICS AND COMMUNICATION
UNIV ROLL NO - 11700319047
Table Of Contents:-
• 1. Front Page
• 2. Preface
• 3. Introduction
• 4. Definition of a Microcontroller
• 5. Pin Configuration
• 6. Reset Circuit
• 7. Registers
• 8. Instruction Set
• 9. Addressing Modes
• 10. Microcontrollers vs Microprocessors
• 11. LED (Light Emitting Diodes)
• 12. 7 Segment Display
• 13. References and Bibliography
Preface:-
This training report is all about the embedded systems and its applications in
various fields of real world. We are living in the Embedded World. We are
surrounded with many embedded products and our daily life largely depends
on proper functioning of these gadgets. Television, Radio, CD player,
Washing Machine or Microwave Oven in our kitchen, Card readers, Access
Controllers, Palm devices of our space enable us to do many of our tasks
very effectively Apart from all these , many controllers embedded in our car
take care of car operations between the bumpers. All kinds of magazines
and journals regularly dish out details about latest technologies,
newdevices; applications which make us believe that our basic survival is
controlled by these embedded products. Now we can agree to the fact that
these embedded products have successfully invaded into our vast world.
What is this Embedded System? Theoretically an embedded controller is
combination of piece of microprocessor based hardware and the suitable
software to undertake a specific task.
Introduction :-
Circumstances that we find ourselves in today in the field of microcontrollers
had their beginnings in the development of technology of integrated circuits.
This development has made it possible to store hundreds of thousands of
transistors into one chip. That was a pre requisite for production of
microprocessors, and the first computers were made by adding external
peripherals such as memory, input-output lines, timers and other. Further
increasing of the volume of the package resulted in creation of integrated
circuits. These integrated circuits contained both processor and peripherals.
That is how the first chip containing a microcomputer, or what would later be
known as a microcontroller came about
Definition of a Microcontroller:-
Microcontroller, as the name suggests, are small controllers. They are like single
chip computers that are often embedded into other systems to function as
processing/controlling unit. For example, the remote control you are using probably
has microcontrollers inside that do decoding and other controlling functions. They
are also used in automobiles, washing machines, microwave ovens, toys ... etc,
where automation is needed. The key features of microcontrollers include: High
Integration of Functionality Microcontrollers sometimes are called single-chip
computers because they have on-chip memory and I/O circuitry and other
circuitries that enable them to function as small standalone computers without other
supporting circuitry. Field Programmability, Flexibility Microcontrollers often use
EEPROM or EPROM as their storage device to allow field program ability so they
are flexible to use. Once the program istested to be correct then large quantities of
microcontrollers can be programmed to be used in embedded systems. Easy to
Use Assembly language is often used in microcontrollers and since they usually
follow RISC architecture, the instruction set is small. The development package of
microcontrollers often includes an assembler, a simulator, a programmer to "burn"
the chip and a demonstration board. Some packages include a high level language
compiler such as a Compiler and more sophisticated libraries
Most microcontrollers will also combine other devices such as:
A Timer module to allow the microcontroller to perform tasks for certain time
periods.
A serial I/O port to allow data to flow between the microcontroller and other
devices such as a PC or another microcontroller.
An ADC to allow the microcontroller to accept analogue input data for
processing.
Pin Configuration :-
The AT89C51 provides the following standard features: 4K bytes of Flash,
128 bytes of RAM, 32 I/O lines, two 16-bit timer/counters, a five vector two-
level interrupt architecture, a full duplex serial port, on-chip oscillator and
clock circuitry. In addition, the AT89C51 is designed with static logic for
operation down to zero frequency and supports two software selectable
power saving modes. The Idle Mode stops the CPU while allowing the RAM,
timer/counters, serial port and interrupt system to continue functioning. The
Power-down Mode saves the RAM contents but freezes the oscillator
disabling all other chip functions until the next hardware reset.
Registers:-
The Accumulator
The Accumulator, as its name suggests, is used as a general register to
accumulate the results of a large number of instructions. It can hold an 8-bit
(1-byte) value and is the most versatile register
The "R" registers
The "R" registers are a set of eight registers that are named R0, R1, etc. up
to and including R7. These registers are used as auxiliary registers in many
operations.
The "B" Register
The "B" register is very similar to the Accumulator in the sense that it may
hold an 8-bit value (1-byte) value. The "B" register is only used by two 8051
instructions: MUL AB and DIV AB.
The Data Pointer (DPTR)
The Data Pointer (DPTR) is the 8051’s only user-accessible 16-bit (2-byte)
register.Accumulator, "R" registers, and "B" register are all 1-byte values.
DPTR, as the name suggests, is used to point to data. It is used by a
number of commands which allow the 8051 to access external memory.
The Program Counter (PC)
The Program Counter (PC) is a 2-byte address which tells the 8051 where
the next instruction to execute is found in memory. When the 8051 is
initialized PC always starts at 0000h and is incremented each time an
instruction is executed.
The Stack Pointer (SP)
The Stack Pointer, like all registers except DPTR and PC, may hold an 8-bit
(1-byte)value. The Stack Pointer is used to indicate where the next value to
be removed from the stack
Instruction set:-
MOVINSTRUCTIONS:
Simply stated, the MOV instruction copies data from one location to another.
It has the following format
MOV destination, source
This instruction tells the CPU to move (copy) the source operand to the
destination operand, without changing the content of the source operand.
MOV A,#55h
Load 55h into register A
;ADD INSTRUCTIONS:
The ADD instruction has the following format: ADD A, source This tells the
CPU to add the source byte to reg A and put the result in reg A
ADDRESSING MODES:-
An "addressing mode" refers to how you are addressing a given
memory location .The addressing modes are as follows, With an
example of each:
Immediate Addressing MOV A, #20h Direct Addressing MOV A,
#30h Indirect Addressing MOV A, @R0 External Direct MOVX A,
@DPTR Code Indirect MOVC A, @A+DPTR
Each of these addressing modes provides important flexibility
Microcontrollers versus Microprocessors:-
Microcontroller differs from a microprocessor in many ways. First and the most important is its
functionality. In order for a microprocessor to be used, other components such as memory, o
components for receiving and sending data must be added to it. In short that means that
microprocessor is the very heart of the computer. On the other hand, microcontroller is designed
to be all of that in one. No other external components are needed for its application because all
necessary peripherals are already built into it. Thus, we save the time and space needed to
construct device.
LED AND ITS PROGRAMMING:
WAP to toggle LED
$ mod 51 org 0
here: clr p1.3
acall delay
setb p1.3
acall delay
sjmp here
delay:
mov r2,#25
l3: mov r0,#255
l2: mov r1,#255
l1: djnz r1,
l1 djnz r0,l2
djnz r0,l3
ret
7 Segment Display:-
INTRODUCTION:
For the seven segment display you can use the LT-541 or LSD5061- 11
chip. Each of the segments of the display is connected to a pin on the 8051
(the schematic shows how to do this). In order to light up a segment on the
the pin must be set to 0V. To turn a segment off the corresponding pin must
be set to 5V. This is simply done by setting the pins on the 8051 to '1' or '0’.
LED displays are
*Power-hungry (10ma per LED)
*Pin-hungry (8 pins per 7-seg display)
But they are cheaper than LCD display
References And Bibliography :-
>“THE 8051 MICROCONTROLLER AND EMBEDDED SYSTEM”by
Muhammad Ali Mazidi , Janice Gillispie Mazidi, Rolin D. Mckinlay.
>“The 8051 MICROCONTROLLER” by K. J. Ayala.
>"Advanced Microprocessors and Microcontrollers" by B.P. Singh &
Renu Singh.
• Net Links :
• www.wikipedia.com
• www.cetpainfotech.com
• www.electronicsforyou.com
• www.encyclopedia.com
•
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx

More Related Content

Similar to INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx

Embedded System Basics
Embedded System BasicsEmbedded System Basics
Embedded System Basics
Dr M Muruganandam Masilamani
 
Overview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontrollerOverview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontroller
Rup Chowdhury
 
Embeded system by Mitesh Kumar
Embeded system by Mitesh KumarEmbeded system by Mitesh Kumar
Embeded system by Mitesh Kumar
Mitesh Kumar
 
Iot Workshop NITT 2015
Iot Workshop NITT 2015Iot Workshop NITT 2015
Iot Workshop NITT 2015
Srivignessh Pss
 
Project report on embedded system using 8051 microcontroller
Project  report on embedded system using 8051 microcontrollerProject  report on embedded system using 8051 microcontroller
Project report on embedded system using 8051 microcontrollerVandna Sambyal
 
Micro controller
Micro controllerMicro controller
Micro controller
Devi Prasad
 
Embedded system 8051 Microcontroller
Embedded system 8051 MicrocontrollerEmbedded system 8051 Microcontroller
Embedded system 8051 Microcontroller
ankitsharmaj
 
Embedded training report(mcs 51)
Embedded training report(mcs 51)Embedded training report(mcs 51)
Embedded training report(mcs 51)Gurwinder Singh
 
MergeResult_2023_04_02_05_26_56.pptx
MergeResult_2023_04_02_05_26_56.pptxMergeResult_2023_04_02_05_26_56.pptx
MergeResult_2023_04_02_05_26_56.pptx
bhaveshagrawal35
 
micro controllers 1.ppt
micro controllers 1.pptmicro controllers 1.ppt
micro controllers 1.ppt
siminkhan
 
INTRODUCTION TO MICROCONTROLLER
INTRODUCTION TO MICROCONTROLLERINTRODUCTION TO MICROCONTROLLER
INTRODUCTION TO MICROCONTROLLER
Ankita Jaiswal
 
Uc1(vii sem)
Uc1(vii sem)Uc1(vii sem)
Uc1(vii sem)
Ankita Jaiswal
 
AN INTEGRATED FOUR-PORT DC-DC CONVERTER-CEI0080
AN INTEGRATED FOUR-PORT DC-DC CONVERTER-CEI0080AN INTEGRATED FOUR-PORT DC-DC CONVERTER-CEI0080
AN INTEGRATED FOUR-PORT DC-DC CONVERTER-CEI0080Vivek Venugopal
 
embedded system and microcontroller
 embedded system and microcontroller embedded system and microcontroller
embedded system and microcontroller
SHILPA Sillobhargav
 
Microcontroller based speedo meter cum odometer
Microcontroller based speedo meter cum odometerMicrocontroller based speedo meter cum odometer
Microcontroller based speedo meter cum odometer
Nexus
 
Introduction to microprocessor
Introduction to microprocessorIntroduction to microprocessor
Introduction to microprocessor
RamaPrabha24
 
20838382 microprocessor-8085-notes
20838382 microprocessor-8085-notes20838382 microprocessor-8085-notes
20838382 microprocessor-8085-notesRavali Sunki
 
btech 8051 Microcontroller Programing.pptx
btech 8051 Microcontroller Programing.pptxbtech 8051 Microcontroller Programing.pptx
btech 8051 Microcontroller Programing.pptx
SKWriters
 

Similar to INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx (20)

Embedded System Basics
Embedded System BasicsEmbedded System Basics
Embedded System Basics
 
Overview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontrollerOverview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontroller
 
Embeded system by Mitesh Kumar
Embeded system by Mitesh KumarEmbeded system by Mitesh Kumar
Embeded system by Mitesh Kumar
 
Iot Workshop NITT 2015
Iot Workshop NITT 2015Iot Workshop NITT 2015
Iot Workshop NITT 2015
 
Project report on embedded system using 8051 microcontroller
Project  report on embedded system using 8051 microcontrollerProject  report on embedded system using 8051 microcontroller
Project report on embedded system using 8051 microcontroller
 
Micro controller
Micro controllerMicro controller
Micro controller
 
Embedded system 8051 Microcontroller
Embedded system 8051 MicrocontrollerEmbedded system 8051 Microcontroller
Embedded system 8051 Microcontroller
 
Embedded training report(mcs 51)
Embedded training report(mcs 51)Embedded training report(mcs 51)
Embedded training report(mcs 51)
 
MergeResult_2023_04_02_05_26_56.pptx
MergeResult_2023_04_02_05_26_56.pptxMergeResult_2023_04_02_05_26_56.pptx
MergeResult_2023_04_02_05_26_56.pptx
 
micro controllers 1.ppt
micro controllers 1.pptmicro controllers 1.ppt
micro controllers 1.ppt
 
INTRODUCTION TO MICROCONTROLLER
INTRODUCTION TO MICROCONTROLLERINTRODUCTION TO MICROCONTROLLER
INTRODUCTION TO MICROCONTROLLER
 
Uc1(vii sem)
Uc1(vii sem)Uc1(vii sem)
Uc1(vii sem)
 
AN INTEGRATED FOUR-PORT DC-DC CONVERTER-CEI0080
AN INTEGRATED FOUR-PORT DC-DC CONVERTER-CEI0080AN INTEGRATED FOUR-PORT DC-DC CONVERTER-CEI0080
AN INTEGRATED FOUR-PORT DC-DC CONVERTER-CEI0080
 
embedded system and microcontroller
 embedded system and microcontroller embedded system and microcontroller
embedded system and microcontroller
 
Microcontroller based speedo meter cum odometer
Microcontroller based speedo meter cum odometerMicrocontroller based speedo meter cum odometer
Microcontroller based speedo meter cum odometer
 
Introduction to microprocessor
Introduction to microprocessorIntroduction to microprocessor
Introduction to microprocessor
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
 
89s52 2
89s52 289s52 2
89s52 2
 
20838382 microprocessor-8085-notes
20838382 microprocessor-8085-notes20838382 microprocessor-8085-notes
20838382 microprocessor-8085-notes
 
btech 8051 Microcontroller Programing.pptx
btech 8051 Microcontroller Programing.pptxbtech 8051 Microcontroller Programing.pptx
btech 8051 Microcontroller Programing.pptx
 

Recently uploaded

Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
Steve Thomason
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
PedroFerreira53928
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
GeoBlogs
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
Celine George
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 

Recently uploaded (20)

Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 

INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx

  • 1. INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM Submitted By – MEGHDEEP KUMAR SINGH ELECTRONICS AND COMMUNICATION UNIV ROLL NO - 11700319047
  • 2. Table Of Contents:- • 1. Front Page • 2. Preface • 3. Introduction • 4. Definition of a Microcontroller • 5. Pin Configuration • 6. Reset Circuit • 7. Registers • 8. Instruction Set • 9. Addressing Modes • 10. Microcontrollers vs Microprocessors • 11. LED (Light Emitting Diodes) • 12. 7 Segment Display • 13. References and Bibliography
  • 3. Preface:- This training report is all about the embedded systems and its applications in various fields of real world. We are living in the Embedded World. We are surrounded with many embedded products and our daily life largely depends on proper functioning of these gadgets. Television, Radio, CD player, Washing Machine or Microwave Oven in our kitchen, Card readers, Access Controllers, Palm devices of our space enable us to do many of our tasks very effectively Apart from all these , many controllers embedded in our car take care of car operations between the bumpers. All kinds of magazines and journals regularly dish out details about latest technologies, newdevices; applications which make us believe that our basic survival is controlled by these embedded products. Now we can agree to the fact that these embedded products have successfully invaded into our vast world. What is this Embedded System? Theoretically an embedded controller is combination of piece of microprocessor based hardware and the suitable software to undertake a specific task.
  • 4. Introduction :- Circumstances that we find ourselves in today in the field of microcontrollers had their beginnings in the development of technology of integrated circuits. This development has made it possible to store hundreds of thousands of transistors into one chip. That was a pre requisite for production of microprocessors, and the first computers were made by adding external peripherals such as memory, input-output lines, timers and other. Further increasing of the volume of the package resulted in creation of integrated circuits. These integrated circuits contained both processor and peripherals. That is how the first chip containing a microcomputer, or what would later be known as a microcontroller came about
  • 5. Definition of a Microcontroller:- Microcontroller, as the name suggests, are small controllers. They are like single chip computers that are often embedded into other systems to function as processing/controlling unit. For example, the remote control you are using probably has microcontrollers inside that do decoding and other controlling functions. They are also used in automobiles, washing machines, microwave ovens, toys ... etc, where automation is needed. The key features of microcontrollers include: High Integration of Functionality Microcontrollers sometimes are called single-chip computers because they have on-chip memory and I/O circuitry and other circuitries that enable them to function as small standalone computers without other supporting circuitry. Field Programmability, Flexibility Microcontrollers often use EEPROM or EPROM as their storage device to allow field program ability so they are flexible to use. Once the program istested to be correct then large quantities of microcontrollers can be programmed to be used in embedded systems. Easy to Use Assembly language is often used in microcontrollers and since they usually follow RISC architecture, the instruction set is small. The development package of microcontrollers often includes an assembler, a simulator, a programmer to "burn" the chip and a demonstration board. Some packages include a high level language compiler such as a Compiler and more sophisticated libraries
  • 6. Most microcontrollers will also combine other devices such as: A Timer module to allow the microcontroller to perform tasks for certain time periods. A serial I/O port to allow data to flow between the microcontroller and other devices such as a PC or another microcontroller. An ADC to allow the microcontroller to accept analogue input data for processing.
  • 8. The AT89C51 provides the following standard features: 4K bytes of Flash, 128 bytes of RAM, 32 I/O lines, two 16-bit timer/counters, a five vector two- level interrupt architecture, a full duplex serial port, on-chip oscillator and clock circuitry. In addition, the AT89C51 is designed with static logic for operation down to zero frequency and supports two software selectable power saving modes. The Idle Mode stops the CPU while allowing the RAM, timer/counters, serial port and interrupt system to continue functioning. The Power-down Mode saves the RAM contents but freezes the oscillator disabling all other chip functions until the next hardware reset.
  • 9. Registers:- The Accumulator The Accumulator, as its name suggests, is used as a general register to accumulate the results of a large number of instructions. It can hold an 8-bit (1-byte) value and is the most versatile register The "R" registers The "R" registers are a set of eight registers that are named R0, R1, etc. up to and including R7. These registers are used as auxiliary registers in many operations. The "B" Register The "B" register is very similar to the Accumulator in the sense that it may hold an 8-bit value (1-byte) value. The "B" register is only used by two 8051 instructions: MUL AB and DIV AB.
  • 10. The Data Pointer (DPTR) The Data Pointer (DPTR) is the 8051’s only user-accessible 16-bit (2-byte) register.Accumulator, "R" registers, and "B" register are all 1-byte values. DPTR, as the name suggests, is used to point to data. It is used by a number of commands which allow the 8051 to access external memory. The Program Counter (PC) The Program Counter (PC) is a 2-byte address which tells the 8051 where the next instruction to execute is found in memory. When the 8051 is initialized PC always starts at 0000h and is incremented each time an instruction is executed. The Stack Pointer (SP) The Stack Pointer, like all registers except DPTR and PC, may hold an 8-bit (1-byte)value. The Stack Pointer is used to indicate where the next value to be removed from the stack
  • 11. Instruction set:- MOVINSTRUCTIONS: Simply stated, the MOV instruction copies data from one location to another. It has the following format MOV destination, source This instruction tells the CPU to move (copy) the source operand to the destination operand, without changing the content of the source operand. MOV A,#55h Load 55h into register A ;ADD INSTRUCTIONS: The ADD instruction has the following format: ADD A, source This tells the CPU to add the source byte to reg A and put the result in reg A
  • 12. ADDRESSING MODES:- An "addressing mode" refers to how you are addressing a given memory location .The addressing modes are as follows, With an example of each: Immediate Addressing MOV A, #20h Direct Addressing MOV A, #30h Indirect Addressing MOV A, @R0 External Direct MOVX A, @DPTR Code Indirect MOVC A, @A+DPTR Each of these addressing modes provides important flexibility
  • 13. Microcontrollers versus Microprocessors:- Microcontroller differs from a microprocessor in many ways. First and the most important is its functionality. In order for a microprocessor to be used, other components such as memory, o components for receiving and sending data must be added to it. In short that means that microprocessor is the very heart of the computer. On the other hand, microcontroller is designed to be all of that in one. No other external components are needed for its application because all necessary peripherals are already built into it. Thus, we save the time and space needed to construct device. LED AND ITS PROGRAMMING: WAP to toggle LED $ mod 51 org 0 here: clr p1.3 acall delay setb p1.3 acall delay sjmp here delay: mov r2,#25 l3: mov r0,#255 l2: mov r1,#255 l1: djnz r1, l1 djnz r0,l2 djnz r0,l3 ret
  • 14. 7 Segment Display:- INTRODUCTION: For the seven segment display you can use the LT-541 or LSD5061- 11 chip. Each of the segments of the display is connected to a pin on the 8051 (the schematic shows how to do this). In order to light up a segment on the the pin must be set to 0V. To turn a segment off the corresponding pin must be set to 5V. This is simply done by setting the pins on the 8051 to '1' or '0’. LED displays are *Power-hungry (10ma per LED) *Pin-hungry (8 pins per 7-seg display) But they are cheaper than LCD display
  • 15. References And Bibliography :- >“THE 8051 MICROCONTROLLER AND EMBEDDED SYSTEM”by Muhammad Ali Mazidi , Janice Gillispie Mazidi, Rolin D. Mckinlay. >“The 8051 MICROCONTROLLER” by K. J. Ayala. >"Advanced Microprocessors and Microcontrollers" by B.P. Singh & Renu Singh. • Net Links : • www.wikipedia.com • www.cetpainfotech.com • www.electronicsforyou.com • www.encyclopedia.com •