Professional Documents
Culture Documents
Microcontroller
Objectives:
available today).
Sometimes, a Microcontroller is also called as a Computer-on-
Controller.
equipment like Photocopiers is realized. The emphasis here is not on the computational
power of the Microprocessor but rather on a control mechanism with less complex
This requirement paved way for integrating the minimum hardware required for
complete functioning of a Processor on to a single chip i.e. same chip as the processor,
to be precise.
This is the rise of Microcontrollers, an Integrated Circuit, which contains all the
functions and hardware in order to make a complete computer system. Here, the
computational power of the device is of less importance than the integration of all the
the CPU makes it more efficient and cheaper than to use a separate
ADC Chip.
drastically reduce the efforts and time spent on hardware design and
wiring.
Basic Structure of a Microcontroller
From the above image, you can understand that the three
important (or major) components of a Microcontroller are:
CPU is the brain of a microcontroller. CPU is responsible for fetching the instruction,
decodes it, then finally executed. CPU connects every part of a microcontroller into a
single system. The primary function of CPU is fetching and decoding instructions. The
Memory
Any Computational System requires two types of Memory: Program Memory and
Data Memory. Program Memory, as the name suggests, contains the program i.e. the
instructions to be executed by the CPU. Data Memory on the other hand, is required to
The CPU, upon receiving the data from the input devices,
the System Bus. A System bus is a group of connecting wire that connect the
CPU with other peripherals like Memory, I/O Ports and other supporting
components.
Timers/Counters
Counters. They provide the operations of Time Delays and counting external
Interrupts
to Digital Signals. The ADC Circuit forms the interface between the external
Analog Input devices and the CPU of the Microcontroller. Almost all sensors are
analog devices and the analog data from these sensors must be converted in
ADC i.e. it converts Digital Signals to Analog Signals. DAC forms the bridge
between the CPU of the Microcontroller and the external analog devices.
Applications of Microcontrollers
• Function Generators
- end -