Skip to main content

PIC12F675 – 8 bit Microcontroller

[Click the image to enlarge it]

PIC12F675 is an 8-Bit CMOS Microcontroller made by MICROCHIP TECHNOLOGY and is developed on high-performance RISC architecture. This microcontroller is very popular among hobbyists and engineers due its cost and small size.

 

Pin configuration

PIC12F675 is an 8 pin device and many of the pins can perform multiple functions as shown in above PIC12F675 pin diagram. The description for each of these functions is given below.

Pin

Function

Description

1

VDD

Positive Power Supply

2

GP5/T1CKI/OSC1/CLKIN

GP5: General purpose I/O pin 5

T1CKI: Timer1 external clock input

OSC1:Oscillator pin 1

CLKI: External clock source input

3

GP4/ AN3/ T1G/OSC2/CLKOUT

GP4: General purpose I/O pin 4

AN3: Analog input 3

T1G: Timer1 gate

OSC2: Oscillator pin 2

CLKO: Clock source output

4

GP3/MCLR/VPP

GP3: General purpose I/O pin 3

MCLR: Master Clear Input or Reset pin

VPP: Programming voltage

5

GP2/AN2 /T0CKI/INT/COUT

GP2: General purpose I/O pin 2

AN2: Analog input2

T0CKI: Timer0 clock input

INT: External Interrupt

COUT: Comparator output

6

GP1/AN1/CIN-/VREF/ICSPCLK

GP1: General purpose I/O pin 1

AN1: Analog input1

CIN-: Comparator input

VREF: External Voltage reference

ICSPCLK: Serial Programming Clock

7

GP0/AN0/CIN+/ICSPDAT

GP: General purpose I/O pin 

AN0: Analog input0

CIN+: Comparator input

ICSPDAT: Serial Programming Data I/O

8

VSS

Ground

 

PIC12F675 Features and Electrical characteristics

CPU

8-bit

Total number of pins

8

Programmable pins

6

Communication Interface

ICSP or In-Circuit Serial Programming Interface (13,14 Pins) [Can be used for programming this controller]

ADC Feature

4 channels of 10-bit resolution

Timer Feature

One 8-bit counter, One 16-bit counter

PWM channels

Not available

Analog Comparator

Available-1

External Oscillator

Up to 20MHz

Internal Oscillator

4MHz  Internal R-C Oscillator factory calibrated to ±1%

Program memory / Flash memory

2Kbytes[100000 write/erase cycles]

CPU Speed

1MIPS @ 1MHz

RAM

64bytes

EEPROM

128bytes

Watchdog Timer

 

Available and is featured with Independent

Oscillator for Reliable Operation

Power Save Modes

Available

Operating Voltage

2.0V to 5.5V

Maximum current to any I/O pin

IN :25mA

OUT : 25mA

Operating Temperature

-40°C to +125°C

Maximum current into VDD pin

250mA

 

PIC12F675 Replacement

PIC12F629

 

PIC12F675 Overview

PIC12F675 is a microcontroller designed for low end applications and systems. It is good for learning and experimenting for engineers because it has high flash memory rewrite cycle. The controller has 2KBytes flash memory which is enough for starters to develop basic programs. Also the 6 GPIO pins are designed for handling a maximum current of 25mA which meets the threshold of many peripheral devices and sensors.

This controller has very few features and it cannot be used for developing advanced applications. It is best used for developing programs by beginners who want to enter microcontroller platform.

 

How to use PIC12F675

Any microcontroller is needed to be programmed before installing in any system or application. So first we need to program the controller PIC12F675.

Entire process of programming PIC12F675 goes like this:

  • First list all the functions to be executed by this controller.
  •  Next write these functions in ‘IDE software’ using relative programming language (use ‘C’ language in MPLAB IDE).
  • MPLAB IDE for Windows  can be downloaded at this website: www.microchip.com/mplabx-ide-windows-installer
  • After writing the desired program compile it for error elimination
  • For a successful compilation IDE application generates HEX file for the written program
  • Choose the programming device (usually ‘PIC kit 3’ or ‘PIC kit 2’) which establishes communication between PC and PIC12F675
  • Connect the programming device to microcontroller appropriately
  • Run the HEX file dumping software which is related to the chosen programming device
  • Choose the appropriate program HEX file and burn this HEX file in PIC12F675 flash memory
  • Disconnect the programmer and connect the appropriate peripherals for the controller

 

After connecting the power, the controller executes this HEX code saved in the memory (which is written program) and creates response as instructed.

 

Applications

  • Low end applications like scrolling display, temperature monitor etc
  • Beginner applications
  • Hobbyist projects
  • Display units
  • Development board for learners

 

2D-Model

PIC12F675 Dimensions



Download Datasheet PDF: