SlideShare ist ein Scribd-Unternehmen logo
1 von 17
Basaveshwar Engineering College (Autonomous),
                        Bagalkot.
     Department of Instrumentation Technology

              “PIC Microcontroller”


Seminar Guide : Prof. Santosh B. K.
Presented by: Sagar S. Sarvade
        USN: 2BA09IT015
        Roll: 12
12/18/2012                                            1
Content
• What is microcontroller?
• PIC microcontrollers
• Features of PIC16F84
• Architecture of PIC16F84
       1. CPU
       2. status register
       3. memory
• INTCON register
• Instruction set
• Advantages & limitations

12/18/2012                   2
What is a microcontroller?
• It is a computer on a
  single chip.
• A single chip contain
  processor, RAM & ROM
  memory, clock, & I/O
  control unit.
• It is also called as “system
  on chip”.
• Microcontrollers are
  designed for embedded
  applications.

12/18/2012                                3
PIC Microcontrollers
• Peripheral Interface Controller(PIC) is a family
  of microcontrollers by Microchip Technology.
• Harvard architecture.
• 3 types:
      a. 12-bit instruction word MCU
      b. 14-bit instruction word MCU
      c. 16-bit instruction word MCU

12/18/2012                                           4
Features of PIC16F84:
• 14-bit instruction word
• 18 pin device
• 13 I/O pins
• 68 bytes of RAM
• 1k word of program
  ROM
• 64 bytes of EEPROM
• One 8-bit timer
• One watchdog timer

12/18/2012                  5
Architecture of PIC16F84




12/18/2012                              6
CPU:
• It has instruction decoder, ALU, control unit.
• It has only one accumulator, called as working
  register.
• Supports RISC architecture.
• Has 35 simple instructions.
• Execution time is very less.(approx. 0.2µs)



12/18/2012                                         7
Status register:


•   RPO: register bank select
•   TO: watchdog timer time-out bit
•   PD: power down bit
•   z: zero bit
•   DC: digital carry bit
•   C: carry bit
12/18/2012                            8
Memory:
Program memory:
• 13-bit program counter
• 8 stack level of 13-bit
• Reset vector &
  peripheral interrupt
  vector.
• Only 1k memory is
  implemented.
• Remaining is left
  unimplemented

12/18/2012                  9
Data memory:
• 2 register banks
• Bank is selected by bit-5
  of status register.
• 68 bytes for general
  purpose




12/18/2012                    10
INTCON register:

•   GIE: global interrupt enable
•   EEIE: EE write complete interrupt
•   TOIE: TMRO timer overflow interrupt
•   INTE: INT external interrupt
•   RBIE: RB port change interrupt
•   TOIF: TMRO overflow flag
•   INTF: external interrupt flag
•   RBIF: RB port change interrupt flag

12/18/2012                                11
Instruction set:
• Only 35 instructions.
• 3 types of instructions:
      1. Byte-oriented
             Ex: a) addwf f,d, b)andwf f,d. etc..
      2. Bit-oriented
             Ex: a)bcf f, b, b)bsf f, b. etc..
      3. Literal & control operations
             Ex: a)addlw k, b)andlw k etc..

12/18/2012                                          12
Advantages:               Limitations:
• Easy to learn           • Only one working
• Fast execution due        register.
  to RISC architecture.   • Register bank
• Inexpensive               switching required to
• Wide range of             access entire RAM.
  interfaces including
  USB, USART.



12/18/2012                                      13
Conclusion:
• Thus PIC microcontrollers are easier to
  program for interfacing, & has Fast response.
• PIC microcontrollers can be used for industrial
  purpose.
• small and inexpensive PIC microcontrollers
  can be used for hobby and educational
  purpose.



12/18/2012                                      14
References:
• PIC microcontrollers by Elsevier, edition 2008
• The Quintessential PIC Microcontroller by Sid
  Katzen
• www.microchip.com
• www.slideshare.com




12/18/2012                                         15
Thank you….

12/18/2012                 16
Any queries???



12/18/2012                    17

Weitere ähnliche Inhalte

Was ist angesagt?

Project report on embedded system using 8051 microcontroller
Project  report on embedded system using 8051 microcontrollerProject  report on embedded system using 8051 microcontroller
Project report on embedded system using 8051 microcontroller
Vandna Sambyal
 
Microprocessor & microcontroller
Microprocessor & microcontroller Microprocessor & microcontroller
Microprocessor & microcontroller
Nitesh Kumar
 
Microcontroller
MicrocontrollerMicrocontroller
Microcontroller
Spitiq
 

Was ist angesagt? (20)

microcontroller basics
microcontroller basicsmicrocontroller basics
microcontroller basics
 
The 8051 microcontroler based embedded systems
The 8051 microcontroler based embedded systemsThe 8051 microcontroler based embedded systems
The 8051 microcontroler based embedded systems
 
Microcontroller overview 1
Microcontroller overview 1Microcontroller overview 1
Microcontroller overview 1
 
microcontroller vs microprocessor
microcontroller vs microprocessormicrocontroller vs microprocessor
microcontroller vs microprocessor
 
Project report on embedded system using 8051 microcontroller
Project  report on embedded system using 8051 microcontrollerProject  report on embedded system using 8051 microcontroller
Project report on embedded system using 8051 microcontroller
 
8051 microcontrollers
8051 microcontrollers8051 microcontrollers
8051 microcontrollers
 
Microcontroller
MicrocontrollerMicrocontroller
Microcontroller
 
Intro to micro controller (Atmega16)
Intro to micro controller (Atmega16)Intro to micro controller (Atmega16)
Intro to micro controller (Atmega16)
 
Introduction to Microcontroller
Introduction to MicrocontrollerIntroduction to Microcontroller
Introduction to Microcontroller
 
819 data sheet
819 data sheet819 data sheet
819 data sheet
 
Microprocessor & Micro-controller
Microprocessor & Micro-controllerMicroprocessor & Micro-controller
Microprocessor & Micro-controller
 
Unit 1
Unit 1Unit 1
Unit 1
 
Uc1(vii sem)
Uc1(vii sem)Uc1(vii sem)
Uc1(vii sem)
 
Pic18f458
Pic18f458Pic18f458
Pic18f458
 
Microprocessor & microcontroller
Microprocessor & microcontroller Microprocessor & microcontroller
Microprocessor & microcontroller
 
Embedded systemsc
Embedded systemscEmbedded systemsc
Embedded systemsc
 
Microcontroller
MicrocontrollerMicrocontroller
Microcontroller
 
Microcontroller
MicrocontrollerMicrocontroller
Microcontroller
 
Introduction to Microcontroller
Introduction to MicrocontrollerIntroduction to Microcontroller
Introduction to Microcontroller
 
Introduction in microcontroller
Introduction in microcontrollerIntroduction in microcontroller
Introduction in microcontroller
 

Andere mochten auch (8)

Logical instruction of 8085
Logical instruction of 8085Logical instruction of 8085
Logical instruction of 8085
 
Pic16f84
Pic16f84Pic16f84
Pic16f84
 
Chp5 pic microcontroller instruction set copy
Chp5 pic microcontroller instruction set   copyChp5 pic microcontroller instruction set   copy
Chp5 pic microcontroller instruction set copy
 
Instruction set of 8085 Microprocessor By Er. Swapnil Kaware
Instruction set of 8085 Microprocessor By Er. Swapnil KawareInstruction set of 8085 Microprocessor By Er. Swapnil Kaware
Instruction set of 8085 Microprocessor By Er. Swapnil Kaware
 
Instruction set of 8085
Instruction set  of 8085Instruction set  of 8085
Instruction set of 8085
 
8085 microprocessor ramesh gaonkar
8085 microprocessor   ramesh gaonkar8085 microprocessor   ramesh gaonkar
8085 microprocessor ramesh gaonkar
 
8085 microprocessor architecture ppt
8085 microprocessor architecture ppt8085 microprocessor architecture ppt
8085 microprocessor architecture ppt
 
8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction set
8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction set8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction set
8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction set
 

Ähnlich wie seminar on PIC1684

8051 microcontroller
8051 microcontroller8051 microcontroller
8051 microcontroller
snehapvs
 
AN INTEGRATED FOUR-PORT DC-DC CONVERTER-CEI0080
AN INTEGRATED FOUR-PORT DC-DC CONVERTER-CEI0080AN INTEGRATED FOUR-PORT DC-DC CONVERTER-CEI0080
AN INTEGRATED FOUR-PORT DC-DC CONVERTER-CEI0080
Vivek Venugopal
 
1 introducing embedded systems and the microcontrollers
1 introducing embedded systems and the microcontrollers1 introducing embedded systems and the microcontrollers
1 introducing embedded systems and the microcontrollers
Victor Nyamhotsi
 
1 introducing embedded systems and the microcontrollers 2
1 introducing embedded systems and the microcontrollers 21 introducing embedded systems and the microcontrollers 2
1 introducing embedded systems and the microcontrollers 2
Vibhu Mishra
 
1 introducing embedded systems and the microcontrollers
1 introducing embedded systems and the microcontrollers1 introducing embedded systems and the microcontrollers
1 introducing embedded systems and the microcontrollers
Bidhu Deka
 
PIC1jjkkkkkkkjhgfvjitr c its GJ tagging hugg
PIC1jjkkkkkkkjhgfvjitr c its GJ tagging huggPIC1jjkkkkkkkjhgfvjitr c its GJ tagging hugg
PIC1jjkkkkkkkjhgfvjitr c its GJ tagging hugg
HebaEng
 

Ähnlich wie seminar on PIC1684 (20)

Presentation for EEE engineers on Microcontroller by Dilip Kumar Roy
Presentation for EEE engineers on Microcontroller by Dilip Kumar RoyPresentation for EEE engineers on Microcontroller by Dilip Kumar Roy
Presentation for EEE engineers on Microcontroller by Dilip Kumar Roy
 
Class 5 an 8 bit embedded platform
Class 5 an 8 bit embedded platformClass 5 an 8 bit embedded platform
Class 5 an 8 bit embedded platform
 
8051 microcontroller
8051 microcontroller8051 microcontroller
8051 microcontroller
 
Micro_ppt[1].pptx
Micro_ppt[1].pptxMicro_ppt[1].pptx
Micro_ppt[1].pptx
 
Introduction_PIC18F458_Ritula Thakur.pptx
Introduction_PIC18F458_Ritula Thakur.pptxIntroduction_PIC18F458_Ritula Thakur.pptx
Introduction_PIC18F458_Ritula Thakur.pptx
 
AN INTEGRATED FOUR-PORT DC-DC CONVERTER-CEI0080
AN INTEGRATED FOUR-PORT DC-DC CONVERTER-CEI0080AN INTEGRATED FOUR-PORT DC-DC CONVERTER-CEI0080
AN INTEGRATED FOUR-PORT DC-DC CONVERTER-CEI0080
 
Micro controller & Micro processor
Micro controller & Micro processorMicro controller & Micro processor
Micro controller & Micro processor
 
Introduction to pic microcontroller
Introduction to pic microcontrollerIntroduction to pic microcontroller
Introduction to pic microcontroller
 
Overview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontrollerOverview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontroller
 
1 introducing embedded systems and the microcontrollers
1 introducing embedded systems and the microcontrollers1 introducing embedded systems and the microcontrollers
1 introducing embedded systems and the microcontrollers
 
1 introducing embedded systems and the microcontrollers 2
1 introducing embedded systems and the microcontrollers 21 introducing embedded systems and the microcontrollers 2
1 introducing embedded systems and the microcontrollers 2
 
12C5XX.PDF
12C5XX.PDF12C5XX.PDF
12C5XX.PDF
 
Seminar topic.on embeded system
Seminar topic.on embeded systemSeminar topic.on embeded system
Seminar topic.on embeded system
 
PIC 18F2550
PIC 18F2550PIC 18F2550
PIC 18F2550
 
Microcontroller pic 16f877 architecture and basics
Microcontroller pic 16f877 architecture and basicsMicrocontroller pic 16f877 architecture and basics
Microcontroller pic 16f877 architecture and basics
 
ATmega 16
ATmega 16ATmega 16
ATmega 16
 
1 Introducing Embedded Systems and the Microcontrollers.ppt
1 Introducing Embedded Systems and the Microcontrollers.ppt1 Introducing Embedded Systems and the Microcontrollers.ppt
1 Introducing Embedded Systems and the Microcontrollers.ppt
 
1 introducing embedded systems and the microcontrollers
1 introducing embedded systems and the microcontrollers1 introducing embedded systems and the microcontrollers
1 introducing embedded systems and the microcontrollers
 
PIC1jjkkkkkkkjhgfvjitr c its GJ tagging hugg
PIC1jjkkkkkkkjhgfvjitr c its GJ tagging huggPIC1jjkkkkkkkjhgfvjitr c its GJ tagging hugg
PIC1jjkkkkkkkjhgfvjitr c its GJ tagging hugg
 
DOC-20230124-WA0009..pptx
DOC-20230124-WA0009..pptxDOC-20230124-WA0009..pptx
DOC-20230124-WA0009..pptx
 

Kürzlich hochgeladen

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
 
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
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
ssuserdda66b
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 

Kürzlich hochgeladen (20)

Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
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
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
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
 
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
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
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
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
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...
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 

seminar on PIC1684

  • 1. Basaveshwar Engineering College (Autonomous), Bagalkot. Department of Instrumentation Technology “PIC Microcontroller” Seminar Guide : Prof. Santosh B. K. Presented by: Sagar S. Sarvade USN: 2BA09IT015 Roll: 12 12/18/2012 1
  • 2. Content • What is microcontroller? • PIC microcontrollers • Features of PIC16F84 • Architecture of PIC16F84 1. CPU 2. status register 3. memory • INTCON register • Instruction set • Advantages & limitations 12/18/2012 2
  • 3. What is a microcontroller? • It is a computer on a single chip. • A single chip contain processor, RAM & ROM memory, clock, & I/O control unit. • It is also called as “system on chip”. • Microcontrollers are designed for embedded applications. 12/18/2012 3
  • 4. PIC Microcontrollers • Peripheral Interface Controller(PIC) is a family of microcontrollers by Microchip Technology. • Harvard architecture. • 3 types: a. 12-bit instruction word MCU b. 14-bit instruction word MCU c. 16-bit instruction word MCU 12/18/2012 4
  • 5. Features of PIC16F84: • 14-bit instruction word • 18 pin device • 13 I/O pins • 68 bytes of RAM • 1k word of program ROM • 64 bytes of EEPROM • One 8-bit timer • One watchdog timer 12/18/2012 5
  • 7. CPU: • It has instruction decoder, ALU, control unit. • It has only one accumulator, called as working register. • Supports RISC architecture. • Has 35 simple instructions. • Execution time is very less.(approx. 0.2µs) 12/18/2012 7
  • 8. Status register: • RPO: register bank select • TO: watchdog timer time-out bit • PD: power down bit • z: zero bit • DC: digital carry bit • C: carry bit 12/18/2012 8
  • 9. Memory: Program memory: • 13-bit program counter • 8 stack level of 13-bit • Reset vector & peripheral interrupt vector. • Only 1k memory is implemented. • Remaining is left unimplemented 12/18/2012 9
  • 10. Data memory: • 2 register banks • Bank is selected by bit-5 of status register. • 68 bytes for general purpose 12/18/2012 10
  • 11. INTCON register: • GIE: global interrupt enable • EEIE: EE write complete interrupt • TOIE: TMRO timer overflow interrupt • INTE: INT external interrupt • RBIE: RB port change interrupt • TOIF: TMRO overflow flag • INTF: external interrupt flag • RBIF: RB port change interrupt flag 12/18/2012 11
  • 12. Instruction set: • Only 35 instructions. • 3 types of instructions: 1. Byte-oriented Ex: a) addwf f,d, b)andwf f,d. etc.. 2. Bit-oriented Ex: a)bcf f, b, b)bsf f, b. etc.. 3. Literal & control operations Ex: a)addlw k, b)andlw k etc.. 12/18/2012 12
  • 13. Advantages: Limitations: • Easy to learn • Only one working • Fast execution due register. to RISC architecture. • Register bank • Inexpensive switching required to • Wide range of access entire RAM. interfaces including USB, USART. 12/18/2012 13
  • 14. Conclusion: • Thus PIC microcontrollers are easier to program for interfacing, & has Fast response. • PIC microcontrollers can be used for industrial purpose. • small and inexpensive PIC microcontrollers can be used for hobby and educational purpose. 12/18/2012 14
  • 15. References: • PIC microcontrollers by Elsevier, edition 2008 • The Quintessential PIC Microcontroller by Sid Katzen • www.microchip.com • www.slideshare.com 12/18/2012 15