You are on page 1of 26

EE-366: Microcontrollers

Lecture 01
by
Dr. Saud Al-Wasly
What is a Microcontroller system

2/26
Course Objectives

Increase the awareness about microcontrollers and their
application

Gain knowledge of the internal architecture MCU and its IO
subsystems

Practice the problem solving approach using
microcontrollers

Practice embedded system programming in Assembly
and a high-level language (C)

Use modern embedded tools to program and debug
embedded software
3/26
Programmable Devices

ASIC (SP)

FPGA (GP)

DSP (ASIP)

Microcontroller (GP)

Microprocessor (GP)

Co-Processor (SP)

PLC (GP)

Single-board embedded compute

General-purpose computer
4/26
Microprocessor (MP) VS Microcontroller (MCU)

Intended application (usage, purpose)

Internal design architecture
– Memory oriented vs IO oriented
– Design complexity and power consumption
– MCU is chip-inclusive while MP is not

# of instructions: more than ~1,000 / ~35 inst.

5/26
Drawbacks of Modern MP systems
Dynamic Frequency Scaling

Deep Pipeline

Hardware Prefetcher

Out-of-order Execution

Complex Cache Architecture

Bus Contention

DRAM Access Time

Unregulated Interrupts

6/26
Common Application of Microcontrollers

7/26
MCU is intended to integrate with a control circuit

8/26
9/26
Hard Real-time Systems

Aerospace and Aviation

Embedded Medical Devices

Autonomous Machines

https://mars.nasa.gov/gamee-rover/
https://www.pinterest.ca/pin/732397958120919281/
10/26 https://www.getholistichealth.com/23529/heart-problems-want-to-know-what-a-pacemaker-is/
11/26
12/26
13/26
What are these boards?

14/26
LEGO-Friendly Controllers

15/26
Microchip PIC


EPROM

EEPROM

FLASH

16/26
17/26
Other Popular MCU brands

18/26
19/26
Microchip Software Tools

20/26
Hardware Tools

21/26
Hardware Tools

22/26
Textbook and references

“PIC Microcontroller and Embedded systems –
Using Assembly and C for PIC18,” Muhammad Ali
Mazidi, Rolin D. McKinlay, and Danny Causey,
Prentice Hall

“Advanced PIC Microcontroller Projects in C: From
USB to RTOS with the PIC 18F Series “, Dogan
Ibrahim

“Applying PIC18 Microcontrollers”, Barry B. Brey

Microchip and Mikroelektronica web sites
23/26
Grading System

Quizzes 10%
Mid-term 20%
Project 20%
Final 50%

24/26
EE366 on Google Classroom

Go to Google Classroom:
– https://classroom.google.com/
– Sign-in with your KAU student email account
– Got to the + sign to add a new class
– Use the code (dee40r7) to join this EE366 class
– Install Google Classroom on your mobile device to
keep up-to-date

25/26
Course Instructor
Dr. Saud Mohammad Wasly
Office: Building Eng-40A, room 34C44
Email: swasly@kau.edu.sa
Office Hours: Monday & Wednesday from 11:00 AM
to 01:00 PM or by appointments

26/26

You might also like