Essential PIC Guide: PIC12, PIC16 & PIC18 Deep Dive

Welcome to this tutorial where we explore the main variants of the PIC microcontrollerIntroduction to PIC: Exploring the Basics of Microcontroller ArchitectureIntroduction to PIC: Exploring the Basics of Microcontroller ArchitectureExplore the core principles of PIC microcontroller architecture, including Harvard design, RISC processing, and efficient memory organization. family. By the end of this reading, you will be able to identify the unique characteristics of the PIC12, PIC16, and PIC18 series, as well as understand how Microchip’s expanded offerings-often referred to as the “beyond” range-have evolved to meet complex needs in modern applications.

A Brief Overview of PIC Microcontroller Families🔗

PIC microcontrollersIntroduction to PIC: Exploring the Basics of Microcontroller ArchitectureIntroduction to PIC: Exploring the Basics of Microcontroller ArchitectureExplore the core principles of PIC microcontroller architecture, including Harvard design, RISC processing, and efficient memory organization. are widely known for their compactness, robustness, and ease of use. Each family in the PIC line has been created to address different performance, memory, and peripheral requirements. Here is a shortened list of the major families:

  • PIC12: Ultra-small footprint MCUs, typically 8-pin packages.
  • PIC16: Popular 8-bit MCUs offering a balance of capability and simplicity.
  • PIC18: Higher-end 8-bit MCUs with more performance and richer feature sets.
  • Beyond: Includes newer and more powerful devices such as the 16-bit PIC24 and dsPIC Digital Signal Controllers, and the 32-bit PIC32 line.

Although all PIC families share a common heritage, each has distinct specifications for instruction sets, memory sizes, peripheral options, and clock speeds.

PIC12: Compact Size and Surprising Versatility🔗

The PIC12 family represents some of the smallest 8-bit microcontrollers in Microchip’s portfolio. These MCUs typically have:

PIC12 MCUs are found in designs like small sensor controllers, single-button interfaces, or any application requiring a minimal number of I/O pins. Despite their size, they still inherit core PIC features such as an internal oscillator, watchdog timerLow-Power Strategies: Maximizing PIC Battery LifeLow-Power Strategies: Maximizing PIC Battery LifeDiscover proven low-power strategies for PIC microcontrollers that maximize battery life through smart oscillator use, sleep modes, and efficient coding., and multiple reset options.

PIC16: The World’s Workhorse 8-bit MCU🔗

Often considered the most popular family within Microchip’s lineup, PIC16 microcontrollers strike a balance between resources and complexity. Key characteristics include:

With a wide device selection, PIC16 is the go-to solution for countless embedded systems: from automotive sensorsAnalog-to-Digital Conversion: Connecting Sensors to PICAnalog-to-Digital Conversion: Connecting Sensors to PICExplore our step-by-step PIC microcontroller ADC tutorial, including sensor interfacing techniques and C code examples to achieve accurate conversions. and thermostats to household appliances and LED lighting controls.

PIC18: High-End 8-bit Performance🔗

At the top of the 8-bit range stands the PIC18 family. These MCUs are designed for applications that demand both performance and large memory space, but still in an 8-bit architecture. Their notable features are:

PIC18 devices are typically used in applications that need real-timeImplementing Interrupt-Driven Systems for Real-Time ApplicationsImplementing Interrupt-Driven Systems for Real-Time ApplicationsLearn to configure and optimize PIC microcontroller interrupts for real-time performance. Enhance responsiveness and efficiency using best practices. data handling, somewhat complex calculations, or multiple serial interfaces running simultaneously.

Going Beyond: PIC24, dsPIC, and PIC32🔗

Microchip’s roadmap continues past the 8-bit domain. While in-depth coverage of these advanced families appears in separate discussions, here is a quick glimpse:

  • PIC24: These 16-bit MCUs feature a more powerful CPU core and enhanced addressing capabilities.
  • dsPIC: Digital Signal Controllers that bridge the gap between microcontrollers and DSPs, ideal for motor control and signal processing.
  • PIC32: A 32-bit series using the MIPS core, bringing higher performance and larger memory for sophisticated applications.

Knowing how the cornerstone 8-bit families (PIC12, PIC16, PIC18) fit into Microchip’s complete lineup helps engineers and hobbyists choose the right device for their project’s complexity and resource demands.

Example Comparison Table🔗

Below is a brief comparison of some general specs across these key families (for illustration only, as actual specs vary by device):

FamilyCore TypeTypical Memory RangeMax ClockPin Count RangeNotable Applications
PIC128-bitUp to ~3 KB Program~8 MHz Int.6–8 pinsSimple IO controllers, miniature sensor systems
PIC168-bitUp to ~56 KB ProgramUp to ~32 MHz8–64+ pinsHousehold appliances, consumer electronics, LED drivers
PIC188-bit (Enhanced)Up to ~128 KB ProgramUp to 64 MHz (PLL)18–80+ pinsIndustrial control, motor control, real-time data logging

Conclusion🔗

Choosing the correct PIC family variant often comes down to application requirements such as processing speed, memory capacity, peripheral integration, and power constraints. The PIC12 and PIC16 families cater to smaller tasks and moderate complexity, respectively, while the PIC18 family brings more robust capabilities to 8-bit design. Meanwhile, Microchip’s extended lines of 16-bit and 32-bit devices (PIC24, dsPIC, PIC32) further expand the possibilities for higher performance and advanced features.

Understanding these distinctions will help you select the most appropriate PIC device and ensure a smoother, more cost-effective development process. With your newfound insight into the PIC12, PIC16, PIC18, and other families, you are now better equipped to evaluate which MCU is tailor-made for your embedded project needs.

Author: Marcelo V. Souza - Engenheiro de Sistemas e Entusiasta em IoT e Desenvolvimento de Software, com foco em inovação tecnológica.

References🔗

  • Microchip - Documentação oficial e guias de referência para PIC Microcontrollers: www.microchip.com
  • Peatman, John B. - 'Design with PIC Microcontrollers': www.pearson.com

Share article