Download e-book for iPad: 8051 Microcontroller and Embedded Systems, The by Muhammad Ali Mazidi

By Muhammad Ali Mazidi

ISBN-10: 0138610223

ISBN-13: 9780138610227

This ebook makes use of a step by step method of educate the basics of meeting language programming and interfacing of the 8051 microcontroller. It makes use of many examples to explain techniques. basic, concise examples are applied to teach what motion each one guideline plays, then a pattern is supplied to teach its software. this article presents a finished knowing of the inner association of the 8051 registers and assets in a manner that sheds the scholars worry of meeting language. even if scholars develop into designers of stand-alone platforms or advanced embedded structures, they'll locate this article an invaluable source.

Show description

Read or Download 8051 Microcontroller and Embedded Systems, The PDF

Similar robotics & automation books

Read e-book online Control Using Logic-Based Switching PDF

A logic-based switching controller is one whose subsystems contain not just universal dynamical parts equivalent to integrators, summers, profits and so on. yet event-driven common sense and linked switches besides. In the sort of approach the predominantly logical part is the manager, mode changer, and so forth. there was transforming into curiosity lately in deciding on what can be received from utilizing "hybrid" controllers of this sort.

Download e-book for iPad: Mechatronic Systems Design: Methods, Models, Concepts by Klaus Janschek

During this textbook, basic equipment for model-based layout of mechatronic platforms are provided in a scientific, finished shape. the tactic framework provided the following contains domain-neutral equipment for modeling and function research: multi-domain modeling (energy/port/signal-based), simulation (ODE/DAE/hybrid systems), strong regulate equipment, stochastic dynamic research, and quantitative evaluate of designs utilizing method budgets.

Download PDF by Ahmad Taher Azar: Advances in Chaos Theory and Intelligent Control

The publication experiences at the newest advances in and purposes of chaos concept and clever keep an eye on. Written through eminent scientists and energetic researchers and utilizing a transparent, matter-of-fact type, it covers complicated theories, tools, and purposes in a number of learn components, and explains key ideas in modeling, research, and regulate of chaotic and hyperchaotic structures.

Extra info for 8051 Microcontroller and Embedded Systems, The

Example text

GeneralPurpose Microprocessor ‰ General-purpose microprocessors ¾ ¾ ¾ ‰ Microcontroller ¾ (cont’) ¾ HANEL Must add RAM, ROM, I/O ports, and timers externally to make them functional Make the system bulkier and much more expensive Have the advantage of versatility on the amount of RAM, ROM, and I/O ports The fixed amount of on-chip ROM, RAM, and number of I/O ports makes them ideal for many applications in which cost and space are critical In many applications, the space it takes, the power it consumes, and the price per unit are much more critical considerations than the computing power Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 5 MICROCONTROLLERS AND EMBEDDED PROCESSORS Microcontrollers for Embedded Systems ‰ An embedded product uses a microprocessor (or microcontroller) to do one task and one task only ¾ ‰ There is only one application software that is typically burned into ROM A PC, in contrast with the embedded system, can be used for any number of applications ¾ ¾ It has RAM memory and an operating system that loads a variety of applications into RAM and lets the CPU run them A PC contains or is connected to various embedded products ƒ Each one peripheral has a microcontroller inside it that performs only one task HANEL Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 6 MICROCONTROLLERS AND EMBEDDED PROCESSORS Microcontrollers for Embedded Systems ‰ Home ¾ ‰ Office ¾ (cont’) ‰ Telephones, computers, security systems, fax machines, microwave, copier, laser printer, color printer, paging Auto ¾ HANEL Appliances, intercom, telephones, security systems, garage door openers, answering machines, fax machines, home computers, TVs, cable TV tuner, VCR, camcorder, remote controls, video games, cellular phones, musical instruments, sewing machines, lighting control, paging, camera, pinball machines, toys, exercise equipment Trip computer, engine control, air bag, ABS, instrumentation, security system, transmission control, entertainment, climate control, cellular phone, keyless entry Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 7 MICROCONTROLLERS AND EMBEDDED PROCESSORS x86 PC Embedded Applications ‰ ¾ ‰ ‰ HANEL Many manufactures of general-purpose microprocessors have targeted their microprocessor for the high end of the embedded market There are times that a microcontroller is inadequate for the task When a company targets a generalpurpose microprocessor for the embedded market, it optimizes the processor used for embedded systems Very often the terms embedded processor and microcontroller are used interchangeably Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 8 MICROCONTROLLERS AND EMBEDDED PROCESSORS x86 PC Embedded Applications (cont’) ‰ ‰ ‰ One of the most critical needs of an embedded system is to decrease power consumption and space In high-performance embedded processors, the trend is to integrate more functions on the CPU chip and let designer decide which features he/she wants to use In many cases using x86 PCs for the high-end embedded applications ¾ Saves money and shortens development time ƒ A vast library of software already written ƒ Windows is a widely used and well understood platform HANEL Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 9 MICROCONTROLLERS AND EMBEDDED PROCESSORS Choosing a Microcontroller HANEL ‰ 8-bit microcontrollers ¾ ¾ ¾ ¾ ‰ Motorola’s 6811 Intel’s 8051 Zilog’s Z8 Microchip’s PIC There are also 16-bit and 32-bit microcontrollers made by various chip makers Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 10 MICROCONTROLLERS AND EMBEDDED PROCESSORS Criteria for Choosing a Microcontroller ‰ Meeting the computing needs of the task at hand efficiently and cost effectively ¾ ¾ ¾ ¾ ¾ ¾ ¾ HANEL Speed Packaging Power consumption The amount of RAM and ROM on chip The number of I/O pins and the timer on chip How easy to upgrade to higherperformance or lower power-consumption versions Cost per unit Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 11 MICROCONTROLLERS AND EMBEDDED PROCESSORS ‰ ‰ Availability of software development tools, such as compilers, assemblers, and debuggers Wide availability and reliable sources of the microcontroller ¾ Criteria for Choosing a Microcontroller (cont’) HANEL The 8051 family has the largest number of diversified (multiple source) suppliers ƒ ƒ ƒ ƒ ƒ ƒ ƒ Intel (original) Atmel Philips/Signetics AMD Infineon (formerly Siemens) Matra Dallas Semiconductor/Maxim Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 12 ‰ OVERVIEW OF 8051 FAMILY ¾ The 8051 is an 8-bit processor ƒ The CPU can work on only 8 bits of data at a time 8051 Microcontroller ¾ The 8051 had ƒ ƒ ƒ ƒ ƒ ƒ ‰ HANEL Intel introduced 8051, referred as MCS51, in 1981 128 bytes of RAM 4K bytes of on-chip ROM Two timers One serial port Four I/O ports, each 8 bits wide 6 interrupt sources The 8051 became widely popular after allowing other manufactures to make and market any flavor of the 8051, but remaining code-compatible Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 13 8051 Microcontroller (cont’) Interrupt Control On-chip ROM for code On-chip RAM Etc.

HANEL Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 33 Ex. (cont’) The actions performed by CPU are as follows: 1. The program counter is set to the value 1400H, indicating the address of the first instruction code to be executed INSIDE THE COMPUTER Internal Working of Computers 2. ¾ (cont’) The CPU puts 1400H on address bus and sends it out ƒ ¾ 以動畫表示 The memory circuitry finds the location The CPU activates the READ signal, indicating to memory that it wants the byte at location 1400H ƒ This causes the contents of memory location 1400H, which is B0, to be put on the data bus and brought into the CPU ...

GeneralPurpose Microprocessor ‰ General-purpose microprocessors ¾ ¾ ¾ ‰ Microcontroller ¾ (cont’) ¾ HANEL Must add RAM, ROM, I/O ports, and timers externally to make them functional Make the system bulkier and much more expensive Have the advantage of versatility on the amount of RAM, ROM, and I/O ports The fixed amount of on-chip ROM, RAM, and number of I/O ports makes them ideal for many applications in which cost and space are critical In many applications, the space it takes, the power it consumes, and the price per unit are much more critical considerations than the computing power Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 5 MICROCONTROLLERS AND EMBEDDED PROCESSORS Microcontrollers for Embedded Systems ‰ An embedded product uses a microprocessor (or microcontroller) to do one task and one task only ¾ ‰ There is only one application software that is typically burned into ROM A PC, in contrast with the embedded system, can be used for any number of applications ¾ ¾ It has RAM memory and an operating system that loads a variety of applications into RAM and lets the CPU run them A PC contains or is connected to various embedded products ƒ Each one peripheral has a microcontroller inside it that performs only one task HANEL Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 6 MICROCONTROLLERS AND EMBEDDED PROCESSORS Microcontrollers for Embedded Systems ‰ Home ¾ ‰ Office ¾ (cont’) ‰ Telephones, computers, security systems, fax machines, microwave, copier, laser printer, color printer, paging Auto ¾ HANEL Appliances, intercom, telephones, security systems, garage door openers, answering machines, fax machines, home computers, TVs, cable TV tuner, VCR, camcorder, remote controls, video games, cellular phones, musical instruments, sewing machines, lighting control, paging, camera, pinball machines, toys, exercise equipment Trip computer, engine control, air bag, ABS, instrumentation, security system, transmission control, entertainment, climate control, cellular phone, keyless entry Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 7 MICROCONTROLLERS AND EMBEDDED PROCESSORS x86 PC Embedded Applications ‰ ¾ ‰ ‰ HANEL Many manufactures of general-purpose microprocessors have targeted their microprocessor for the high end of the embedded market There are times that a microcontroller is inadequate for the task When a company targets a generalpurpose microprocessor for the embedded market, it optimizes the processor used for embedded systems Very often the terms embedded processor and microcontroller are used interchangeably Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 8 MICROCONTROLLERS AND EMBEDDED PROCESSORS x86 PC Embedded Applications (cont’) ‰ ‰ ‰ One of the most critical needs of an embedded system is to decrease power consumption and space In high-performance embedded processors, the trend is to integrate more functions on the CPU chip and let designer decide which features he/she wants to use In many cases using x86 PCs for the high-end embedded applications ¾ Saves money and shortens development time ƒ A vast library of software already written ƒ Windows is a widely used and well understood platform HANEL Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 9 MICROCONTROLLERS AND EMBEDDED PROCESSORS Choosing a Microcontroller HANEL ‰ 8-bit microcontrollers ¾ ¾ ¾ ¾ ‰ Motorola’s 6811 Intel’s 8051 Zilog’s Z8 Microchip’s PIC There are also 16-bit and 32-bit microcontrollers made by various chip makers Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 10 MICROCONTROLLERS AND EMBEDDED PROCESSORS Criteria for Choosing a Microcontroller ‰ Meeting the computing needs of the task at hand efficiently and cost effectively ¾ ¾ ¾ ¾ ¾ ¾ ¾ HANEL Speed Packaging Power consumption The amount of RAM and ROM on chip The number of I/O pins and the timer on chip How easy to upgrade to higherperformance or lower power-consumption versions Cost per unit Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 11 MICROCONTROLLERS AND EMBEDDED PROCESSORS ‰ ‰ Availability of software development tools, such as compilers, assemblers, and debuggers Wide availability and reliable sources of the microcontroller ¾ Criteria for Choosing a Microcontroller (cont’) HANEL The 8051 family has the largest number of diversified (multiple source) suppliers ƒ ƒ ƒ ƒ ƒ ƒ ƒ Intel (original) Atmel Philips/Signetics AMD Infineon (formerly Siemens) Matra Dallas Semiconductor/Maxim Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 12 ‰ OVERVIEW OF 8051 FAMILY ¾ The 8051 is an 8-bit processor ƒ The CPU can work on only 8 bits of data at a time 8051 Microcontroller ¾ The 8051 had ƒ ƒ ƒ ƒ ƒ ƒ ‰ HANEL Intel introduced 8051, referred as MCS51, in 1981 128 bytes of RAM 4K bytes of on-chip ROM Two timers One serial port Four I/O ports, each 8 bits wide 6 interrupt sources The 8051 became widely popular after allowing other manufactures to make and market any flavor of the 8051, but remaining code-compatible Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 13 8051 Microcontroller (cont’) Interrupt Control On-chip ROM for code On-chip RAM Etc.

Download PDF sample

8051 Microcontroller and Embedded Systems, The by Muhammad Ali Mazidi


by Daniel
4.2

Rated 4.43 of 5 – based on 22 votes