EmbeddedRelated.com
Jacob Beningo
Live online course · Jacob Beningo
AI for Embedded Developers
$100 off for EmbeddedRelated readers until Nov 1 · 5 live sessions, Dec 7-11
Discount ends in
15days 05hrs 03min 16sec
Learn More →
PIC16F18313-I/P

MCHPPIC16F18313-I/P

Microchip Technology
PIC PIC® XLP™ 16F Microcontroller IC 8-Bit 32MHz 3.5KB (2K x 14) FLASH 8-PDIP
Active2,619 in stock

Overview

The PIC16F18313-I/P is a compact 8-bit microcontroller from the PIC16 Enhanced Mid-range family, featuring Core Independent Peripherals (CIPs) in a space-saving 8-pin PDIP package. Operating at up to 32MHz, it integrates XLP (eXtreme Low Power) technology for high efficiency in battery-constrained applications. This MCU includes 3.5KB of Flash and a suite of flexible peripherals including a Configurable Logic Cell (CLC) and Peripheral Pin Select (PPS).

Why Choose This Part

This microcontroller stands out for its high level of peripheral integration in an 8-pin package, allowing for complex logic and analog functions without CPU overhead. Features like PPS provide significant routing flexibility, while XLP technology ensures minimal current draw during idle or sleep states.

Applications

Signal Conditioning
Utilizing the internal 10-bit ADC, 5-bit DAC, and dual comparators for processing analog sensor signals in industrial environments.
Simple Control Logic
Replacing discrete logic gates with the integrated Configurable Logic Cell (CLC) to reduce component count and PCB footprint.
Battery-Powered Sensors
Leveraging XLP modes and a low sleep current of 40nA for remote environmental monitoring and handheld devices.
Human Interface
Driving status LEDs or simple piezo buzzers using the Complementary Waveform Generator (CWG) and PWM modules.

Key Specifications

Speed 32MHz
RAM Size 256 x 8
Core Size 8-Bit
EEPROM Size 256 x 8
Peripherals Brown-out Detect/Reset, POR, PWM, WDT
Connectivity I2C, LINbus, SPI, UART/USART
Mounting Type Through Hole
Number of I/O 6
Core Processor PIC
Package / Case 8-DIP (0.300", 7.62mm)
Data Converters A/D 5x10b; D/A 1x5b
Oscillator Type Internal
Program Memory Size 3.5KB (2K x 14)
Program Memory Type FLASH
Operating Temperature -40degC ~ 85degC (TA)
Supplier Device Package 8-PDIP
Voltage - Supply (Vcc/Vdd) 2.3V ~ 5.5V

Getting Started

Development is primarily done using the MPLAB X IDE and the XC8 compiler, with the MPLAB Code Configurator (MCC) available to simplify peripheral setup. For hardware debugging and programming, a PICkit 4 or MPLAB Snap is recommended via the ICSP interface. Breadboard prototyping is straightforward thanks to the 8-pin PDIP through-hole package.

Part of PIC Microcontrollers family » PIC16F

PIC16F Family

Comparing specs that differ across variants. The current part is highlighted.

Part Number Flash RAM I/O Pins Package Speed ADC/DAC Stock
PIC16F18313-I/P (this part) 3.5K 256 x 8 6 DIP-8 32M A/D 5x10b; D/A 1x5b 2,619
PIC16F877A-I/P 14KB 368 x 8 33 DIP-40 20M A/D 8x10b 4,458
PIC16F15313T-I/SN 3.5K 256 x 8 6 SOIC-8 32M A/D 5x10b; D/A 1x5b 13,994
PIC16F1847-I/SO 14KB 1K 15 SOIC-18 32M A/D 12x10b 16,836
PIC16F18325-I/SL 14KB 1K 12 SOIC-14 32M A/D 11x10b; D/A 1x5b 49,474
PIC16F1503-I/SL 3.5K 128 x 8 11 SOIC-14 20M A/D 8x10b 16,676
PIC16F15344-I/SS 7KB 512 x 8 18 SSOP-20 32M A/D 17x10b; D/A 1x5b 6,279
PIC16F1824-E/SL 7KB 256 x 8 11 SOIC-14 32M A/D 8x10b 4,803
PIC16F15223-E/SL 3.5K 256 x 8 11 SOIC-14 32M A/D 9/2x10b 5,804
PIC16F18323-I/SL 3.5K 256 x 8 12 SOIC-14 32M A/D 11x10b; D/A 1x5b 4,053
PIC16F1503-I/ST 3.5K 128 x 8 11 TSSOP-14 20M A/D 8x10b 3,556
PIC16F15223T-I/SL 3.5K 256 x 8 11 SOIC-14 32M A/D 9/2x10b 12,790
PIC16F17124-E/ST 7KB 512 x 8 11 TSSOP-14 32M A/D 11x12b; D/A 2x8b 1,364
PIC16F17524-I/SL 7KB 512 x 8 11 SOIC-14 32M A/D 11x12b SAR; D/.. 1,795
PIC16F18323-E/ST 3.5K 256 x 8 12 TSSOP-14 32M A/D 11x10b; D/A 1x5b 770
PIC16F18346-I/SS 28KB 2K 18 SSOP-20 32M A/D 17x10b; D/A 1x5b 1,919
PIC16F18346-I/P 28KB 2K 18 DIP-20 32M A/D 17x10b; D/A 1x5b 1,576
PIC16F1574-I/SL 7KB 512 x 8 12 SOIC-14 32M A/D 8x10b; D/A 1x5b 1,451
PIC16F1823-I/P 3.5K 128 x 8 12 DIP-14 32M A/D 8x10b 1,637
PIC16F1454-I/SL 14KB 1K 8 SOIC-14 48M — 823
PIC16F1455-I/SL 14KB 1K 8 SOIC-14 48M A/D 5x10b; D/A 1x5b 1,721

Also Consider

ATtiny85 MCHPMicrochip Technology - A popular 8-pin alternative with 8KB of Flash and a strong community following for simple DIY projects.
STM8L051F3 STMicroelectronics - An 8-bit alternative offering a different peripheral set and low-power characteristics in a TSSOP-20 package.