introduction of microcontroller
TRANSCRIPT
![Page 1: Introduction of microcontroller](https://reader036.vdocuments.us/reader036/viewer/2022062400/587421591a28abcb5b8b8075/html5/thumbnails/1.jpg)
www.engineermaze.com
1
Engineer MazeWelcome to our website
Where you can get tutorials, software, E-books and many more on single platform
![Page 2: Introduction of microcontroller](https://reader036.vdocuments.us/reader036/viewer/2022062400/587421591a28abcb5b8b8075/html5/thumbnails/2.jpg)
www.engineermaze.com
2
Introduction Of Microcontroller
LESSON # 1
![Page 3: Introduction of microcontroller](https://reader036.vdocuments.us/reader036/viewer/2022062400/587421591a28abcb5b8b8075/html5/thumbnails/3.jpg)
www.engineermaze.com
3Introducing
Embedded Systems &
Microcontrollers
![Page 4: Introduction of microcontroller](https://reader036.vdocuments.us/reader036/viewer/2022062400/587421591a28abcb5b8b8075/html5/thumbnails/4.jpg)
www.engineermaze.com
4● Definition of Embedded Systems● Examples● Computer Essentials● Microprocessors and u-controllers● PIC Microcontrollers● 16 Series PIC
![Page 5: Introduction of microcontroller](https://reader036.vdocuments.us/reader036/viewer/2022062400/587421591a28abcb5b8b8075/html5/thumbnails/5.jpg)
www.engineermaze.com
5What is a Microcontroller?
Microcontroller is a mini computer on a single integrated circuit chip containing a:
1. processor core 2. memory and 3. Programmable input/output peripherals.
![Page 6: Introduction of microcontroller](https://reader036.vdocuments.us/reader036/viewer/2022062400/587421591a28abcb5b8b8075/html5/thumbnails/6.jpg)
www.engineermaze.com
6Microprocessor vs. Microcontroller
• Microprocessor is general-purpose microprocessors such as Intel’s x86 family.
• Microprocessor dose not contain RAM, ROM or I/O Ports on the chip it self.
• Microcontroller has CPU and fixed amount of RAM, ROM, I/O Ports and Timer all on a single chip.
![Page 7: Introduction of microcontroller](https://reader036.vdocuments.us/reader036/viewer/2022062400/587421591a28abcb5b8b8075/html5/thumbnails/7.jpg)
www.engineermaze.com
7 MICROPROCESSER AND MICRO CONTROLLER
![Page 8: Introduction of microcontroller](https://reader036.vdocuments.us/reader036/viewer/2022062400/587421591a28abcb5b8b8075/html5/thumbnails/8.jpg)
www.engineermaze.com
8
![Page 9: Introduction of microcontroller](https://reader036.vdocuments.us/reader036/viewer/2022062400/587421591a28abcb5b8b8075/html5/thumbnails/9.jpg)
www.engineermaze.com
9
![Page 10: Introduction of microcontroller](https://reader036.vdocuments.us/reader036/viewer/2022062400/587421591a28abcb5b8b8075/html5/thumbnails/10.jpg)
www.engineermaze.com
10PIC Architecture
A Computer on a chip
CPU
Timer 0
Timer 1
Timer 2
PWM 1
PWM 2
10-bit
A/D USART
Memory I/O(Ports A, B & C)
![Page 11: Introduction of microcontroller](https://reader036.vdocuments.us/reader036/viewer/2022062400/587421591a28abcb5b8b8075/html5/thumbnails/11.jpg)
www.engineermaze.com
11
![Page 12: Introduction of microcontroller](https://reader036.vdocuments.us/reader036/viewer/2022062400/587421591a28abcb5b8b8075/html5/thumbnails/12.jpg)
www.engineermaze.com
12Microcontroller Families
![Page 13: Introduction of microcontroller](https://reader036.vdocuments.us/reader036/viewer/2022062400/587421591a28abcb5b8b8075/html5/thumbnails/13.jpg)
www.engineermaze.com
13
![Page 14: Introduction of microcontroller](https://reader036.vdocuments.us/reader036/viewer/2022062400/587421591a28abcb5b8b8075/html5/thumbnails/14.jpg)
www.engineermaze.com
14
PIC Family Stack Size Instruction Word Size
No of Instructions
Interrupt Vectors
12CX/12FX 2 12- or 14-bit 33 None16C5X/16F5X
2 12-bit 33 None
16CX/16FX 8 14-bit 35 117CX 16 16-bit 58 4
18CX/18FX 32 16-bit 75 2
![Page 15: Introduction of microcontroller](https://reader036.vdocuments.us/reader036/viewer/2022062400/587421591a28abcb5b8b8075/html5/thumbnails/15.jpg)
www.engineermaze.com
15PIC16F Microcontroller Families
• PIC microcontrollers are designed using the Harvard Architecture which includes:–Microprocessor unit (MPU)– Program memory for instructions– Data memory for data– I/O ports– Support devices such as timers
![Page 16: Introduction of microcontroller](https://reader036.vdocuments.us/reader036/viewer/2022062400/587421591a28abcb5b8b8075/html5/thumbnails/16.jpg)
www.engineermaze.com
16Harvard Architecture• Von Neumann
Architecture:– Fetches instructions and
data from a single memory space
– Limits operating bandwidth
• Harvard Architecture:– Uses two separate
memory spaces for program instructions and data
– Improved operating bandwidth
– Allows for different bus widths
Von Neumann Architecture
8-bit Bus
CPU
Program & Data Memory
CPU
Harvard Architecture
Data Memory
Program Memory
8-bit Bus
16-bit Bus
![Page 17: Introduction of microcontroller](https://reader036.vdocuments.us/reader036/viewer/2022062400/587421591a28abcb5b8b8075/html5/thumbnails/17.jpg)
www.engineermaze.com
17Microcontroller with the Harvard Architecture
![Page 18: Introduction of microcontroller](https://reader036.vdocuments.us/reader036/viewer/2022062400/587421591a28abcb5b8b8075/html5/thumbnails/18.jpg)
www.engineermaze.com
18Criteria for Choosing µController1. Meeting the computing needs of the task at
hand efficiency and cost effectively2. Availability of SW and HW development
tools– Compilers– Assemblers– Debuggers– Emulators
3. Wide availability and reliable source.
![Page 19: Introduction of microcontroller](https://reader036.vdocuments.us/reader036/viewer/2022062400/587421591a28abcb5b8b8075/html5/thumbnails/19.jpg)
www.engineermaze.com
19Criteria for Choosing µController• Meeting the computing needs of the task at
hand efficiency and cost effectively– Determine its type, 8-bit,16-bit or 32-bit– Speed– Packaging (40-Pin or QFP)– Power consumption– The amount of RAM and ROM– The number of I/O pins and the timer– Cost per unit– Ease of upgrade.
![Page 20: Introduction of microcontroller](https://reader036.vdocuments.us/reader036/viewer/2022062400/587421591a28abcb5b8b8075/html5/thumbnails/20.jpg)
www.engineermaze.com
20µC Data width • 8-bit Microcontrollers
– PIC10, PIC12, PIC14– PIC16, PIC17, PIC18
• 16-bit Microcontrollers– PIC24F, PIC24H
• 32-bit Microcontrollers– PIC32
• 16-bit Digital Signal Controllers– dsPIC30, dsPIC33F
![Page 21: Introduction of microcontroller](https://reader036.vdocuments.us/reader036/viewer/2022062400/587421591a28abcb5b8b8075/html5/thumbnails/21.jpg)
www.engineermaze.com
21UV-EPROM
Your text here
![Page 22: Introduction of microcontroller](https://reader036.vdocuments.us/reader036/viewer/2022062400/587421591a28abcb5b8b8075/html5/thumbnails/22.jpg)
www.engineermaze.com
PIC 16F887 layoutAnalog I/O
UART
I2C
PORTA
22
![Page 23: Introduction of microcontroller](https://reader036.vdocuments.us/reader036/viewer/2022062400/587421591a28abcb5b8b8075/html5/thumbnails/23.jpg)
www.engineermaze.com
23
![Page 24: Introduction of microcontroller](https://reader036.vdocuments.us/reader036/viewer/2022062400/587421591a28abcb5b8b8075/html5/thumbnails/24.jpg)
www.engineermaze.com
24
Thank YouKeep visiting www.engineermaze.com for
more tutorials
Like our Facebook pagefb/engineermaze