Difference Between Search & Browse Methods in Odoo 17
Basaveshwar Engineering College Seminar on PIC Microcontroller Features
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