Microcontroller - PPT 2. 2020
Microcontroller - PPT 2. 2020
Microcontroller - PPT 2. 2020
Microcontrollers
M.MUNYARADZI
2020
CT215
Microprocessors
• A microprocessor is the integration of a number of useful functions
into a single IC package. These functions include the ability to
execute a stored set of instructions to carry out user defined tasks.
The ability to be able to access external memory chips to both read
and write data from and to the memory.
• . Microprocessors are the central processing unit that controls the
data flow within the memory components and peripherals in
computer systems. Microprocessors require additional integrated
circuits such as memory modules, input-output devices, timers and
analog-to-digital converters to perform the functions required in a
computer. Microprocessors are programmed using an assembly
language which, in the case of the 8085, consisted of 124
instructions. The later versions use many hundreds of instructions
Microcontrollers
• Its use is so widespread that it is almost impossible to work in
electronics without coming across it. All modern electronic
appliances have a microcontroller in the circuitry.
• Basically, a microcontroller is a device which integrates a number of
the components of a microprocessor system onto a single
microchip. So a microcontroller combines onto the same silicon
chip:
• The CPU core
• Memory (both ROM and RAM)
• Some parallel digital I/O
• Timer
• Analog-to-digital converter
• The programming of microcontrollers is simplified be the use of RIS
or reduced instruction set architecture requiring only 30 to 40
instructions. The PIC16F872 uses 35 instructions.
A single chip microcontroller
• The heart of the
microcontroller is the central
processing unit or CPU.
• The original microcontrollers,
designed by Texas
Instruments has traditionally
been based on an 8-bit
central processing unit. For
example, Motorola uses a
basic 6800 CPU core in their
6805/6808 microcontroller
devices. In recent years,
microcontrollers have been
developed around specifically
designed CPU cores for
example, the Microchip PIC
range of microcontrollers.
APPLICATIONS OF
MICROCONTROLLERS
• Engine management systems in automobiles.
• Keyboard of a PC.
• Electronic measurement instruments (such as digital multimeters
and oscilloscopes)
• Printers, scanners, fax machines, photocopiers.
• Mobile phones. digital cameras, GPS units, hearing aids.
• Televisions, radios, CD players, tape recording equipment., and
remote control units
• Environmental monitors, microwave ovens, washing machines,
sewing machines
• Security alarm systems, fire alarm systems, and building services
systems.
• As an exercise, count the number of devices in your home that may
operate on a microcontroller.
Memory in a Microcontroller
• Typically, the amount of ROM type
memory will vary between around
512 bytes and 4096 bytes,
although some 16 bit Address bus
microcontrollers such as the
Hitachi H8/3048 can have as Memory
much as 128 Kbytes of ROM type device
memory.
Micro-
• ROM type memory, is used to processor Data bus
store the program code. ROM
memory can be either OTP (One
Time Programmable memory), read
EPROM, or EEPROM. The
PIC16F872 has 2048 bytes of
EEPROM program space. write