SlideShare une entreprise Scribd logo
1  sur  33
Télécharger pour lire hors ligne
Robotics
Who am I?
What is this course?
Course code? PST 41203
Number of credits? 2
Number of Lecture hours? 30 hours
Practical or theory? Or both?
Lab facility?
Compulsory or optional?
Contents of this course (Robotics)
●Analog and Digital Circuits for Control
Applications
●Electronic Devices used in Robotics
●Microprocessor/ Microcontroller & Interfacing
●DC and Stepper Motors
●Design of Mechatronics Systems
●Sensors and Signal Processing
●Power Electronics
●Two wheel Driven Autonomous Robot
Applications
Contents of Embedded Systems
• Modeling Dynamic Behaviors, Composition of
State Machines, Concurrent Models of
Computation, Memory Architectures, Input and
Output, Multitasking, Scheduling, Analysis and
Verification, Equivalence and Refinement,
Reachability, Analysis and Model Checking,
Quantitative Analysis
Contents of Automation
Intelligent Controllers, Programmable Logic
Control, Automation Elements, Hardware
Components for Automation and Process Control,
Logical Design for Automation, Electro Pneumatic
Automation. Industrial Networks (RS232,
RS485/422, SPI, I2C, CAN, MODBUS,
PROFIBUS), Basic Programming in PLC and the
PID at the Industry SCADA Systems and Software
How to evaluate?
Continuous mark = ?
End Exam = ?
Or
Using a big project?
What is your level?
• Embedded system knowledge?
• C programming?
• Assembly language?
• Basic electronics?
• Mathematics?
My plan
• Basics of Embedded systems and Robotics
• Applications
• PIC architecture overview
• Introduction to Assembler
• PIC I/O port programming
• PIC programming in C
• Timer programming
• Interrupt programming
• ADC, DAC and sensor interfacing
• Motor Control
References
• PIC Microcontroller and Embedded Systems By
Muhammad Ali Mazidi
• Embedded Systems Design, Steve Heath
• Practical electronic for inventors, Paul Scherz
List of tools
Proteus
Mikro C
PIC Kit
MPLABX
Definition of Embedded Systems
Embedded system: is a system whose
principal function is not computational,
but which is controlled by a computer
embedded within it.
12
Examples: Refrigerator
13
Examples: Car Door
14
Examples: Electronic Ping-pong
15
Examples: Derbot Autonomous Guided
Vehicle
16
Examples: Derbot Autonomous Guided
Vehicle
17
Computer Essentials
18
Computer Essentials
Instruction Sets
• CISC: Complex Instruction Set Computer
• RISC: Reduced Instruction Set Computer
Memory Types
• Volatile: Random Access Memory (RAM)
• Non-volatile: Read Only Memory (ROM)
19
Von Neumann and Harvard Computers
20
Microprocessors and Microcontrollers
The microprocessor is a processor on one silicon
chip.
The microcontrollers are used in embedded
computing.
The microcontroller is a microprocessor with
added circuitry.
21
Microcontrollers
22
Microcontroller Families
23
Microcontroller Packaging and
Appearance
24
From left to right: PIC 12F508, PIC 16F84A, PIC
16C72, Motorola 68HC05B16, PIC 16F877,
Motorola 68000
PIC Microcontrollers
Peripheral Interface Controller (PIC) was originally
designed by General Instruments
In the late 1970s, GI introduced PIC® 1650 and
1655 – RISC with 30 instructions.
PIC was sold to Microchip
Features: low-cost, self-contained, 8-bit, Harvard
structure, pipelined, RISC, single accumulator,
with fixed reset and interrupt vectors.
25
PIC Families
PIC Family Stack Size Instruction
Word Size
No of
Instructions
Interrupt
Vectors
12CX/12FX 2 12- or 14-bit 33 None
16C5X/16F5X 2 12-bit 33 None
16CX/16FX 8 14-bit 35 1
17CX 16 16-bit 58 4
18CX/18FX 32 16-bit 75 2
26
‘C’ implies CMOS technology; Complementary Metal Oxide Semiconductor
‘F’ insert indicates incorporation of Flash memory technology
Example: 16C84 was the first of its kind. It was later reissued as the 16F84,
incorporating Flash memory technology. It was then reissued as 16F84A.
12 Series PIC
27
The small 12F508
PIC 12F508/509 pin connection
diagram
28
The 12F508 Architecture
29
Choosing a microcontroller
Five major 8-bit microcontrollers:
• Freescale semiconductors (Motorola)
• Intel’s 8051
• Atmel’s AVR
• Zilog’s Z8
• PIC
Choosing a microcontroller
Three criteria in choosing a microcontroller:
1. Meeting the computing needs of the task at
hand efficiently and cost effectively.
2. Availability of software and hardware
development tools (Compilers, assemblers,
debuggers and emulators).
3. Wide availability and reliable sources of the
microcontroller.
Mechatronics and microcontrollers
Many technical processes and products in the are
of mechanical and electrical engineering show an
increasing integration of mechanics with electronic
and information processing.
Mechatronic = hardware + software
Summary

Contenu connexe

Tendances

Atmel and pic microcontroller
Atmel and pic microcontrollerAtmel and pic microcontroller
Atmel and pic microcontroller
Tearsome Llantada
 
UNIT II –8085 MICROPROCESSOR AND 8051 MICROCONTROLLER---ME6702– MECHATRONICS
UNIT II –8085 MICROPROCESSOR AND 8051 MICROCONTROLLER---ME6702– MECHATRONICS UNIT II –8085 MICROPROCESSOR AND 8051 MICROCONTROLLER---ME6702– MECHATRONICS
UNIT II –8085 MICROPROCESSOR AND 8051 MICROCONTROLLER---ME6702– MECHATRONICS
Mohanumar S
 
Pic microcontroller [autosaved] [autosaved]
Pic microcontroller [autosaved] [autosaved]Pic microcontroller [autosaved] [autosaved]
Pic microcontroller [autosaved] [autosaved]
gauravholani
 

Tendances (20)

Introduction to pic microcontroller
Introduction to pic microcontrollerIntroduction to pic microcontroller
Introduction to pic microcontroller
 
EE6008 MCBSD - Introduction to PIC Micro controller
EE6008 MCBSD - Introduction to PIC Micro controller EE6008 MCBSD - Introduction to PIC Micro controller
EE6008 MCBSD - Introduction to PIC Micro controller
 
register file structure of PIC controller
register file structure of PIC controllerregister file structure of PIC controller
register file structure of PIC controller
 
pic 18
pic 18pic 18
pic 18
 
Programming with PIC microcontroller
Programming with PIC microcontroller Programming with PIC microcontroller
Programming with PIC microcontroller
 
Pic microcontroller architecture
Pic microcontroller architecturePic microcontroller architecture
Pic microcontroller architecture
 
PIC microcontroller review
PIC microcontroller reviewPIC microcontroller review
PIC microcontroller review
 
PIC
PICPIC
PIC
 
Lecture 07 more about pic
Lecture 07 more about picLecture 07 more about pic
Lecture 07 more about pic
 
Pic18f458
Pic18f458Pic18f458
Pic18f458
 
PIC 16F877 micro controller by Gaurav raikar
PIC 16F877 micro controller by Gaurav raikarPIC 16F877 micro controller by Gaurav raikar
PIC 16F877 micro controller by Gaurav raikar
 
Pic16cxx instruction set
Pic16cxx instruction setPic16cxx instruction set
Pic16cxx instruction set
 
Seminar topic.on embeded system
Seminar topic.on embeded systemSeminar topic.on embeded system
Seminar topic.on embeded system
 
Introduction to 8085 Microprocessors
Introduction to 8085 MicroprocessorsIntroduction to 8085 Microprocessors
Introduction to 8085 Microprocessors
 
Week 1.3 architecture
Week 1.3   architectureWeek 1.3   architecture
Week 1.3 architecture
 
PIC 16F877A by PARTHIBAN. S.
PIC 16F877A   by PARTHIBAN. S.PIC 16F877A   by PARTHIBAN. S.
PIC 16F877A by PARTHIBAN. S.
 
MPLAB Starter Kit for PIC18F MCUs
MPLAB Starter Kit for PIC18F MCUsMPLAB Starter Kit for PIC18F MCUs
MPLAB Starter Kit for PIC18F MCUs
 
Atmel and pic microcontroller
Atmel and pic microcontrollerAtmel and pic microcontroller
Atmel and pic microcontroller
 
UNIT II –8085 MICROPROCESSOR AND 8051 MICROCONTROLLER---ME6702– MECHATRONICS
UNIT II –8085 MICROPROCESSOR AND 8051 MICROCONTROLLER---ME6702– MECHATRONICS UNIT II –8085 MICROPROCESSOR AND 8051 MICROCONTROLLER---ME6702– MECHATRONICS
UNIT II –8085 MICROPROCESSOR AND 8051 MICROCONTROLLER---ME6702– MECHATRONICS
 
Pic microcontroller [autosaved] [autosaved]
Pic microcontroller [autosaved] [autosaved]Pic microcontroller [autosaved] [autosaved]
Pic microcontroller [autosaved] [autosaved]
 

Similaire à Lecture 1 - Introduction to embedded system and Robotics

8051 microcontroller
8051 microcontroller8051 microcontroller
8051 microcontroller
snehapvs
 
Design of control unit.pptx
Design of control unit.pptxDesign of control unit.pptx
Design of control unit.pptx
Shubham014
 
embedded systems - Developer Student Clubs.pptx.pdf
embedded systems - Developer Student Clubs.pptx.pdfembedded systems - Developer Student Clubs.pptx.pdf
embedded systems - Developer Student Clubs.pptx.pdf
YoussefAbobakr
 

Similaire à Lecture 1 - Introduction to embedded system and Robotics (20)

8051 basics
8051 basics8051 basics
8051 basics
 
Overview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontrollerOverview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontroller
 
What is a microcontroller
What is a microcontrollerWhat is a microcontroller
What is a microcontroller
 
Pic
PicPic
Pic
 
Introduction to Microcontroller
Introduction to MicrocontrollerIntroduction to Microcontroller
Introduction to Microcontroller
 
Motorola microprocessor
Motorola microprocessorMotorola microprocessor
Motorola microprocessor
 
Pic16 c505
Pic16 c505Pic16 c505
Pic16 c505
 
Pic microcontrollers
Pic microcontrollersPic microcontrollers
Pic microcontrollers
 
Pic24 overview
Pic24 overviewPic24 overview
Pic24 overview
 
Embedded System - Dtmf robot
Embedded System - Dtmf robotEmbedded System - Dtmf robot
Embedded System - Dtmf robot
 
8051 microcontroller
8051 microcontroller8051 microcontroller
8051 microcontroller
 
Introduction to the 16-bit PIC24F Microcontroller Family
Introduction to the 16-bit PIC24F Microcontroller FamilyIntroduction to the 16-bit PIC24F Microcontroller Family
Introduction to the 16-bit PIC24F Microcontroller Family
 
Eee iv-microcontrollers [10 es42]-notes
Eee iv-microcontrollers [10 es42]-notesEee iv-microcontrollers [10 es42]-notes
Eee iv-microcontrollers [10 es42]-notes
 
Design of control unit.pptx
Design of control unit.pptxDesign of control unit.pptx
Design of control unit.pptx
 
ATmega32-AVR microcontrollers-Part I
ATmega32-AVR microcontrollers-Part IATmega32-AVR microcontrollers-Part I
ATmega32-AVR microcontrollers-Part I
 
Microcontroller pic 16f877 architecture and basics
Microcontroller pic 16f877 architecture and basicsMicrocontroller pic 16f877 architecture and basics
Microcontroller pic 16f877 architecture and basics
 
BRACU_SPRING24_EEE373_L1_Introduction.pptx
BRACU_SPRING24_EEE373_L1_Introduction.pptxBRACU_SPRING24_EEE373_L1_Introduction.pptx
BRACU_SPRING24_EEE373_L1_Introduction.pptx
 
Lecture 5-Embedde.pdf
Lecture 5-Embedde.pdfLecture 5-Embedde.pdf
Lecture 5-Embedde.pdf
 
Microcontroller
MicrocontrollerMicrocontroller
Microcontroller
 
embedded systems - Developer Student Clubs.pptx.pdf
embedded systems - Developer Student Clubs.pptx.pdfembedded systems - Developer Student Clubs.pptx.pdf
embedded systems - Developer Student Clubs.pptx.pdf
 

Plus de Vajira Thambawita

Plus de Vajira Thambawita (20)

Lecture 4 principles of parallel algorithm design updated
Lecture 4   principles of parallel algorithm design updatedLecture 4   principles of parallel algorithm design updated
Lecture 4 principles of parallel algorithm design updated
 
Lecture 3 parallel programming platforms
Lecture 3   parallel programming platformsLecture 3   parallel programming platforms
Lecture 3 parallel programming platforms
 
Lecture 2 more about parallel computing
Lecture 2   more about parallel computingLecture 2   more about parallel computing
Lecture 2 more about parallel computing
 
Lecture 1 introduction to parallel and distributed computing
Lecture 1   introduction to parallel and distributed computingLecture 1   introduction to parallel and distributed computing
Lecture 1 introduction to parallel and distributed computing
 
Lecture 12 localization and navigation
Lecture 12 localization and navigationLecture 12 localization and navigation
Lecture 12 localization and navigation
 
Lecture 11 neural network principles
Lecture 11 neural network principlesLecture 11 neural network principles
Lecture 11 neural network principles
 
Lecture 10 mobile robot design
Lecture 10 mobile robot designLecture 10 mobile robot design
Lecture 10 mobile robot design
 
Lecture 09 control
Lecture 09 controlLecture 09 control
Lecture 09 control
 
Lecture 08 robots and controllers
Lecture 08 robots and controllersLecture 08 robots and controllers
Lecture 08 robots and controllers
 
Lecture 06 pic programming in c
Lecture 06 pic programming in cLecture 06 pic programming in c
Lecture 06 pic programming in c
 
Lecture 05 pic io port programming
Lecture 05 pic io port programmingLecture 05 pic io port programming
Lecture 05 pic io port programming
 
Lecture 04 branch call and time delay
Lecture 04  branch call and time delayLecture 04  branch call and time delay
Lecture 04 branch call and time delay
 
Lecture 02 mechatronics systems
Lecture 02 mechatronics systemsLecture 02 mechatronics systems
Lecture 02 mechatronics systems
 
Lec 09 - Registers and Counters
Lec 09 - Registers and CountersLec 09 - Registers and Counters
Lec 09 - Registers and Counters
 
Lec 08 - DESIGN PROCEDURE
Lec 08 - DESIGN PROCEDURELec 08 - DESIGN PROCEDURE
Lec 08 - DESIGN PROCEDURE
 
Lec 07 - ANALYSIS OF CLOCKED SEQUENTIAL CIRCUITS
Lec 07 - ANALYSIS OF CLOCKED SEQUENTIAL CIRCUITSLec 07 - ANALYSIS OF CLOCKED SEQUENTIAL CIRCUITS
Lec 07 - ANALYSIS OF CLOCKED SEQUENTIAL CIRCUITS
 
Lec 06 - Synchronous Sequential Logic
Lec 06 - Synchronous Sequential LogicLec 06 - Synchronous Sequential Logic
Lec 06 - Synchronous Sequential Logic
 
Lec 05 - Combinational Logic
Lec 05 - Combinational LogicLec 05 - Combinational Logic
Lec 05 - Combinational Logic
 
Lec 04 - Gate-level Minimization
Lec 04 - Gate-level MinimizationLec 04 - Gate-level Minimization
Lec 04 - Gate-level Minimization
 
Lec 03 - Combinational Logic Design
Lec 03 - Combinational Logic DesignLec 03 - Combinational Logic Design
Lec 03 - Combinational Logic Design
 

Dernier

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 

Dernier (20)

Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 

Lecture 1 - Introduction to embedded system and Robotics

  • 3. What is this course? Course code? PST 41203 Number of credits? 2 Number of Lecture hours? 30 hours Practical or theory? Or both? Lab facility? Compulsory or optional?
  • 4. Contents of this course (Robotics) ●Analog and Digital Circuits for Control Applications ●Electronic Devices used in Robotics ●Microprocessor/ Microcontroller & Interfacing ●DC and Stepper Motors ●Design of Mechatronics Systems ●Sensors and Signal Processing ●Power Electronics ●Two wheel Driven Autonomous Robot Applications
  • 5. Contents of Embedded Systems • Modeling Dynamic Behaviors, Composition of State Machines, Concurrent Models of Computation, Memory Architectures, Input and Output, Multitasking, Scheduling, Analysis and Verification, Equivalence and Refinement, Reachability, Analysis and Model Checking, Quantitative Analysis
  • 6. Contents of Automation Intelligent Controllers, Programmable Logic Control, Automation Elements, Hardware Components for Automation and Process Control, Logical Design for Automation, Electro Pneumatic Automation. Industrial Networks (RS232, RS485/422, SPI, I2C, CAN, MODBUS, PROFIBUS), Basic Programming in PLC and the PID at the Industry SCADA Systems and Software
  • 7. How to evaluate? Continuous mark = ? End Exam = ? Or Using a big project?
  • 8. What is your level? • Embedded system knowledge? • C programming? • Assembly language? • Basic electronics? • Mathematics?
  • 9. My plan • Basics of Embedded systems and Robotics • Applications • PIC architecture overview • Introduction to Assembler • PIC I/O port programming • PIC programming in C • Timer programming • Interrupt programming • ADC, DAC and sensor interfacing • Motor Control
  • 10. References • PIC Microcontroller and Embedded Systems By Muhammad Ali Mazidi • Embedded Systems Design, Steve Heath • Practical electronic for inventors, Paul Scherz
  • 11. List of tools Proteus Mikro C PIC Kit MPLABX
  • 12. Definition of Embedded Systems Embedded system: is a system whose principal function is not computational, but which is controlled by a computer embedded within it. 12
  • 16. Examples: Derbot Autonomous Guided Vehicle 16
  • 17. Examples: Derbot Autonomous Guided Vehicle 17
  • 19. Computer Essentials Instruction Sets • CISC: Complex Instruction Set Computer • RISC: Reduced Instruction Set Computer Memory Types • Volatile: Random Access Memory (RAM) • Non-volatile: Read Only Memory (ROM) 19
  • 20. Von Neumann and Harvard Computers 20
  • 21. Microprocessors and Microcontrollers The microprocessor is a processor on one silicon chip. The microcontrollers are used in embedded computing. The microcontroller is a microprocessor with added circuitry. 21
  • 24. Microcontroller Packaging and Appearance 24 From left to right: PIC 12F508, PIC 16F84A, PIC 16C72, Motorola 68HC05B16, PIC 16F877, Motorola 68000
  • 25. PIC Microcontrollers Peripheral Interface Controller (PIC) was originally designed by General Instruments In the late 1970s, GI introduced PIC® 1650 and 1655 – RISC with 30 instructions. PIC was sold to Microchip Features: low-cost, self-contained, 8-bit, Harvard structure, pipelined, RISC, single accumulator, with fixed reset and interrupt vectors. 25
  • 26. PIC Families PIC Family Stack Size Instruction Word Size No of Instructions Interrupt Vectors 12CX/12FX 2 12- or 14-bit 33 None 16C5X/16F5X 2 12-bit 33 None 16CX/16FX 8 14-bit 35 1 17CX 16 16-bit 58 4 18CX/18FX 32 16-bit 75 2 26 ‘C’ implies CMOS technology; Complementary Metal Oxide Semiconductor ‘F’ insert indicates incorporation of Flash memory technology Example: 16C84 was the first of its kind. It was later reissued as the 16F84, incorporating Flash memory technology. It was then reissued as 16F84A.
  • 27. 12 Series PIC 27 The small 12F508
  • 28. PIC 12F508/509 pin connection diagram 28
  • 30. Choosing a microcontroller Five major 8-bit microcontrollers: • Freescale semiconductors (Motorola) • Intel’s 8051 • Atmel’s AVR • Zilog’s Z8 • PIC
  • 31. Choosing a microcontroller Three criteria in choosing a microcontroller: 1. Meeting the computing needs of the task at hand efficiently and cost effectively. 2. Availability of software and hardware development tools (Compilers, assemblers, debuggers and emulators). 3. Wide availability and reliable sources of the microcontroller.
  • 32. Mechatronics and microcontrollers Many technical processes and products in the are of mechanical and electrical engineering show an increasing integration of mechanics with electronic and information processing. Mechatronic = hardware + software