75% found this document useful (4 votes)
665 views20 pages

PIC Microcontrollers

PIC microcontrollers are low-cost, low-power microcontrollers developed by Microchip Technology in 1975. They use a subset of the MIPS instruction set and have flash/EEPROM-based instruction memory and separate data memory. PIC microcontrollers are popular for DIY projects and come in 8-bit, 16-bit, and 32-bit varieties with varying speeds, memory capacities, and package sizes. They are programmed using MPLab IDE and can be inexpensive starting around $0.41 for 8-bit models.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
75% found this document useful (4 votes)
665 views20 pages

PIC Microcontrollers

PIC microcontrollers are low-cost, low-power microcontrollers developed by Microchip Technology in 1975. They use a subset of the MIPS instruction set and have flash/EEPROM-based instruction memory and separate data memory. PIC microcontrollers are popular for DIY projects and come in 8-bit, 16-bit, and 32-bit varieties with varying speeds, memory capacities, and package sizes. They are programmed using MPLab IDE and can be inexpensive starting around $0.41 for 8-bit models.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd

PIC Microcontrollers

Overview
What are PICs Applications Using a PIC Architecture PIC Families Summary

What are PICs?


Peripheral Interface Controller Developed by Microchip Technology in 1975 Microcontrollers NOT Microprocessors Microprocessor system with number of components (EEPROM, RAM, I/O Support)

[Link]

Applications
DIY Projects Mini-robot Temperature Sensor and many more

DC-Motor-based Mini-robot

([Link]

Temperature Sensor

([Link]

PIC Project Book

Why Use PIC?


Variety of choices (8-bit to 32-bit) Affordable (8-bit: $0.41, 32-bit: $6.00) Low Power Reasonable Size Convenient Packaging
Through Hole (Dip) Surface Mount (QFN/SPDIP)

Resources and References

[Link]

Using A PIC
Tools:
MPLab IDE
C and assembly environment Debugger included C compiler included Free Variable cost Ex. ICDE2, PICKit2, many more Libraries by Microchip

Programmers

Software Development Tools

Using A PIC
Documentation
Datasheets Available from Microchip Large Specific Documents Similar to MPC Documentation Other resources Books Hobby sites

Using A PIC
Documentation Examples:

Using A PIC
Documentation Examples:

Using A PIC
C Code Examples:
Using Microchip Libraries to initialize UART (on PIC 18F):

Initializing USART by manipulating registers:

Architecture

PIC16C8X (8bit)
[Link]

Architecture
Subset of MIPS ISA
35-80 instructions Flash/EEPROM-based Instruction Memory Separate Data Memory One accumulator In-order non-pipelined and multi-cycle (Most systems)

Memory Low-performance

PIC Families
Divided into families
8-bit: 8F, 16F, 18F 16-bit: 24F, ds33F 32-bit: 32F Power Consumption Speed Package size Memory Capacity

Minor differences

PIC Families
8-bit:
Max Speed 20 MIPS (mill. instr / sec) Generally 4 cycle processor Memory Range <1kB to 128kB instruction up to 32 kB data Max speed 40 MIPS 2 Cycle Processor Memory Range <1kB to 256kB instruction up to 32kB data Max speed 80 MIPS 5 stage pipeline, out of order Memory Range 32kB to 512kB instruction up to 32kB data

16-bit:

32-bit:

Summary
Popular in many areas Low cost and Low-powered solution Accessible resources Subset of MIPS Variety of families

Questions?
Thank you for your attention

References
Microchip Technology (Manufacturer):
[Link]

The PIC Tutorial:


[Link]

Embedded Systems/PIC Microcontroller


[Link]

Wikipedia Entry: PIC Microcontroller


[Link]

You might also like