PIC16F870-I/SP 8-Bit Flash Microcontroller with ADC and USART DIP-28 (PIC16F870-I/SP DIP IC)
The PIC16F870-I/SP is a powerful 8-bit Flash-based microcontroller from Microchip’s popular mid-range family, housed in a 28-pin Skinny DIP package. It features a high-performance RISC architecture with only 35 single-word instructions and executes instructions in as little as 200ns at 20MHz. This IC includes 3.5KB of Flash program memory, 128 bytes of RAM, and 64 bytes of high-endurance EEPROM. Key peripherals include a 5-channel 10-bit Analog-to-Digital Converter (ADC), a Capture/Compare/PWM (CCP) module, and a Universal Synchronous Asynchronous Receiver Transmitter (USART) for robust serial communication. Its balanced I/O count and integrated features make it a reliable choice for advanced mixed-signal control.
This IC is primarily used in automotive sensors, industrial control systems, and consumer appliances. It is a highly effective component for Arduino electronics projects in India for building digital voltage monitors, custom serial-to-parallel bridges, and dedicated motor speed controllers that require more analog inputs and serial connectivity than smaller 18-pin devices.
Key Features
- High-performance RISC CPU with 35 single-word instructions
- 5-channel 10-bit Analog-to-Digital Converter (ADC)
- Capture/Compare/PWM (CCP) module for precise timing and PWM
- Universal Synchronous Asynchronous Receiver Transmitter (USART/UART)
- 64 Bytes of high-endurance Data EEPROM (1,000,000 cycles)
- Three hardware timers (2 x 8-bit, 1 x 16-bit)
- In-Circuit Serial Programming (ICSP) and In-Circuit Debug (ICD)
- Power-on Reset (POR) and Brown-out Reset (BOR)
- Programmable code protection for firmware security
- High current source/sink capability (25mA per I/O)
Specifications
- IC Type = 8-Bit Flash Microcontroller
- Program Memory = 3.5KB (2048 Words)
- Data RAM = 128 Bytes
- Data EEPROM = 64 Bytes
- ADC Resolution = 10-Bit (5 Channels)
- Maximum Speed = 20MHz
- I/O Pins = 22 (Each programmable for direction)
- Supply Voltage = 4.0V to 5.5V
- Current Sink/Source = 25mA
- Package Type = SPDIP-28 (Skinny DIP)
- Number of Pins = 28
- Mounting Type = Through-Hole
- Operating Temperature = -40 to 85 degrees Celsius
Interfaces
- PIN 1 (MCLR/VPP) = Master Clear / Programming Voltage
- PIN 2 to 5, 7 (RA0 to RA4) = Port A / Analog Inputs / Vref
- PIN 8, 19 (VSS) = Ground (0V)
- PIN 9, 10 (OSC1, OSC2) = External Crystal/Oscillator Inputs
- PIN 11 to 18 (RC0 to RC7) = Port C / Timers / CCP1 / USART (TX/RX)
- PIN 20 (VDD) = Positive Supply Voltage (5V)
- PIN 21 to 28 (RB0 to RB7) = 8-Bit Port B / External Interrupt / ICSP