seminar on pic1684

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 06/27/2022 1

Upload: sagar-sarvade

Post on 29-Jun-2015

542 views

Category:

Education


0 download

DESCRIPTION

this is most used 14bit PIC microcontroller. very helpful for hobby project and engg. final year projects....

TRANSCRIPT

Page 1: seminar on PIC1684

04/14/2023 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

Page 2: seminar on PIC1684

04/14/2023 2

Content

• What is microcontroller?• PIC microcontrollers• Features of PIC16F84• Architecture of PIC16F84

1. CPU2. status register3. memory

• INTCON register• Instruction set• Advantages & limitations

Page 3: seminar on PIC1684

04/14/2023 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.

Page 4: seminar on PIC1684

04/14/2023 4

PIC Microcontrollers

• Peripheral Interface Controller(PIC) is a family of microcontrollers by Microchip Technology.

• Harvard architecture.• 3 types:

a. 12-bit instruction word MCUb. 14-bit instruction word MCUc. 16-bit instruction word MCU

Page 5: seminar on PIC1684

04/14/2023 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

Page 6: seminar on PIC1684

04/14/2023 6

Architecture of PIC16F84

Page 7: seminar on PIC1684

04/14/2023 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)

Page 8: seminar on PIC1684

04/14/2023 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

Page 9: seminar on PIC1684

04/14/2023 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

Page 10: seminar on PIC1684

04/14/2023 10

Data memory:

• 2 register banks• Bank is selected by bit-5

of status register.• 68 bytes for general

purpose

Page 11: seminar on PIC1684

04/14/2023 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

Page 12: seminar on PIC1684

04/14/2023 12

Instruction set:

• Only 35 instructions.• 3 types of instructions:

1. Byte-orientedEx: a) addwf f,d, b)andwf f,d. etc..

2. Bit-orientedEx: a)bcf f, b, b)bsf f, b. etc..

3. Literal & control operationsEx: a)addlw k, b)andlw k etc..

Page 13: seminar on PIC1684

04/14/2023 13

Advantages:

• Easy to learn• Fast execution due

to RISC architecture.• Inexpensive• Wide range of

interfaces including USB, USART.

Limitations:

• Only one working register.

• Register bank switching required to access entire RAM.

Page 14: seminar on PIC1684

04/14/2023 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.

Page 15: seminar on PIC1684

04/14/2023 15

References:

• PIC microcontrollers by Elsevier, edition 2008• The Quintessential PIC Microcontroller by Sid

Katzen• www.microchip.com• www.slideshare.com

Page 16: seminar on PIC1684

04/14/2023 16

Thank you….

Page 17: seminar on PIC1684

04/14/2023 17

Any queries???