07 - Chapter 1
07 - Chapter 1
Chapter t
INTRODUCTION
TO
PIC MICROCONTROLLERS
ABSTRACT
1.1 Introduction
everyday lives. The visible examples are: Desktop computer systems and the Internet.
are widely used in electronic systems such as: smart instruments, domestic appliances,
Embedded controllers.
The design includes major portion of the hardware and entire software incorporated
on a single chip. This indeed optimizes the space and makes the software
Technology. PIC is the name for the Microchip microcontroller family, which stands
I/O ports, timer(s) and other internal integrated hardware. These Microchip
blocks of memory are erased and then reprogrammed simultaneously. The Microchip
parts have the facility of changing (including erasing) any instruction address without
information is truly hidden inside the device/product that is in use. In the commonly
used appliances such as washing machine, the embedded software adjusts the water
level basing on the load and adjusts the washing cycle basing on the dirtiness of the
water. One more example for embedded software is a car security system, which
the use of microcontrollers in such an environment has not only increased but also
that handles 4-bit data at a time. High-end embedded systems use 8-bit and 16-bit
microcontrollers.
The embedded intelligence can be found in five broad areas. The first is the
providing intelligence and control (keyless entry, antilock braking etc.,). The third
market is office automation, which includes PCs, keyboards, copiers and printers.
The fourth area, telecommunications, includes cellular phones, pagers and answering
machines. The fifth area encompasses industrial products such as door locks,
In all the above-mentioned products, one can find the wide usage of PIC
microcontrollers. The factors that account for the popularity of PIC microcontrollers
are:
• Speed: When operated at its maximum clock rate, a PIC executes most
instructions.
On-Reset and Brown-Out protection features which operate the chip only
also have watchdog timer, which resets the PIC whenever the chip either
inputs, controls output and provide internal timing for program execution.
control the Central Processing Unit when it is dealing with each source.
• Powerful output pin control: A single instruction can select and drive a
single output pin high or low in its 0.2 ps instruction execution time. The
• I/O port expansion: The built in serial peripheral interface can make use
of standard 16-pin shift register parts to add any number of I/O pins.
microcontroller used in the present work. In this direction, the architectural details
and the method of software handling are included in the next chapter.
6
REFERENCES
3. www .microchip.com