Lecture 1.1.1 (Introduction To Microcontroller and Microprrocessor)
Lecture 1.1.1 (Introduction To Microcontroller and Microprrocessor)
Designed By :
Dr. Kavita Jindal
Assistant Professor, ECE, UIC 1
University Vision
To be globally recognized as a Centre of Excellence for Research, Innovation, Entrepreneurship and disseminating
knowledge by providing inspirational learning to produce professional leaders for serving the society.
University Mission
M1: Providing world-class infrastructure, renowned academicians, and an ideal environment for Research,
Innovation, Consultancy, and Entrepreneurship relevant to society.
M2: Offering programs & courses in consonance with National policies for nation-building and meeting global
challenges.
M3: Designing Curriculum to match international standards, and needs of Industry, civil society, and for inculcation
of traits of Creative Thinking and Critical Analysis as well as Human and Ethical values.
M4: Ensuring students delight by meeting their aspirations through blended learning, corporate mentoring,
professional grooming, flexible curriculum, and a healthy atmosphere based on co-curricular and extra-curricular
activities.
M5: Creating a scientific, transparent, and objective examination/evaluation system to ensure an ideal certification.
M6: Establishing strategic relationships with leading National and International corporates and universities for
academic as well as research collaborations.
M7: Contributing for the creation of a healthy, vibrant, and sustainable society by involving in Institutional Social
Responsibility (ISR) activities like rural development, the welfare of senior citizens, women empowerment,
community service, health and hygiene awareness, and environmental protection
Syllabus
1. Embedded
System
2. IOT UNIT 1
& Raspberry
Embedded Programming
Pi
3. Arduino
1.
Programming
1. Interfacing of Devices
2. Basic UNIT 2
Laws and
Interface Digital and Analog I/O Devices
Components
3. Various Sensor and
2. Devices
1. Embedded System
UNIT
Application 3 using
Application of Embedded systems
Arduino
3.
Syllabus
Unit-1 Embedded Programming Contact Hours: 15
Embedded Systems
Chapter 1.1
Embedded system: Introduction to Microcontroller, Difference between microprocessor
and Microcontroller, Embedded System Characteristics & its examples, AVR
microcontroller: Types, Architecture Internal Architectural and Block diagram of
controller (-ATmega 328), Essential Peripheral circuits: Crystal Circuit, Power supply,
Oscillator Circuit.
8
Learning Outcomes
9
What is a Microcontroller?
• A Microcontroller (sometimes called an MCU or Microcontroller Unit) is a single Integrated Circuit (IC)
that is typically used for a specific application and designed to implement certain tasks
• Microcontrollers usually operate at lower speeds, around the 1MHz to 200 MHz range
• Microcontrollers need to be designed to consume less power because they are embedded inside
other devices that can have greater power consumptions in other areas.
10
Introduction to Microcontroller
• Microcontrollers are widely used in embedded systems, such as home appliances, automotive
systems, medical devices, and industrial control systems
• A typical microcontroller includes a processor, memory and input/output (I/O) peripherals on a single
chip.
• Microcontrollers are often referred to as single chip devices or single chip computers.
• The main consequence of the microcontroller’s small size is that its resources are far more limited
than those of a desktop personal computer.
11
Components of Microcontroller
• The microcontroller is essentially a simple mini-computer embedded on a single integrated chip, it
requires many of the same basic components as a larger and more complex computer. The
following are essential microcontroller components
• AVR (Advanced Version RISC) - In 1996, Atmel fabricated this single chip microcontroller with a
modified Harvard Architecture. This chip is loaded with C- compiler, Free IDE and many more
features. This microcontroller is a bit difficult for the starters to handle. The AVR was one of the
first microcontroller families to use on-chip flash memory for program storage, as opposed
to one-time programmable ROM, EPROM, or EEPROM used by other microcontrollers at the time
15
Microcontroller Families
• PIC- Programmable Interface Controller is usually referred as PIC. They are slightly older than
8051 microcontrollers but excel cause of their small low pin count devices. They perform well and
are affordable. The Microchip technology fabricated the single chip microcontroller PIC with
Harvard architecture. The programming part is very tedious and hence it is not recommended for
beginners
16
Difference between Microprocessor and Microcontroller
Microprocessor Microcontroller
• Since memory and I/O are connected • Since memory and I/O are present together,
externally, the circuit becomes large in size. the internal circuit is small in size.
• It is a central processing unit on a • It is a byproduct of the development of
single silicon-based integrated chip. microprocessors with a CPU along with
other peripherals.
• Complex and expensive due to a large
number of instructions to process. • Simple and inexpensive due to less number
of Instructions to process.
• Can run at a very high speed.
• Can run up to 200MHz or more.
• RAM, ROM, I/O units, and other
peripherals are not embedded on a • RAM, ROM, CPU and other peripherals are
single chip. embedded on a single chip.
18
• Basic Architecture of Microprocessor
• Basic Architecture of Microcontroller
Difference between RISC and CISC
RISC CISC
• Instruction takes one or two cycles. • Instruction takes multiple cycles.
• Only load/store instructions are used to access • In additions to load and store instructions,
memory. memory access is possible with other
instructions also.
• Fixed format instruction
• Instructions executed by the micro process.
• Few addressing modes
• Variable format instructions.
• Few instructions
• Many addressing modes.
• Most of the have multiple register banks
• Complex instruction set.
• Single register bank.
22
THANK YOU