Intel 8051 Microcontroller: Architecture, Interrupts, PWM, ADC, and Applications, Lecture notes of Microcontrollers

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

2019/2020

Uploaded on 06/24/2020

unknown user
unknown user 🇲🇾

1 / 14

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
MICROCONTROLL
ER TECHNOLOGY
GROUP 2
EN NIZAMUDDIN BIN
MUHAMMAD MUSTAFA
MUHAMMAD FAQRULLAH EIZANIE BIN
ZAILANI (B081810416)
MUHAMMAD FAHMIM BIN RAMLI
(B081810030)
REVAITHI A/ P KALIMUTHU
(B081810292)
ABDUL HAKIM BIN ROSLI
(B081810469)
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe

Partial preview of the text

Download Intel 8051 Microcontroller: Architecture, Interrupts, PWM, ADC, and Applications and more Lecture notes Microcontrollers in PDF only on Docsity!

MICROCONTROLL

ER TECHNOLOGY

GROUP 2

EN NIZAMUDDIN BIN

MUHAMMAD MUSTAFA

MUHAMMAD FAQRULLAH EIZANIE BIN

ZAILANI (B081810416)

MUHAMMAD FAHMIM BIN RAMLI

(B081810030)

REVAITHI A/ P KALIMUTHU

(B081810292)

ABDUL HAKIM BIN ROSLI

(B081810469)

Intel 8051

  • 8051 microcontroller is designed by Intel in 1981.

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.

  • In the following diagram, the system bus

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

  • Interrupt Enable (IE) Register
  • This register is responsible for

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)

  • It is also possible to change the priority levels of

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]

Application of Microcontroller 8051

The use of microcontroller in

various fields such as automobile,

aeronautics, space, robotics,

electronics, defense application,

mobile communications, rail

transport, industrial processing,

and medical applications is rapidly

increasing

Application of

Microcontroller

8051 in Robotics

The advancement in

transportation technology is

developing the efficient

robotic vehicles which can be

used for transportation

without driver. This obstacle

avoidance robotic vehicle

(prototype) is one of the

major application of

microcontroller in robotics.

Application of
Microcontroller 8051 in
Electronics
The electronic voting machine is a
practical application of
microcontroller 8051 in
electronics. The voting machine
designed using this project is
having eight contestant's capacity.
Thus, eight push buttons are
associated for eight contestants
and a master button for polling
authority. By using the master
button, multiple polling by single
voter can be avoided as each voter
need to get an approval for their
vote (only one vote can be polled
by one voter to any one
contestant).