








Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An overview of the Intel 8051 microcontroller, including its design, features, and various peripherals such as timers, interrupts, PWM, and ADC. The document also discusses the applications of the microcontroller in fields like robotics, medical applications, electronics, and more.
Typology: Lecture notes
Uploaded on 06/24/2020
1 / 14
This page cannot be seen from the preview
Don't miss anything!









EN NIZAMUDDIN BIN
MUHAMMAD MUSTAFA
It is an 8-bit microcontroller. It is built with 40
pins DIP (dual inline package), 4kb of ROM
storage and 128 bytes of RAM storage, 2 16-bit
timers. It consists of are four parallel 8-bit ports,
which are programmable as well as addressable
as per the requirement. An on-chip crystal
oscillator is integrated in the microcontroller
having crystal frequency of 12 MHz.
connects all the support devices to the CPU.
The system bus consists of an 8-bit data bus,
a 16-bit address bus and bus control signals.
All other devices like program memory, ports,
data memory, serial interface, interrupt
control, timers, and the CPU are all interfaced
together through the system bus.
Interrupts in 8051 Microcontroller
and Structure
enabling and disabling the
interrupt. It is a bit addressable
register in which EA must be set to
one for enabling interrupts. The
corresponding bit in this register
enables interrupt like timer,
external and serial inputs. In the
below IE register, bit corresponding
to 1 activates the interrupt and 0
disables the interrupt.
Interrupt Priority
Register (IP)
the interrupts by setting or clearing the
corresponding bit in the Interrupt priority (IP)
register as shown in the figure. This allows the low
priority interrupt to interrupt the high-priority
interrupt but prohibits the interruption by another
low-priority interrupt. Similarly, the high-priority
interrupt cannot be interrupted. If these interrupt
priorities are not programmed, the
microcontroller executes in predefined manner
and its order is INT0, TF0, INT1, TF1, and SI.
PWM in Intel 8051
PWM in simple words changes the
output voltage on a specified pin on
which it is applied by varying the
duty cycle of output wave form.
Frequency and duty cycle of PWM
signal can easily be varied using
timers of 8051 microcontroller. The
figure will clear us about PWM
signals and duty cycle.
ADC
ARCHITECTURE
The ADC used in the interfacing is
ADC 0808. It has 28 pins, and can
handle upto 8 analog
signals using one chip. It has got an
8-bit data output. The 8 input
channels are IN0-IN7, and
Vref(+)=5V; Vref(-) has been
grounded. In order to select the
inputs IN0-IN7; A, B and C
addresses are used[4]