The PIC16F628A microcontroller is an 18-pin microcontroller with 8-bit PIC Architecture. The controller has an in-built internal oscillator with 4MHz frequency and 128 bytes of EEPROM data. It has enhanced core features, an eight-level deep stack, and multiple internal and external interrupt sources. The separate instruction and data buses of the Harvard architecture allow a 14-bit wide instruction word with the separate 8-bit wide data. The two-stage instruction pipeline allows all instructions to execute in a single cycle, except for program branches (which require two cycles). A total of 35 instructions (reduced instruction set) are available, complemented by a large register set.
It has an operating voltage from 2V to 5.5V hence suitable for low voltage applications. It has two 8-bit timers and one 16-bit timer and 2 comparators. It also has a CCP module enabling compare, capture and PWM operations. It supports UART communication while I2C and SPI are not supported.
PIC16F628A microcontrollers typically achieve a 2:1 code compression and a 4:1 speed improvement over other 8-bit microcontrollers in their class. PIC16F628A devices have integrated features to reduce external components, thus reducing system cost, enhancing system reliability and reducing power consumption.
PIC16F628A pinout:
PIC16F628A features, Specification:
Features: -
- 16 I/O pins with individual direction control
- High current sink/source for direct LED drive
- Analog comparator module with:
- Two analog comparators
- Programmable on-chip voltage reference (VREF) module
- Selectable internal or external reference
- Comparator outputs are externally accessible
- Timer0: 8-bit timer/counter with 8-bit programmable prescaler
- Timer1: 16-bit timer/counter with external crystal/ clock capability
- Timer2: 8-bit timer/counter with 8-bit period register, prescaler and postscaler
- Capture, Compare, PWM module:
- 16-bit Capture/Compare
- 10-bit PWM
- Addressable Universal Synchronous/Asynchronous Receiver/Transmitter USART/S
Specification:
- Program Memory Type Flash
- Program Memory Size (KB) 3.5
- CPU Speed (MIPS/DMIPS) 5
- SRAM (B). 224
- Temperature Range (°C) -40 to 125
- Operating Voltage Range (V) 2V to 5.5V
- Pin Count 18
- Timers 2 x 8-bit, 1×16-bit
- Data EEPROM/HEF (bytes) 128
- Digital Communication Peripherals 1-UART
- Capture/Compare/PWM Peripherals 1 Input Capture, 1 CCP
PIC16F628A Applications:
- Small Embedded hardware
- PC to MCU communication
- Data processing
- Small Industrial Embedded devices
PIC16F628A Dimension and footprint:
Example Projects on PIC16F628A:
PIC16F628A Projects
Additional Resources:
PIC16F628A Datasheet
Package Contains
1x PIC16F628A