SlideShare a Scribd company logo
8-bit PIC ®  Microcontrollers Source: M ICROCHIP
Introduction Purpose To introduce Microchip’s 8-bit PIC microcontrollers. Outline Choose the right 8-bit PIC MCUs for the Embedded Application Kit contents PIC10F & PIC12F overview PIC16F overview PIC18F overview Development tools Content 25 pages
Application Example Nick waters his Garden: Every Morning For 10 minutes Repeat everyday
Nick’s Challenge Automate: Vacation Lazy Need: Sun Detector Valve Opener Timer
Replace Nick with PIC TMR1 Input Output Light Detector PIC Water Valve Control
PIC10F/12F Family 5 MIPS 8-bit Core 8b ALU 1 x 8b W Register  64 – 128 B Data Memory Memory Bus .5 - 2 KB Flash Memory 64 - 256 B EEPROM Peripheral Bus WDT & Pwr Mgmt. 6 - 8-pin Packages (1)8b Timers INTRC 8Mhz Interrupt Control (4)10b ADC (1) Comparators Output Compare/PWM Input Capture
PIC 10F/12F Products Low pin count and small form factor 6 pin PIC10 – SOT23 & DFN Pkg 8 pin PIC12 – SOIC & DFN Pkg Internal 4 & 8Mhz Oscillator 10-bit A/D converter and Comparator Output Drivers Low Voltage and Power Operation Flexible program & data memory 2k Flash 128 RAM 256 EEPROM
Nick’s Wife Wants Summer Crops! Challenge: Varying amount of water Varying frequency of watering Alternative: Use several units of our first design Solution:  Build a Programmable Unit
Programmable Re-Design TMR1 Input Output Light Detector PIC Water Valve Control 8 8
Programmable Unit  Requirements: LCD display and Keypad Multiple Outputs  Analog inputs for sensor interface Interface to PC – RS232 or USB
PIC16F Family 5 MIPS 8-bit Core 8b ALU 1 x 8b W Register  64 – 368 B Data Memory Memory Bus .5 - 14 KB Flash Memory 64 - 256 B EEPROM Peripheral Bus WDT & Pwr Mgmt. 18 - 64-pin Packages UART w/LIN  SPI (2)8b/16b Timers INTRC 16Mhz Interrupt Control I 2 C™ (14ch)10b ADC Output Compare/PWM Input Capture (2) Comparators nanoWatt XLP
PIC16F Products 14 – 64 pins in DIP to QFN pkgs More than 75 products @ 20Mhz 14K Flash; 384 RAM; 256 EEPROM 10-bit ADC, Op Amp, Vref & Comparators UART, SPI, I2C and USB SR Latch, Capture, Compare and PWM Keeloq, Cap Sense LCD Drivers
Enhanced PIC16F1XXX Products 18 – 64 Pins pin compatible 10 Products @ 32Mhz 28k Flash; 1k RAM; 256 EEprom 10-bit ADC and Comparators 2 x UART, 2 x SPI and I2C Capture, Compare and PWM LCD Drivers Faster Larger More
Nick controls Watering remotely using Internet TMR1 Input Output Light Detector PIC Water Valve Control 8 8
Nick controls Watering remotely using Internet TMR1 Input Output Light Detector PIC Water Valve Control 8 8
PIC18 Family 10 MIPS 8-bit Core 8-bit ALU Register File  16 bit 8 x 8 MPY Address Generation Barrel Shifter Memory Bus 4 - 128 KB Flash 0.25 - 4 KB RAM Peripheral Bus Interrupt Control PIC18F Core 40 - 64MHz 10 - 16 MIPS 8-bit ALU Register File  8 bit 8 x 8 MPY 2MB Address Space 0 - 1 KB EEPROM Peripheral Pin Select Real Time Clk Calendar Ethernet MAC/PHY CAN Charge Time Meas Unit USB 18 – 100 pin packages UART with LIN - 2 SPI / I 2 C TM  - 2 Capture / Compare  PWMs 8/16-bit Timers – 2/3 Watchdog Timer Comparators - 2 ADC, 10/12-bit, 16 ch. nanoWatt XLP  Low Power Resources
PIC18F Products 8-bit devices @ 10-16 MIPS  >165 products; 18 - 100 pins Up to 128 KB Flash, 4 KB RAM, 1KB EEPROM Advanced Peripherals USB, Ethernet, CAN 10 & 12-bit ADCs  Charge Time Measurement Unit  Integrated LCD Drivers Peripheral Pin Select
Debug Tools New tools provide a choice to customers Top end: MPLAB REAL ICE   http://www.microchip.com/realice High performance More features, more options Middle of the road: MPLAB ICD3   http://www.microchip.com/ICD3 High performance Some key functional features provided Low end: PICkit3  Debug  Express http://www.microchip.com/Pickit3 Lower performance Less features
Starter Kits Starter Kits for all Families Includes debugger Low Cost Easy evaluation of Part MPLAB IDE required Most bundled with C Compiler
PICKIT 2 Starter Kit Low pin count demo board supporting 8/14/20-pin mid range PIC microcontrollers  20-pin PIC16F690 Midrange microcontroller 12 Lessons on assembly programming: I/O, A/D converters, timers, interrupts, and data tables  Getting Started in PICBASIC PRO  tutorial developing and debugging in BASIC. FREE  microEngineering Labs PICBASIC PRO™ Demo   Compiler   HI-TECH PICC™ LITE C Compiler  with MPLAB IDE.  FREE! Microchip’s  MPLAB IDE  software for a complete code development environment PICKIT™ 2 Starter Kit Part# DV164120
PICKit 3 Debug Express PICkit 3 Debugger/Programmer  44-pin demo board with a PIC18F45k20 microcontroller  All hookup cables  PICkit 3  User’s Guide 12 Lessons  on assembly programming: I/O, A/D converters, timers, interrupts, and data tables  Debugging Tutorial  using PICkit 3 as a debugger with MPLAB IDE  A FREE  CCS compiler  for the PIC18F45k20 HI-TECH PICC™ LITE C Compiler Microchip’s  MPLAB IDE  software for a complete code development environment PICKIT™ 3 Debugger Express Part# DV164131
PIC18F4xK20 Starter Kit PICkit 2 Development Programmer/Debugger  PIC18F4XK20 Starter Kit board with PIC18F46K20 MCU and OLED display.  12 Lessons  on using the MPLAB IDE with PICkit 2 Programmer/Debugger  MPLAB C Compiler for PIC18 MCUs  to program and use PIC18F4xK20 MCUs and peripherals Demo programs and source code.  FREE! Microchip’s  MPLAB IDE   PIC18F4xK20 Starter Kit Part #DM164124
PIC18 Starter Kit Functions as a USB mouse, joystick or mass storage device all using the on-board capacitive touch sense pads Includes a MicroSD ™  memory card, potentiometer, acceleration sensor, and OLED display On-board debugger/programming Completely USB-powered  Demonstrates PIC18 Family:  USB communication Microchip’s FREE USB bootloader and software framework Included CD with the Free C Compiler, Demo code, and User’s Guide # DM180021
Summary Microchip’s 8-bit products support a wide range of applications: from simple to very complex.  Microchip Offers Easy and Low Cost Hardware/Software Solutions Low Cost Starter Kits Free Lite C compilers Microchip meets Nick’s needs as a ONE STOP SHOP for his watering application.
Additional Resource For ordering 8-bit PIC MCUs, please click the part list or Call our sales hotline For more product information go to 8-bit PIC Microcontroller Visit Element 14 to post your question   www.element-14.com For additional inquires contact our technical service hotline or even use our “Live Technical Chat” online facility Newark Farnell

More Related Content

What's hot (20)

PPT
Uart
sean chen
 
PPTX
Cisco ASA Firewalls
Bryley Systems Inc.
 
PPTX
Interrupts in 8051
Sudhanshu Janwadkar
 
PDF
UVM Methodology Tutorial
Arrow Devices
 
PDF
IRJET- Design and Verification of APB Protocol by using System Verilog and Un...
IRJET Journal
 
PPTX
Module 1: ConfD Technical Introduction
Tail-f Systems
 
PPTX
EMEA Airheads- Virtual Switching Framework- Aruba OS Switch
Aruba, a Hewlett Packard Enterprise company
 
PPTX
Virtual LAN
Lilesh Pathe
 
PDF
Interfaz java y arduino
Ángel Acaymo M. G.
 
PPT
80286 microprocessor
Avin Mathew
 
PPTX
Tutorial: Using GoBGP as an IXP connecting router
Shu Sugimoto
 
PPTX
NETCONF YANG tutorial
Tail-f Systems
 
PPTX
Interrupts of microprocessor 8085
mujeebkhanelectronic
 
PPTX
Network monitoring system
MyPresentations Services
 
PPTX
Routing Presentation
Mohsin Ali
 
PDF
Mikrotik Load Balancing with PCC
GLC Networks
 
PPT
SPI Bus Protocol
Sudhanshu Janwadkar
 
PPTX
Timer counter in arm7(lpc2148)
Aarav Soni
 
PPT
Chapter 5
Muhammad Saqib
 
Uart
sean chen
 
Cisco ASA Firewalls
Bryley Systems Inc.
 
Interrupts in 8051
Sudhanshu Janwadkar
 
UVM Methodology Tutorial
Arrow Devices
 
IRJET- Design and Verification of APB Protocol by using System Verilog and Un...
IRJET Journal
 
Module 1: ConfD Technical Introduction
Tail-f Systems
 
EMEA Airheads- Virtual Switching Framework- Aruba OS Switch
Aruba, a Hewlett Packard Enterprise company
 
Virtual LAN
Lilesh Pathe
 
Interfaz java y arduino
Ángel Acaymo M. G.
 
80286 microprocessor
Avin Mathew
 
Tutorial: Using GoBGP as an IXP connecting router
Shu Sugimoto
 
NETCONF YANG tutorial
Tail-f Systems
 
Interrupts of microprocessor 8085
mujeebkhanelectronic
 
Network monitoring system
MyPresentations Services
 
Routing Presentation
Mohsin Ali
 
Mikrotik Load Balancing with PCC
GLC Networks
 
SPI Bus Protocol
Sudhanshu Janwadkar
 
Timer counter in arm7(lpc2148)
Aarav Soni
 
Chapter 5
Muhammad Saqib
 

Viewers also liked (20)

PPTX
PIC-MICROCONTROLLER TUTORIALS FOR BEGINNERS
VISHNU KP
 
PPT
PIC18F2XK20/4XK20 8-Bit Microcontroller Family
Premier Farnell
 
PDF
PIC CONTROLLERS
Tanmay Bakshi
 
PDF
PWM control of LED-diodes on the MSP430x series development board
Jovan Vlajic
 
PDF
Design and development of microcontroller in car industry
Jovan Vlajic
 
PPS
Projek rekabentuk
mkazree
 
PPTX
Pic microcontroller [autosaved] [autosaved]
gauravholani
 
PDF
Projek rekabentuk1
mkazree
 
PPT
Chp5 pic microcontroller instruction set copy
mkazree
 
PPT
ARM Micro-controller
Ravikumar Tiwari
 
DOC
rekabentruk berbantu komputer Lab 4
mkazree
 
PPTX
PIC introduction + mapping
OsaMa Hasan
 
PPTX
Automatic Door Control using LM35 Sensor
Aghnia Rusydah
 
PPTX
Temperature Sensor using LM35 and LCD Display on Arduino
Wildan Rahman
 
DOCX
Password based door locksystem
UVSofts Technologies
 
PDF
Lab 3 microcontroller
mkazree
 
PDF
Lab 6 microcontroller
mkazree
 
PDF
Lab 5 microcontroller
mkazree
 
PDF
Lab 4 microcontroller
mkazree
 
PIC-MICROCONTROLLER TUTORIALS FOR BEGINNERS
VISHNU KP
 
PIC18F2XK20/4XK20 8-Bit Microcontroller Family
Premier Farnell
 
PIC CONTROLLERS
Tanmay Bakshi
 
PWM control of LED-diodes on the MSP430x series development board
Jovan Vlajic
 
Design and development of microcontroller in car industry
Jovan Vlajic
 
Projek rekabentuk
mkazree
 
Pic microcontroller [autosaved] [autosaved]
gauravholani
 
Projek rekabentuk1
mkazree
 
Chp5 pic microcontroller instruction set copy
mkazree
 
ARM Micro-controller
Ravikumar Tiwari
 
rekabentruk berbantu komputer Lab 4
mkazree
 
PIC introduction + mapping
OsaMa Hasan
 
Automatic Door Control using LM35 Sensor
Aghnia Rusydah
 
Temperature Sensor using LM35 and LCD Display on Arduino
Wildan Rahman
 
Password based door locksystem
UVSofts Technologies
 
Lab 3 microcontroller
mkazree
 
Lab 6 microcontroller
mkazree
 
Lab 5 microcontroller
mkazree
 
Lab 4 microcontroller
mkazree
 
Ad

Similar to 8-bit PIC Microcontrollers (20)

PPT
Microchip's 16-bit and 32-bit PIC MCUs
Premier Farnell
 
PPT
PIC18 J-Series Microcontrollers
Premier Farnell
 
PPT
Introduction to nanoWatt XLP: PIC18F46J50
Premier Farnell
 
PPT
MC9RS08KA8/4 Introduction
Premier Farnell
 
PDF
PIC Microcontrollers: Powering Versatile Embedded Solutions"
aadithyaaa2005
 
PPT
Introduction2_PIC.ppt
AakashRawat35
 
PPTX
Chapter 1 Introductuon to Microcontrollers_2023.pptx
huypmg22git
 
DOC
Pic microcontrollers
G.Ramachandran M.Tech
 
PPT
Introduction to the 16-bit PIC24F Microcontroller Family
Premier Farnell
 
PDF
Pic16f877a microcontroller based projects list _ PIC Microcontroller.pdf
Ismailkhan77481
 
PDF
8 bit microcontroller
محمدعبد الحى
 
PDF
datasheet.pdf
nesrinetaamallah
 
PDF
Lecture 5-Embedde.pdf
BlackHunter13
 
PDF
Datasheet
Aldhair Tlv
 
PPT
MPLAB Starter Kit for PIC18F MCUs
Premier Farnell
 
PPT
8051 Presentation
Sayan Chakraborty
 
PPT
PICPICPICPICPICPICPICPICPICPICPICPIC .ppt
DrHamdyMMousa
 
PDF
Pic18f4550 microcontroller based projects _ PIC Microcontroller.pdf
Ismailkhan77481
 
PDF
Pic16f877a microcontroller based projects list _ PIC Microcontroller.pdf
Ismailkhan77481
 
PDF
PIC18F458_Ritula Thakur.pptx.pdf
AvinashJain66
 
Microchip's 16-bit and 32-bit PIC MCUs
Premier Farnell
 
PIC18 J-Series Microcontrollers
Premier Farnell
 
Introduction to nanoWatt XLP: PIC18F46J50
Premier Farnell
 
MC9RS08KA8/4 Introduction
Premier Farnell
 
PIC Microcontrollers: Powering Versatile Embedded Solutions"
aadithyaaa2005
 
Introduction2_PIC.ppt
AakashRawat35
 
Chapter 1 Introductuon to Microcontrollers_2023.pptx
huypmg22git
 
Pic microcontrollers
G.Ramachandran M.Tech
 
Introduction to the 16-bit PIC24F Microcontroller Family
Premier Farnell
 
Pic16f877a microcontroller based projects list _ PIC Microcontroller.pdf
Ismailkhan77481
 
8 bit microcontroller
محمدعبد الحى
 
datasheet.pdf
nesrinetaamallah
 
Lecture 5-Embedde.pdf
BlackHunter13
 
Datasheet
Aldhair Tlv
 
MPLAB Starter Kit for PIC18F MCUs
Premier Farnell
 
8051 Presentation
Sayan Chakraborty
 
PICPICPICPICPICPICPICPICPICPICPICPIC .ppt
DrHamdyMMousa
 
Pic18f4550 microcontroller based projects _ PIC Microcontroller.pdf
Ismailkhan77481
 
Pic16f877a microcontroller based projects list _ PIC Microcontroller.pdf
Ismailkhan77481
 
PIC18F458_Ritula Thakur.pptx.pdf
AvinashJain66
 
Ad

More from Premier Farnell (20)

PPT
Being a business assistant with element14 in krakow
Premier Farnell
 
PPT
Optical Encoders
Premier Farnell
 
PPT
PSA-T Series Spectrum Analyser: PSA1301T/ PSA2701T
Premier Farnell
 
PPT
TPS2492/93 – High Voltage Hotswap Controller
Premier Farnell
 
PPT
Stellaris® 9000 Family of ARM® Cortex™-M3
Premier Farnell
 
PPT
Piccolo F2806x Microcontrollers
Premier Farnell
 
PPT
Introduce to AM37x Sitara™ Processors
Premier Farnell
 
PPT
ETRX3 ZigBee Module: ETRX3
Premier Farnell
 
PPT
DMM4000 Benchtop Digital Multimeters
Premier Farnell
 
PPT
Discovering Board for STM8L15x MCUs
Premier Farnell
 
PPT
Yaw-rate Gyroscopes
Premier Farnell
 
PPT
An Overview Study on MEMS digital output motion sensor: LIS331DLH
Premier Farnell
 
PPT
LED Solar Garden Lighting Solution From STMicroelectronics
Premier Farnell
 
PPT
Solution on Handheld Signal Generator
Premier Farnell
 
PPT
Medium Performance Gyroscopes
Premier Farnell
 
PPT
Getting to Know the R8C/2A, 2B Group MCUs
Premier Farnell
 
PPT
SEARAY™ Open Pin Field Interconnects
Premier Farnell
 
PPT
PWM Controller for Power Supplies
Premier Farnell
 
PPT
Handheld Point of Sale Terminal
Premier Farnell
 
PPT
Reflective Optical Switch: SFH774X
Premier Farnell
 
Being a business assistant with element14 in krakow
Premier Farnell
 
Optical Encoders
Premier Farnell
 
PSA-T Series Spectrum Analyser: PSA1301T/ PSA2701T
Premier Farnell
 
TPS2492/93 – High Voltage Hotswap Controller
Premier Farnell
 
Stellaris® 9000 Family of ARM® Cortex™-M3
Premier Farnell
 
Piccolo F2806x Microcontrollers
Premier Farnell
 
Introduce to AM37x Sitara™ Processors
Premier Farnell
 
ETRX3 ZigBee Module: ETRX3
Premier Farnell
 
DMM4000 Benchtop Digital Multimeters
Premier Farnell
 
Discovering Board for STM8L15x MCUs
Premier Farnell
 
Yaw-rate Gyroscopes
Premier Farnell
 
An Overview Study on MEMS digital output motion sensor: LIS331DLH
Premier Farnell
 
LED Solar Garden Lighting Solution From STMicroelectronics
Premier Farnell
 
Solution on Handheld Signal Generator
Premier Farnell
 
Medium Performance Gyroscopes
Premier Farnell
 
Getting to Know the R8C/2A, 2B Group MCUs
Premier Farnell
 
SEARAY™ Open Pin Field Interconnects
Premier Farnell
 
PWM Controller for Power Supplies
Premier Farnell
 
Handheld Point of Sale Terminal
Premier Farnell
 
Reflective Optical Switch: SFH774X
Premier Farnell
 

Recently uploaded (20)

PPTX
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
PDF
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
PDF
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
Staying Human in a Machine- Accelerated World
Catalin Jora
 
PPTX
Digital Circuits, important subject in CS
contactparinay1
 
PDF
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PPTX
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
PDF
SIZING YOUR AIR CONDITIONER---A PRACTICAL GUIDE.pdf
Muhammad Rizwan Akram
 
PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
PDF
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
PDF
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
PPTX
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
Staying Human in a Machine- Accelerated World
Catalin Jora
 
Digital Circuits, important subject in CS
contactparinay1
 
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
SIZING YOUR AIR CONDITIONER---A PRACTICAL GUIDE.pdf
Muhammad Rizwan Akram
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 

8-bit PIC Microcontrollers

  • 1. 8-bit PIC ® Microcontrollers Source: M ICROCHIP
  • 2. Introduction Purpose To introduce Microchip’s 8-bit PIC microcontrollers. Outline Choose the right 8-bit PIC MCUs for the Embedded Application Kit contents PIC10F & PIC12F overview PIC16F overview PIC18F overview Development tools Content 25 pages
  • 3. Application Example Nick waters his Garden: Every Morning For 10 minutes Repeat everyday
  • 4. Nick’s Challenge Automate: Vacation Lazy Need: Sun Detector Valve Opener Timer
  • 5. Replace Nick with PIC TMR1 Input Output Light Detector PIC Water Valve Control
  • 6. PIC10F/12F Family 5 MIPS 8-bit Core 8b ALU 1 x 8b W Register 64 – 128 B Data Memory Memory Bus .5 - 2 KB Flash Memory 64 - 256 B EEPROM Peripheral Bus WDT & Pwr Mgmt. 6 - 8-pin Packages (1)8b Timers INTRC 8Mhz Interrupt Control (4)10b ADC (1) Comparators Output Compare/PWM Input Capture
  • 7. PIC 10F/12F Products Low pin count and small form factor 6 pin PIC10 – SOT23 & DFN Pkg 8 pin PIC12 – SOIC & DFN Pkg Internal 4 & 8Mhz Oscillator 10-bit A/D converter and Comparator Output Drivers Low Voltage and Power Operation Flexible program & data memory 2k Flash 128 RAM 256 EEPROM
  • 8. Nick’s Wife Wants Summer Crops! Challenge: Varying amount of water Varying frequency of watering Alternative: Use several units of our first design Solution: Build a Programmable Unit
  • 9. Programmable Re-Design TMR1 Input Output Light Detector PIC Water Valve Control 8 8
  • 10. Programmable Unit Requirements: LCD display and Keypad Multiple Outputs Analog inputs for sensor interface Interface to PC – RS232 or USB
  • 11. PIC16F Family 5 MIPS 8-bit Core 8b ALU 1 x 8b W Register 64 – 368 B Data Memory Memory Bus .5 - 14 KB Flash Memory 64 - 256 B EEPROM Peripheral Bus WDT & Pwr Mgmt. 18 - 64-pin Packages UART w/LIN SPI (2)8b/16b Timers INTRC 16Mhz Interrupt Control I 2 C™ (14ch)10b ADC Output Compare/PWM Input Capture (2) Comparators nanoWatt XLP
  • 12. PIC16F Products 14 – 64 pins in DIP to QFN pkgs More than 75 products @ 20Mhz 14K Flash; 384 RAM; 256 EEPROM 10-bit ADC, Op Amp, Vref & Comparators UART, SPI, I2C and USB SR Latch, Capture, Compare and PWM Keeloq, Cap Sense LCD Drivers
  • 13. Enhanced PIC16F1XXX Products 18 – 64 Pins pin compatible 10 Products @ 32Mhz 28k Flash; 1k RAM; 256 EEprom 10-bit ADC and Comparators 2 x UART, 2 x SPI and I2C Capture, Compare and PWM LCD Drivers Faster Larger More
  • 14. Nick controls Watering remotely using Internet TMR1 Input Output Light Detector PIC Water Valve Control 8 8
  • 15. Nick controls Watering remotely using Internet TMR1 Input Output Light Detector PIC Water Valve Control 8 8
  • 16. PIC18 Family 10 MIPS 8-bit Core 8-bit ALU Register File 16 bit 8 x 8 MPY Address Generation Barrel Shifter Memory Bus 4 - 128 KB Flash 0.25 - 4 KB RAM Peripheral Bus Interrupt Control PIC18F Core 40 - 64MHz 10 - 16 MIPS 8-bit ALU Register File 8 bit 8 x 8 MPY 2MB Address Space 0 - 1 KB EEPROM Peripheral Pin Select Real Time Clk Calendar Ethernet MAC/PHY CAN Charge Time Meas Unit USB 18 – 100 pin packages UART with LIN - 2 SPI / I 2 C TM - 2 Capture / Compare PWMs 8/16-bit Timers – 2/3 Watchdog Timer Comparators - 2 ADC, 10/12-bit, 16 ch. nanoWatt XLP Low Power Resources
  • 17. PIC18F Products 8-bit devices @ 10-16 MIPS >165 products; 18 - 100 pins Up to 128 KB Flash, 4 KB RAM, 1KB EEPROM Advanced Peripherals USB, Ethernet, CAN 10 & 12-bit ADCs Charge Time Measurement Unit Integrated LCD Drivers Peripheral Pin Select
  • 18. Debug Tools New tools provide a choice to customers Top end: MPLAB REAL ICE http://www.microchip.com/realice High performance More features, more options Middle of the road: MPLAB ICD3 http://www.microchip.com/ICD3 High performance Some key functional features provided Low end: PICkit3 Debug Express http://www.microchip.com/Pickit3 Lower performance Less features
  • 19. Starter Kits Starter Kits for all Families Includes debugger Low Cost Easy evaluation of Part MPLAB IDE required Most bundled with C Compiler
  • 20. PICKIT 2 Starter Kit Low pin count demo board supporting 8/14/20-pin mid range PIC microcontrollers 20-pin PIC16F690 Midrange microcontroller 12 Lessons on assembly programming: I/O, A/D converters, timers, interrupts, and data tables Getting Started in PICBASIC PRO tutorial developing and debugging in BASIC. FREE microEngineering Labs PICBASIC PRO™ Demo Compiler HI-TECH PICC™ LITE C Compiler with MPLAB IDE. FREE! Microchip’s MPLAB IDE software for a complete code development environment PICKIT™ 2 Starter Kit Part# DV164120
  • 21. PICKit 3 Debug Express PICkit 3 Debugger/Programmer 44-pin demo board with a PIC18F45k20 microcontroller All hookup cables PICkit 3 User’s Guide 12 Lessons on assembly programming: I/O, A/D converters, timers, interrupts, and data tables Debugging Tutorial using PICkit 3 as a debugger with MPLAB IDE A FREE CCS compiler for the PIC18F45k20 HI-TECH PICC™ LITE C Compiler Microchip’s MPLAB IDE software for a complete code development environment PICKIT™ 3 Debugger Express Part# DV164131
  • 22. PIC18F4xK20 Starter Kit PICkit 2 Development Programmer/Debugger PIC18F4XK20 Starter Kit board with PIC18F46K20 MCU and OLED display. 12 Lessons on using the MPLAB IDE with PICkit 2 Programmer/Debugger MPLAB C Compiler for PIC18 MCUs to program and use PIC18F4xK20 MCUs and peripherals Demo programs and source code. FREE! Microchip’s MPLAB IDE PIC18F4xK20 Starter Kit Part #DM164124
  • 23. PIC18 Starter Kit Functions as a USB mouse, joystick or mass storage device all using the on-board capacitive touch sense pads Includes a MicroSD ™ memory card, potentiometer, acceleration sensor, and OLED display On-board debugger/programming Completely USB-powered Demonstrates PIC18 Family:  USB communication Microchip’s FREE USB bootloader and software framework Included CD with the Free C Compiler, Demo code, and User’s Guide # DM180021
  • 24. Summary Microchip’s 8-bit products support a wide range of applications: from simple to very complex. Microchip Offers Easy and Low Cost Hardware/Software Solutions Low Cost Starter Kits Free Lite C compilers Microchip meets Nick’s needs as a ONE STOP SHOP for his watering application.
  • 25. Additional Resource For ordering 8-bit PIC MCUs, please click the part list or Call our sales hotline For more product information go to 8-bit PIC Microcontroller Visit Element 14 to post your question www.element-14.com For additional inquires contact our technical service hotline or even use our “Live Technical Chat” online facility Newark Farnell

Editor's Notes

  • #2: Welcome to the training module on 8-bit PIC ® Microcontrollers.
  • #3: This training module will introduce Microchip’s 8-bit PIC microcontrollers.
  • #4: To help you understand Microchip’s product line, let us use a very common application example. In this example we have Nick watering his garden every day. Every morning Nick wakes up and waters his garden for about 10 minutes. This he repeats every day.
  • #5: Well the challenge Nick has is what if he were to go on a vacation or fell ill or was just lazy one morning. Wouldn’t it be nice if he could replace himself with an automated system which would do the same function every day? All he needs is a sun detector, a valve opener/closer to allow for water control and a timer to do the 10 minute watering.
  • #6: If we replace Nick with a PIC MCU, then here is what it would look like. In this example a simple PIC MCU with one input for the light detector and one output for a water valve control is all that is needed as Input/Output. An internally timer is included inside the PIC to keep track of time. The light detector detects the sunrise, the valve is then opened for 10 minutes after which it is shut. This can be repeated every day with no intervention from Nick.
  • #7: For this simple application the ideal part would be from the PIC10/12 product line. These PICs are 6 and 8 pin devices which have very small footprints are low cost, easy to program and have enough I/O, program and data memory to accomplish simple tasks. As shown in this block diagram they have ½ to 2 k bytes of flash program memory, up to 128 bytes of ram and 256 bytes of EEPROM. They all have 4 and/or 8 MHz internal oscillators and some have a 10-bit ADC on them along with Comparators, input capture and output compare PWM. These parts can be programmed using C.
  • #8: These families offer low pin count and small form factor. Packaged in either a 2x3 DFN or 6-pin SOT-23, the families both provide a 4MHz & 8MHz internal oscillator in addition to an integrated analog comparator, 10-bit ADC, Input Capture and output PWM. 16 products are available with 2kbytes of flash, 128 bytes of ram and 256 bytes of EEPROM.
  • #9: Coming back to our example of Nick and his garden watering system. Let us provide a new challenge to Nick. Nick’s wife wants to add summer crops to the garden. Nick now has to take care of new issues to the simple 10 minute water system that he initially built. Summer crops need different watering amounts and watering at different times of the day. One way he could solve this issue is to build many of his simple systems to take care of each summer crop. Alternatively he could re-design his system and build a programmable Unit which will take care of all the watering schemes need.
  • #10: A typical programmable unit would need a keypad to do data entry. A LCD to view the data entry. It would still need a light detector and valve control unit like the simple system that Nick designed. It could include a serial interface connected to a computer, which would make programming the system easy.
  • #11: In a bullet format he now needs an LCD display and keypad. Many more outputs and inputs to handle more external interfaces. He requires analog inputs to interface to light, humidity and other sensors and finally he need a serial interface like RS232 or USB. Obviously the PIC10/12 that Nick used previously will have to be upgraded to a bigger and large PIC.
  • #12: Which brings us to the PIC16F family of parts. The blocks in red are the one which have new and/or improved capability from the PIC10/12 family of parts. Here we will notice larger flash, data and EEPROM memory, the core remains more or less the same but they have more serial interfaces like UARTs, I2C, SPI, larger package devices up to 64 pins and more timers and other peripherals. Some PIC16F family products can also drive LCD glass directly. Lastly interrupt control is now available on this family to allow for quick response to external events or actions.
  • #13: This family is available in larger pin count devices up to 64 pins and more than 75 products running at speeds of 20 MHz. These MCUs offer more flash, RAM and EEPROM. More analog inputs include internal op amps, comparators and A/D converters. These devices also feature various serial interfaces like UART, SPI, I2C and USB, digital input/output controls like Capture, Compare and PWMs, direct LCD drivers. All PIC16F family parts can be programmed using C. With all these capabilities Nick can easily build a programmable waters system.
  • #14: A latest addition to the PIC16F family of parts is the Enhanced PIC16F Product line. The improvements include 10 new products with larger pin count and running faster at 32 MHz. Larger flash and RAM for larger programs and programming using C. More peripherals like dual UARTs, dual SPI and dual I2C. With most new designs being written mainly in C the new enhanced PIC16F devices have been re-designed to meet the larger program needs and run faster. If for some reason Nick ran out of space for his programmable system he could easily move to the enhanced PIC16F family and get more flash, and RAM for his program. Please note the enhanced core Is identified by the 1XXX after the PIC16F.
  • #15: Back to our application example with Nick’s water system. Let us now offer another challenge to Nick.
  • #16: What if Nick wants to now connect his system to the internet and monitor his water system remotely when he is working. Well most of the other peripherals would remain the same that is the keypad, LCD, input and output sensors interfaces etc. Now he has to add internet connectivity to his system. Does he need to upgrade his system?
  • #17: In order to meet the connectivity requirement, let us now introduce the PIC18 Family of products. Again the changes are all highlighted in red blocks. First connectivity to the internet is not trivial so more flash and data memory is now available to accommodate that requirement. The core itself has been improved to include a faster CPU running up to 16 MIPS for faster operation. Larger pin count up to 100 pins devices are available. Additional peripherals like USB, ethernet and CAN are now included in this family. A new module called the charge time measurement unit or CTMU has also been added. The CTMU is a Microchip patented peripheral which allows a designer to measure small changes in capacitance and time and also generate short pulses. Lastly a peripheral pin select peripheral has been added which allows a designer to re-configure digital peripherals to different pin on the device.
  • #18: PIC18 has more than 165 products with large flash and RAM for bigger programs and larger applications written using C. These devices feature advanced peripherals like USB, Ethernet and Can, higher resolution ADC up to 12-bits, new Charge time measurement unit or CTMU, integrated LCD drivers to drive glass directly, peripherals pin select peripherals which can reconfigure digital input/output to different pins on the device. With such a device Nick can now build his programmable watering system and connect to the internet to monitor his watering system.
  • #19: Now let us look at what hardware tools are available from microchip to help you accelerate your design. Depending on the complexity of your application you have a three tier solution for selecting a debugger. The top of the line debugger from Microchip is the MPLAB Real Ice. This is a high performance real time debugger with unlimited debugging capability and real time data monitoring features. The middle of the road solution is the MPLAB ICD3. This debugger offers limited debugging and real time data monitoring features. At the low end of the spectrum is the PICkit 3 debug express which is Microchip’s entry level debugger. For a simple application like Nick’s first watering system, Nick could very easily have used the Debug Express. For his next design where he built a programmable watering system he would be wise to choose the ICD3 and for his complex ethernet connectivity design he would have done well to choose the Real Ice debugger.
  • #20: In order to jump start the hardware platform for your design, Microchip offer a whole list of starter kits. The most important feature offered in a starter kit is that a debugger is included as part of the starter kit. The starter kit is low cost and has some hardware and prototyping area for a customer to evaluate a PIC product. All starter kits are supported on MPLAB and most are bundled with a C compiler making it easy for the end user to program and evaluate the PIC device.
  • #21: The first starter kit is the PICkit 2 starter kit. This comes with a PICkit 2 debugger a demo board for 8, 14 and 20 pin count PIC16F devices, 12 lessons to easily learn how to program the part provided which is a PIC16F690 device. A lite version of the Hi-tech C compiler and MPLAB IDE. This would be an ideal starter kit for Nick to begin development on his first simple watering system.
  • #22: A slight upgrade to the PICkit2 starter kit is the PICkit 3 starter kit. Microchip’s PICkit 3 In-Circuit Debugger/Programmer uses in-circuit debugging logic incorporated into each chip with Flash memory to provide a low-cost hardware debugger and programmer. Again tutorials and lessons to program this part are provided along with a lite version of the C compiler. This would be a good starter kit for Nick to use in his programmable watering system.
  • #23: Another starter kit which would help Nick design his programmable unit would be the PIC18F4xK20 starter kit. This demo board comes with a OLED display. Again it has the lessons and demos as well as the C compiler bundled with board.
  • #24: For connectivity related application the PIC18 Starter Kit is a very good option. The debugger comes built on the board and is powered by the USB cable to the PC. A OLED display is available along with cap touch keys built on the demo board. Full demos on USB connectivity are available for this board and it shipped with a free C compiler. This would be ideal for Nick to design his programmable watering system with connectivity using USB.
  • #25: In summary Microchip offers a wide range of 8-bit products from simple to very complex. Microchip offers easy and low cost hardware and software solutions in low cost starter kits and free c compilers for easy code and application development. Finally Microchip meets Nick’s needs as a one stop for his plant watering application.
  • #26: Thank you for taking the time to view this presentation on “ 8-bit PIC ® Microcontrollers ” . If you would like to learn more or go on to purchase some of these devices, you may either click on the part list link, or simply call our sales hotline. For more technical information you may either visit the MICROCHIP site, or if you would prefer to speak to someone live, please call our hotline number, or even use our ‘live chat’ online facility. You may visit Element 14 e-community to post your questions.