150 likes | 293 Views
King Fahd University of Petroleum and Minerals Electrical Engineering Department EE 445 Course Presentation. Introduction to Microcontrollers Ali Al-Hajji Mohammad - 223210. Introduction. Home appliances: microwave oven, TV… Computer Equipments: printers, modems, …
E N D
King Fahd University of Petroleum and Minerals Electrical Engineering Department EE 445 Course Presentation Introduction to Microcontrollers Ali Al-Hajji Mohammad - 223210
Introduction • Home appliances: microwave oven, TV… • Computer Equipments: printers, modems, … • Cars: engine control, diagnostics, …. • Environmental control, aerospace, …..
Objectives • Microcontrollers vs. Microprocessor • Microcontrollers Overview • Intel 8051 Microcontroller
Microcontrollers vs. Microprocessor • Microprocessors is a general purpose computer. Multi chip required for all the functions. • Used to perform extensive calculations. • It is versatile and expensive.
Microcontrollers vs. Microprocessor • Microcontrollers is a true computer on a single chip with limited RAM, ROM,..etc. • It is used to read data, perform limited calculations. • Used to control an operation with a fixed program.
Microcontrollers vs. Microprocessor • Microcontrollers used in applications which cost, power and space are critical. • Single purpose device. • Mostly used in embedded systems.
Microcontrollers Overview • There are many varieties. • MCS-51 Family of Microcontrollers. • ATMEL, AMD and Siemens as second source.
Intel 8051 Microcontroller • generic MCS-51 IC is the 8051. • It is one of the most widely used microcontroller in the world. • All other microcontrollers of this family are modified version of 8051.
Intel 8051 Features 8051 architecture contains the following: • - 8 bit CPU with registers A and B • - 4K bytes ROM • - 128 bytes RAM • - Four 8-bit I/O ports • - Two 16-bit timer/counters • - Serial Interface (programmable) • - Five interrupts
Intel 8051 RAM • 4 register banks • General user RAM • Special Function Registers (SFR)
What are SFRs? • 8051 has many modes of operation. • 8051 can be manipulated by changing the values if theses SFRs • Each SFR has address
Intel 8051 SFRs • Blue: related to the I/O ports • Yellow: control the configuration of 8051 • Green: auxiliary SFRs
Intel 8051 Other Features • Timers: It is a counter that counts up whenever an instruction performed. • Example: MOV A,#60 • Major use is to measure time.
For More Information www.8052.com THANK YOU