Opens in a new tab

PIC16F677-I

8-bit PIC MCU, 3.5KB Flash, 128B RAM, 256B EEPROM, 12-ch 10-bit ADC, SPI/I2C, nanoWatt

6485

Effective Inventory

Image for reference only

Manufacturer Part:

PIC16F677-I

Package:

20-pin PDIP / SOIC / SSOP / QFN

Brand:

Quality Commitment

Shipping & Payment

Service & Packaging

Product Manual

Description

Product Overview

The PIC16F677-I is a 20-pin, 8-bit Flash-based CMOS microcontroller from Microchip Technology featuring a 12-channel 10-bit ADC and synchronous serial port (SSP) with SPI and I2C. Based on the Mid-Range PIC architecture with 35 instructions and an 8-level deep hardware stack, it offers 3.5KB (2K x 14 words) of Flash program memory, 128 bytes of RAM, and 256 bytes of data EEPROM. Operating at up to 20 MHz with a 200 ns instruction cycle, this MCU integrates a precision 8 MHz internal oscillator factory calibrated to ±1%, two analog comparators, and nanoWatt Technology for ultra-low power operation. With its rich analog and digital peripheral set in a compact 20-pin package, the PIC16F677 is ideal for sensor interfaces, industrial control, battery-powered monitoring systems, and consumer applications requiring analog-to-digital conversion and serial communication.

Key Specifications

Core Architecture 8-bit PIC (Mid-Range Core)
Program Memory 3.5KB Flash (2K x 14 words)
RAM 128 bytes
Data EEPROM 256 bytes
Maximum Speed 20 MHz (5 MIPS)
Operating Voltage 2.0V to 5.5V
I/O Pins 18
ADC 10-bit, 12 channels
Comparators 2
Timers 1 x 8-bit (TMR0) + 1 x 16-bit (TMR1)
PWM None (CCP available on higher variants)
Communication SPI, I2C (MSSP module)
Internal Oscillator 8 MHz (±1% factory calibrated)
Stack Levels 8
Operating Temperature -40°C to +85°C (Industrial)
Package 20-pin PDIP / SOIC / SSOP / QFN

Features

  • Mid-Range PIC architecture with 35 single-cycle instructions and 8-level stack
  • 12-channel 10-bit Analog-to-Digital Converter (ADC) with successive approximation
  • Master Synchronous Serial Port (MSSP) with SPI and I2C (7-bit address masking, SMBus/PMBus compatible)
  • Precision internal oscillator: 8 MHz factory calibrated to ±1%
  • Software selectable frequency range: 8 MHz to 32 kHz
  • Two analog comparators with programmable on-chip voltage reference (CVREF)
  • 256 bytes of data EEPROM for non-volatile parameter storage
  • nanoWatt Technology for ultra-low power consumption
  • Ultra Low-Power Wake-up (ULPW) on pin change
  • Enhanced Timer1 with gate sync latch and low-power oscillator option
  • Timer0: 8-bit timer/counter with 8-bit programmable prescaler
  • Power-on Reset (POR), Power-up Timer (PWRT), Oscillator Start-up Timer (OST)
  • Brown-out Reset (BOR) with software selectable trip points
  • Enhanced Watchdog Timer (WDT) with on-chip RC oscillator
  • In-Circuit Serial Programming (ICSP) via two pins
  • High current I/O pins: 25 mA sink/source per pin
  • Programmable code protection for program and data memory

Applications

  • Industrial sensor interfaces and data acquisition
  • Battery-powered monitoring systems and data loggers
  • Smart sensors with digital output (I2C/SPI)
  • Consumer electronics with analog sensing
  • Home automation and environmental monitoring
  • Medical devices and health monitors
  • Automotive sensor modules
Product Introduction: PIC16F677-I Product Introduction

The PIC16F677 is a 20-pin Flash-based 8-bit CMOS microcontroller from Microchip Technology, part of the PIC16F631/677/685/687/689/690 family. This mid-range member features a 12-channel 10-bit ADC and a Master Synchronous Serial Port (MSSP) supporting both SPI and I2C communication protocols. It offers 3.5KB (2K x 14 words) of Flash program memory, 128 bytes of RAM, and 256 bytes of data EEPROM. The MCU operates at up to 20 MHz with a 200 ns instruction cycle, delivering 5 MIPS of processing power. A precision internal oscillator operates at 8 MHz (factory calibrated to ±1%) with software-selectable division ratios down to 32 kHz, eliminating external crystals in most applications. The 10-bit ADC with 12 channels enables multi-channel analog sensing, while the MSSP module provides flexible serial connectivity for sensor interfaces and communication with other devices. Two analog comparators with programmable voltage reference add additional analog signal processing capability. With nanoWatt Technology providing multiple power-saving modes including Ultra Low-Power Wake-up (ULPW), the PIC16F677 is well-suited for battery-powered sensor applications. Available in PDIP, SOIC, SSOP, and QFN packages with industrial temperature range (-40°C to +85°C).

Working Principle: PIC16F677-I Working Principle

The PIC16F677 operates on a Mid-Range PIC RISC core with a Harvard architecture, providing separate buses for 14-bit program memory and 8-bit data memory. Most of the 35 instructions execute in a single clock cycle, with an 8-level deep hardware stack supporting subroutine nesting. The 10-bit ADC uses a successive approximation register (SAR) architecture to convert analog voltages from any of 12 input channels to digital values. It features a programmable acquisition time and can operate in Sleep mode for low-power sampling. The Master Synchronous Serial Port (MSSP) module handles both SPI (Master/Slave) and I2C (Master/Slave) communication in hardware, with 7-bit address masking for I2C and SMBus/PMBus compatibility. The internal oscillator module generates a stable 8 MHz clock with software-selectable post-scaler division ratios for flexible power/performance trade-offs. Two analog comparators with a Comparator Voltage Reference (CVREF) module provide programmable threshold detection capabilities. Timer0 is an 8-bit timer/counter with 8-bit prescaler, while Timer1 is a 16-bit timer/counter with gate control, optional low-power 32 kHz oscillator, and gate sync latch for precise measurement of external signals. Power management includes multiple sleep modes, Brown-out Reset, and Watchdog Timer for reliable operation. The 256 bytes of EEPROM provide non-volatile data storage with high endurance (1M write cycles typical).

Pin Description: PIC16F677-I Pin Definition and Functions
Pin (PDIP-20/SOIC-20) Name Type Function
1 VDD P Positive Supply Voltage
2 RA5/T1CKI/OSC1/CLKIN I/O Port A I/O / Timer1 Clock / Oscillator Input / Clock In
3 RA4/T1G/OSC2/CLKOUT I/O Port A I/O / Timer1 Gate / Oscillator Output / Clock Out
4 RA3/MCLR/VPP I/P Port A Input / Master Clear / Programming Voltage
5 RC5/SDO I/O Port C I/O / SPI Data Out
6 RC4/C2OUT/SRQ/SDI/SDA I/O Port C I/O / Comparator2 Output / SPI Data In / I2C Data
7 RC3/C12IN3-/AN7/SCK/SCL I/O Port C I/O / ADC Ch7 / SPI Clock / I2C Clock
8 RC6/AN8 I/O Port C I/O / ADC Channel 8
9 RC7/AN9 I/O Port C I/O / ADC Channel 9
10 RB7/ICSPDAT/AN11 I/O Port B I/O / ICSP Data / ADC Ch11
11 RB6/ICSPCLK/AN10 I/O Port B I/O / ICSP Clock / ADC Ch10
12 RB5/AN5 I/O Port B I/O / ADC Channel 5
13 RB4/AN4 I/O Port B I/O / ADC Channel 4
14 RC2/C12IN2-/AN6 I/O Port C I/O / Comparator Neg Input 2 / ADC Ch6
15 RC1/C12IN1-/AN5 I/O Port C I/O / Comparator Neg Input 1 / ADC Ch5
16 RC0/C2IN+/C1IN+/AN4 I/O Port C I/O / Comparator Pos Input / ADC Ch4
17 VSS P Ground Reference
18 RA0/C1IN+/AN0/ULPWU I/O Port A I/O / Comparator1+ / ADC Ch0 / ULP Wake-up
19 RA1/C2IN+/AN1 I/O Port A I/O / Comparator2+ / ADC Channel 1
20 RA2/T0CKI/INT/C1OUT/AN2 I/O Port A I/O / T0CKI / Ext Int / C1 Out / ADC Ch2
Application Scenarios: In which products and applications is PIC16F677-I used
  • Multi-channel industrial sensor interfaces and data acquisition
  • Battery-powered data loggers and environmental monitors
  • Smart sensor modules with I2C/SPI digital output
  • Home automation sensor nodes
  • Portable medical devices with multiple analog inputs
  • Automotive sensor signal conditioning
  • Consumer electronics with touch/analog sensing
Alternative Models: What chips are recommended as replacements for PIC16F677-I
Manufacturer Part Number Package Notes
Microchip PIC16F690-I 20-pin 7KB Flash, adds EUSART, ECCP, 2 timers
Microchip PIC16F631-I 20-pin 1.75KB Flash, no ADC, no serial, lower cost
Microchip PIC16F685-I 20-pin 7KB Flash, adds ECCP PWM module
Microchip PIC16F687-I 20-pin 7KB Flash, adds EUSART
Microchip PIC16F1783-I 20-pin Newer gen, enhanced analog, 8KB Flash

Recommend Parts

ISO1176TDWR

Isolated RS-485 transceiver, 40Mbps, integrated transformer driver, SOIC-16

Brand: TI

Package: SOIC-16 (DW, wide-body, 10.3 x 10.3 mm)

IN STOCK: 6874pcs

Cargo cycle: 3-7 Days

The minimum order is 1

IRFB4020PBF

200V N-Channel HEXFET Power MOSFET, 31A, 68 mΩ RDS(on), TO-220AB

Brand: infineon

Package: TO-220AB

IN STOCK: 14149pcs

Cargo cycle: 3-7 Days

The minimum order is 1

NRF52832-QFAA-T

Nordic BLE SoC, ARM Cortex-M4 @ 64MHz, 64KB Flash, 32KB RAM, QFN-48

Package: See datasheet

IN STOCK: 10958pcs

Cargo cycle: 3-7 Days

The minimum order is 1

UCC28740DR

CVCC Flyback Controller, 700V startup, opto feedback, <10mW no-load, SOIC-7

Brand: TI

Package: SOIC-7 (4.9 x 3.9 x 1.75 mm)

IN STOCK: 4840pcs

Cargo cycle: 3-7 Days

The minimum order is 1

MMUN2211LT1G

NPN digital transistor, R1=10kΩ R2=10kΩ, 50V, 100mA, SOT-23-3, pre-biased BRT switch

Brand: Onsemi

Package: SOT-23-3 (TO-236, SC-59)

IN STOCK: 8500pcs

Cargo cycle: 3-7 Days

The minimum order is 1

PIC32MX795F512L-80I/PF

32-bit PIC32MX MCU with Ethernet/CAN/USB, 80MHz, 512KB Flash, TQFP-100, industrial

Brand: MICROCHIP

Package: TQFP-100 (14 x 14 mm)

IN STOCK: 7912pcs

Cargo cycle: 3-7 Days

The minimum order is 1