Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Overview
What are PICs Applications Using a PIC Architecture PIC Families Summary
http://o.mneina.googlepages.com/what_is_microcontroller.htm
Applications
DIY Projects Mini-robot Temperature Sensor and many more
DC-Motor-based Mini-robot
(http://www.youritronics.com/)
Temperature Sensor
(http://amazon.com)
http://upload.wikimedia.org/wikipedia/commons/4/4c/PIC_microcontrollers.jpg
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
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):
Architecture
PIC16C8X (8bit)
http://o.mneina.googlepages.com/what_is_microcontroller.htm
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):
http://microchip.com