UNIT 3
UNIT 3
2. Oscillator Circuit
Two 16-bit (or 2-byte) timers and counters are equipped with an
8051 microcontroller. The counters are further divided into an 8-bit
register. They are used in calculating the number of events, like
pulse counting, frequency measurements, pulse width
measurement, and more. In addition, timers and counters are also
used to determine the time period.
As you can see in the image below, there are 40 pins in total for the
8051 microcontroller. Some of them perform separate individual
functions, whereas others are used in groups to perform a certain
task within the controller. Let’s get into further specifics
Pin Function
These pins combine to make Port 1. This is a bi-directional
1 to 8
I/O port.
This pin sets the controller to the primary value; therefore, it is
9
known as a Reset pin.
Port 3 is formed with these eight pins. This port is used for
10 to various functions, like interrupts, timer input, and serial
17 communication indicators for transfer and receival of the data.
Port 3 is also known as a domestic pull-up port.
18 and These two pins are used to interface the given system clock
19 with the outer crystal oscillator.
It is denoted as Vss. This pin symbolizes 0V or ground
20
voltage of the 8051 controller.
21 to Port 2 is formed with these eight pins. This port is used as an
28 I/O port. It multiplexes the senior order address bus.
It is PSEN or a Program Store Enable. You can interpret the
29 sign from the outer program memory with this pin of the
controller.
It belongs to EA or External Access. It is used to prohibit or
30 permit the interfacing of the outer memory. This pin is linked
to the supply voltage to set it to high.
It belongs to ALE or Address Latch Enable. It is used to
31 demultiplex the Port 0 address data indication for interfacing
with the outer memory.
32 to These eight pins combine to form Port 0 of the controller. This
39 is a bi-directional I/O port that multiplexes data bus signals
and lower-order addresses. To utilize this port, you need
outer connected pull-up resistors.
With this pin, you can provide your circuit with the power
40
supply.
Potential features that make this controller stand out in the market
are as follows:
1. Measurement Applications
This area includes using the 8051 microcontroller for current meter
objects, voltmeter applications, handheld metering systems, and
measuring and revolving objects.
3. Industrial Applications