0% found this document useful (0 votes)
3 views

V unit

The document outlines the syllabus for the course EECE3041: Microprocessors and Microcontrollers, covering topics such as the architecture and instruction set of the 8086 processor, the 8051 microcontroller, and interfacing with ADC/DAC. It includes details on programming timers and serial ports, as well as resources and references for further study. The course is taught by Dr. N Jyothi in the Department of EECE during the VI semester.

Uploaded by

Nikhil Ragala
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

V unit

The document outlines the syllabus for the course EECE3041: Microprocessors and Microcontrollers, covering topics such as the architecture and instruction set of the 8086 processor, the 8051 microcontroller, and interfacing with ADC/DAC. It includes details on programming timers and serial ports, as well as resources and references for further study. The course is taught by Dr. N Jyothi in the Department of EECE during the VI semester.

Uploaded by

Nikhil Ragala
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 23

Course Code : EECE3041

Course Name : MICROPROCESSORS AND MICROCONTROLLERS

Semester: VI

Faculty Name : Dr N Jyothi

3/14/2025 Department of EECE


Syllabus

UNIT 1 8086 Architecture 8 hours

The Processor 8086: Register organization of 8086, architecture of 8086, signal


description of 8086, physical memory organization, I/O addressing capability.

UNIT 2 Instruction Set and Interrupts 7 hours

Instruction Set and Interrupts: Addressing modes of 8086, instruction set of 8086,
assembly language programs (example programs), interrupts and interrupt service
routines, interrupt cycle of 8086, non-maskable interrupt, maskable interrupt (INTR).

UNIT 3 8051 Microcontroller 5 hours

Introduction to Microcontroller 8051: Intel family of 8 bit microcontrollers,


architecture, signal description, register set of 8051, important operational features
of 8051, program status word (PSW).

3/14/2025 Department of EECE


Syllabus

UNIT 4 Programming 8051 Timers and Serial Ports 9 hours

Programming 8051 Timers and Serial Port: Basic registers of timer, modes
of operation, programming timers in C (examples), Basics of serial
communication, baud rate in 8051, SBUF, SCON, serial port programming in C
(examples).

UNIT 5 Interfacing 8051 with ADC/DAC 8 hours

Interfacing of Peripherals to 8051: ADC 0808/0809 chip with 8 analog channels,


programming ADC 0808/0809 in C, DAC interfacing DAC 0808, programming
DAC in C.
Introduction to ARM Processor: The ARM family history, ARM family variations.

3/14/2025 Department of EECE


Resources
Textbooks:
1. AK Ray, KM Bhurchandi, Advanced Microprocessors and Peripherals, 2/e, Tata
McGraw Hill Publications, 2009.

2. Muhammad Ali Mazidi, Janice Gillispie, Mazidi, Rolin D. Mc Kinlay, The


8051 Microcontroller and Embedded Systems using Assembly and C, Second Edition,
Pearson Education, 2002

3. Muhammad Ali Mazidi, Sarmad Naimi, SepehrNaimi, Janice Mazidi, ARM Assembly
Language Programming &Architecture, Pearson Education, 2002

References:
1. Barry B. Brey, The Intel Microprocessors: Architecture, Programming and Interfacing, 8/e,
Pearson Education, 2008.

2. Kenneth J. Ayala, 8086 Micro Processor: Programming and Interfacing the PC, 1/e, Delmar
Cengage Learning, 2007.

3. Douglas V Hall, Microprocessors and Interfacing: Programming and Hardware, 2/e, Tata Mc
Graw Hill, 2006.

3/14/2025 Department of EECE


TOPICS TO BE COVERED IN THIS SESSION

✓Interfacing of Peripherals to 8051:


• ADC 0808/0809 chip with 8 analog channels
• Programming ADC 0808/0809 in C
• DAC interfacing DAC 0808
• Programming DAC in C
✓ Introduction to ARM Processor:
• The ARM family history
• ARM family variations

3/14/2025 Department of EECE


ADC 0808/0809 chip with 8 analog channels

3/14/2025 Department of EECE


ADC 0808/0809 chip with 8 analog channels

Fig: ADC 0808/0809

3/14/2025 Department of EECE


ADC 0808/0809 chip with 8 analog channels

3/14/2025 Department of EECE


ADC 0808/0809 chip with 8 analog channels

3/14/2025 Department of EECE


ADC 0808/0809 chip with 8 analog channels

3/14/2025 Department of EECE


ADC 0808/0809 chip with 8 analog channels

Fig: Selecting a channel and Read timing for ADC 0809

3/14/2025 Department of EECE


ADC 0808/0809 chip with 8 analog channels

Fig:8051 connection to ADC 0809 for channel 1


3/14/2025 Department of EECE
Programming ADC 0808/0809 in C

3/14/2025 Department of EECE


DAC interfacing DAC 0808

Digital-to-Analog Conversion or simply DAC, is a device that


is used to convert a digital (usually binary) code into an analog
signal (current, voltage, or electric charge).

Digital-to-analog conversion is the primary means by which


digital equipment such as computer-based systems are able to
translate digital data into real-world signals that are more
understandable to or useable by humans, such as music, speech,
pictures, video.

3/14/2025 Department of EECE


DAC interfacing DAC 0808

Applications
▪ Motor speed controls
▪ Programmable gain amplifiers
▪ Digitally controlled gains etc

3/14/2025 Department of EECE


DAC interfacing DAC 0808

3/14/2025 Department of EECE


DAC interfacing DAC 0808

3/14/2025 Department of EECE


DAC interfacing DAC 0808

Fig:8051 connection to DAC 0808

3/14/2025 Department of EECE


DAC interfacing DAC 0808

3/14/2025 Department of EECE


Programming DAC in C

3/14/2025 Department of EECE


Programming DAC in C

Fig: Angle Vs voltage magnitude for sine wave

3/14/2025 Department of EECE


Generation of square waveform
Write a C program to generate a 5KHz square waveform with 50% duty cycle.

#include <reg51.h>;
void delay(void);
void main(void)
{
while(1)
{
P3^=(1<<0);
delay();
}
}
void delay()
{
TMOD=0x20;
TH1=0xA4;
TR1=1;
while(TF1==0);
TR1=0;
TF1=0;
}

3/14/2025 Department of EECE


Thank you

3/14/2025 Department of EECE

You might also like