Chip2006Microchip Technology

PIC16F886 28-Pin Flash Microcontroller with nanoWatt (DIP-28)

8K Flash, 256B SRAM, 256B EEPROM, XLP, DIP28

Aliase:PIC16F886

DIP-28 Top View

28 Pins
PIC16F886Microchip TechnologyDIP-281RE32RA03RA14RA25RA36RA47RA58VSS9RA710RA611RC012RC113RC214RC328RB727RB626RB525RB424RB323RB222RB121RB020VDD19VSS18RC717RC616RC515RC4pinoutdb.org
Pin-Tabelle28
PinSignal / NameTypAlternative Funktionen
1RE3Digital
MCLR — Master Clear Reset (Active Low); tie to VDD via 10kΩ for normal operationVpp — High-voltage ICSP programming input (+12V)RE3 — Input-only GPIO, Port E bit 3 (when MCLR function enabled in config)
2RA0Digital
RA0 — General Purpose I/O, Port A bit 0AN0 — ADC Analog Input Channel 0ULPWU — Ultra Low-Power Wake-Up input (wake from sleep on voltage change)C12IN0- — Comparator 1 and 2 negative input 0
3RA1Digital
RA1 — General Purpose I/O, Port A bit 1AN1 — ADC Analog Input Channel 1C12IN1- — Comparator 1 and 2 negative input 1
4RA2Digital
RA2 — General Purpose I/O, Port A bit 2AN2 — ADC Analog Input Channel 2Vref- — Negative ADC voltage reference inputCVref — Comparator voltage reference outputC2IN+ — Comparator 2 positive input
5RA3Digital
RA3 — General Purpose I/O, Port A bit 3AN3 — ADC Analog Input Channel 3Vref+ — Positive ADC voltage reference inputC1IN+ — Comparator 1 positive input
6RA4Digital
RA4 — General Purpose I/O, Port A bit 4 (open-drain output)T0CKI — Timer0 external clock inputC1OUT — Comparator 1 output
7RA5Digital
RA5 — General Purpose I/O, Port A bit 5AN4 — ADC Analog Input Channel 4SS — SPI Slave Select (Active Low)C2OUT — Comparator 2 output
8VSSGround
System Ground (0V) — add 100nF bypass cap to VDD near pin
9RA7Digital
RA7 — General Purpose I/O, Port A bit 7 (available with internal oscillator)OSC1 — Crystal oscillator input (XT, HS, LP modes)CLKIN — External clock input in EC mode
10RA6Digital
RA6 — General Purpose I/O, Port A bit 6 (available with internal oscillator)OSC2 — Crystal oscillator outputCLKOUT — Instruction clock output (Fosc/4)
11RC0Digital
RC0 — General Purpose I/O, Port C bit 0T1OSO — Timer1 crystal oscillator outputT1CKI — Timer1 external clock input
12RC1Digital
RC1 — General Purpose I/O, Port C bit 1T1OSI — Timer1 crystal oscillator input (connect 32.768 kHz crystal between T1OSI and T1OSO)CCP2 — Capture/Compare/PWM module 2 I/O
13RC2Digital
RC2 — General Purpose I/O, Port C bit 2CCP1 — Capture/Compare/PWM module 1 I/OP1A — Enhanced CCP module 1, output A (PWM bridge)
14RC3Digital
RC3 — General Purpose I/O, Port C bit 3SCK — SPI Serial Clock (master and slave mode)SCL — I2C Serial Clock (master and slave mode)
15RC4Digital
RC4 — General Purpose I/O, Port C bit 4SDI — SPI Serial Data In (MISO in slave mode)SDA — I2C Serial Data (open-drain, requires pull-up)
16RC5Digital
RC5 — General Purpose I/O, Port C bit 5SDO — SPI Serial Data Out (MOSI in master mode)
17RC6Digital
RC6 — General Purpose I/O, Port C bit 6TX — USART asynchronous transmit outputCK — USART synchronous clock
18RC7Digital
RC7 — General Purpose I/O, Port C bit 7RX — USART asynchronous receive inputDT — USART synchronous data I/O
19VSSGround
System Ground (0V) — second ground pin; add 100nF bypass cap to VDD
20VDDPower
Positive Power Supply (+2.0V to +5.5V; add 100nF bypass cap to VSS near pin)
21RB0Digital
RB0 — General Purpose I/O, Port B bit 0 (programmable weak pull-up)AN12 — ADC Analog Input Channel 12INT — External interrupt input (edge selectable via INTEDG bit)
22RB1Digital
RB1 — General Purpose I/O, Port B bit 1 (interrupt-on-change capable)AN10 — ADC Analog Input Channel 10P1C — Enhanced CCP module, output C (PWM bridge)
23RB2Digital
RB2 — General Purpose I/O, Port B bit 2 (interrupt-on-change capable)AN8 — ADC Analog Input Channel 8P1B — Enhanced CCP module, output B (PWM bridge)
24RB3Digital
RB3 — General Purpose I/O, Port B bit 3 (interrupt-on-change capable)AN9 — ADC Analog Input Channel 9PGM — Low-Voltage ICSP programming mode entry (HIGH enables LVP; disable LVP bit in config to use as GPIO)C12IN2- — Comparator 1 and 2 negative input 2
25RB4Digital
RB4 — General Purpose I/O, Port B bit 4 (interrupt-on-change capable)AN11 — ADC Analog Input Channel 11P1D — Enhanced CCP module, output D (PWM bridge)
26RB5Digital
RB5 — General Purpose I/O, Port B bit 5 (interrupt-on-change capable)AN13 — ADC Analog Input Channel 13T1G — Timer1 Gate / Count Enable input
27RB6Digital
RB6 — General Purpose I/O, Port B bit 6 (interrupt-on-change capable)ICSPCLK — ICSP programming clock (PGC)
28RB7Digital
RB7 — General Purpose I/O, Port B bit 7 (interrupt-on-change capable)ICSPDAT — ICSP programming data (PGD)