Skip to main content

PIC12F675 8-bit PIC Microcontroller

[Click the image to enlarge it]

PIC12F675 is a low-cost, Mid-Range 8-bit, FLash based CMOS Microcontroller unit that has 8 pins out of which 6 pins can be used as I/O pins. This Microcontroller is powerful enough that works with 200 nanosecond instruction execution and at the same time, it is an easy-to-program (35 single words instruction) PIC microcontroller unit.

 

PIC12F675 Pinout Configuration

Pin Number

Pin Name

Description

1

VDD

Positive Pin of MCU (+5V)

2

GP5/T1CK1/OSC1/CLKIN

Bidirectional I/O Pin or Crystal Input or External clock source input, or TMR1 clock

3

GP4/AN3/T1G/OSC2/CLKOUT

Bidirectional I/O Pin, or Timer 1 Gate, or Crystal output or Analog Input CH3.

4

GP3/MCLR/VPP

Input Pin or connected with a programmer, mostly with PicKit

5

GP2/T0CKI/AN2/INT/COUT

Bidirectional I/O Pin or Analog Input CH2 or comparator output or external interrupt or Clock Input to Timer 0.

6

GP1/AN1/CIN-/VREFICSPCLK

Bidirectional I/O Pin, or Analog input CH1 or Comparator input or External Voltage reference or In-Circuit Programmer Clock Pin.

7

GP0/AN0/CIN+/ICSPDAT

BIdirectional I/O Pin or Analog Input CH0 or In-Circuit Serial Programming Data Pin, used in Programmer.

8

VSS

Ground Pin of MCU

 

Features and Specification of the PIC12F675 Microcontroller

PIC12F675 - Simplified Features and Specification

CPU

Mid-Range 8-bit

Number of Pins

8

Operating Voltage (V)

2-5.5V

Number of I/O pins

6

ADC Module

1 (4-Channel, 10 bit)

Timer Module

8-bit (1), 16-bit (1)

Comparators

1

DAC Module

Nil

Communication Peripherals

Nil

External Oscillator

Yes

Internal Oscillator

4 MHz

Program Memory (KB)

1.75KB

CPU Speed (MIPS)

5 MIPS

RAM Bytes

64

Data EEPROM

128 Bytes

 

Note: Complete technical details can be found in the PIC12F675 Datasheet linked at the bottom of this page.

 

Alternative Product of PIC12F675

Alternative products for PIC12F675 microcontroller are listed below-

  1. PIC12F629
  2. PIC12F683
  3. PIC16F505
  4. PIC12F508
  5. PIC16F676
  6. PIC16F72
  7. PIC16F873A
  8. PIC16F876A
  9. PIC16F886
  10. PIC16F252

 

Introduction to PIC12F675

PIC12F675 is a low-cost, Mid-Range 8-bit, FLash based CMOS Microcontroller unit that has 8 pins out of which 6 pins can be used as I/O pins. This Microcontroller is powerful enough that works with 200 nanosecond instruction execution and at the same time, it is an easy-to-program (35 single words instruction) PIC microcontroller unit.

 

It has an internal oscillator with 4Mhz frequency and can be extended up to 20 Mhz using an external crystal oscillator.

 

PIC12F675 also comes with the 128 bytes of EEPROM data memory. It has one 8-bit and one 16-bit timer support for working with timer related operations. This microcontroller unit also has a 4-Channel, 10-bit resolution based Analog to Digital converter.

 

It has a wide operating voltage range from 2V to 5.5V. Thus, it can be used in 3.3V or 5.0V logic level operations.

 

The below image is showing the detailed pin diagram of the PIC12F675.

PIC12F675 Pin Diagram

 

Detailed Features of PIC12F675

PIC12F675 –Detailed Features

CPU

Mid-Range8-Bit

Architecture

8

Program Memory Size (Kbytes)

1.75

RAM (bytes)

64

EEPROM/HEF

128 Bytes EEPROM

Pin Count

8

Max. CPU Speed (MHz)

20

Peripheral Pin Select (PPS)

No

Internal Oscillator

4-Mhz

No. Of comparators

1

No. Of  Operational Amplifier

0

No. Of ADC channels

4

Max ADC Resolution (bits)

10

ADC with Computation

0

Number of DAC Converter

0

Max DAC resolution

-

Internal Voltage Reference

No

Zero Cross Detect

No

No. Of 8-bit timers

1

No. Of 16-bit Timers

1

Signal Measurement Timer

0

Hardware Limit Timer

0

No. Of PWM outputs

0

Max PWM resolution

-

Angular Timer

0

Math Accelerator

No

No. Of  UART module

0

No. Of SPI Module

0

No. Of I2C module

0

No. Of USB Module

0

Windowed Watchdog Timer (WWDT)

No

CRC/Scan

No

Numerically Controlled Oscillator

No

Cap. Touch Channels

4

Segment LCD

0

Minimum Operating Temperature (*C)

-40

Maximum Operating Temperature (*C)

125

Minimum Operating Voltage (V)

2

Maximum Operating Voltage (V)

5.5

High Voltage Capable

No

 

Programming PIC Microcontroller

PIC microcontrollers can be programmed with different software that is available in the market. There are people who still use Assembly language to program PIC MCUs. The below details is for the most advanced and common software and compiler that has been developed by Microchip itself.

 

In order to program the PIC microcontroller, we will need an IDE (Integrated Development Environment), where the programming takes place. A compiler, where our program gets converted into MCU readable form called HEX files. An IPE (Integrated Programming Environment), which is used to dump our hex file into our PIC MCUs.

IDE: MPLABX v3.35

IPE: MPLAB IPE v3.35

Compiler: XC8

 

Microchip has given all these three software for free. They can be downloaded directly from their official page. I have also provided the link for your convenience. Once downloaded, install them on your computer. If you have any problem doing so, you can post them in the comment below.

 

To dump or upload our code into PIC, we will need a device called PICkit 3. The PICkit 3 programmer/debugger is a simple, low-cost in-circuit debugger that is controlled by a PC running MPLAB IDE (v8.20 or greater) software on a Windows platform. The PICkit 3 programmer/debugger is an integral part of the development engineer's tool suite. A basic programming circuit for PIC12F675 is shown below.

Programming Circuit for PIC12F675

In addition to this, we will also need other hardware like a Perf board or breadboard, Soldering station, PIC ICs, Crystal oscillators, capacitors, etc.

 

Components associated with PIC

PICkit3PIC Development BoardCrystal OscillatorsCapacitors, 12V Adapter, 7805 Voltage Regulator.

 

2D Model

The dimensions of the PIC12F675 are shown below-

PIC12F675 Dimensions

Component Datasheet

Get Our Weekly Newsletter!

Subscribe to stay updated with industry's latest Electronics components and news

* indicates required