PIC16F676 Microcontroller: Features, Pinout, and Datasheet

Sophie

Published: 19 November 2021 | Last Updated: 19 November 2021

13344

datasheet pdf and product details from stock available at Utmel

Purchase Guide

PIC16F676 is a MICROCHIP TECHNOLOGY microcontroller from the 'PIC16F' series which has developed this 8-bit CMOS PIC microcontroller based on Flash. This article mainly introduces features, pinout, datasheet and other detailed information about Microchip Technology PIC16F676.

This video will show you how to make a simple digital Volt meter Using Seven Segment LED Display and PIC16F676 IC and how to programming or coding PIC16F676 Microcontroller IC.

Make Digital Volt Meter Using PIC16F676 Microchip & 7 Segment Display | Get Circuit Diagram & Code

PIC16F676 Description

PIC16F676 is a MICROCHIP TECHNOLOGY microcontroller from the 'PIC16F' series which has developed this 8-bit CMOS PIC microcontroller based on Flash. It has a 14-pin interface and a high-performance RISC CPU, making it an excellent choice for a wide range of electronic applications, including embedded systems and industrial automation. This little chip has everything you'll need to create customized student projects. 


Although memory space and pin count are limited when compared to other PIC controllers, flash-based technology allows this device to communicate with external devices. It's popular with amateurs and engineers because of its features, low cost, and tiny size.


PIC16F676 Pinout

pinout.jpg

Pinout

Pin NumberPin NameFunctionDescription
13RA0/AN0/CIN+/ICSPDATRA0Bidirectional I/O w/ programmable pull-up and interrupt-on-change.
AN0AN0 AN — A/D Channel 0 input.
CIN+CIN+ AN Comparator input.
ICSPDATSerial Programming Data I/O.
12RA1/AN1/CIN-/VREF/ICSPCLKRA1Bidirectional I/O w/ programmable pull-up and interrupt-on-change.
AN1A/D Channel 1 input.
CIN-Comparator input.
VREFExternal Voltage reference.
ICSPCLKSerial Programming Clock.
11RA2/AN2/COUT/T0CKI/INTRA2Bidirectional I/O w/ programmable pull-up and interrupt-on-change.
AN2A/D Channel 2 input.
COUTComparator output.
T0CKITimer0 clock input.
INTExternal Interrupt.
4RA3/MCLR/VPPRA3Input port with interrupt-on-change.
MCLRMaster Clear.
VPPProgramming voltage.
3RA4/T1G/AN3/OSC2/CLKOUTRA4Bidirectional I/O w/ programmable pull-up and interrupt-on-change.
T1GTimer1 gate.
AN3A/D Channel 3 input.
OSC2Crystal/Resonator.
CLKOUTFOSC/4 output.
2RA5/T1CKI/OSC1/CLKINRA5Bidirectional I/O w/ programmable pull-up and interrupt-on-change.
T1CKITimer1 clock.
OSC1Crystal/Resonator.
CLKINExternal clock input/RC oscillator connection.
10RC0/AN4RC0Bidirectional I/O.
AN4A/D Channel 4 input.
9RC1/AN5RC1Bidirectional I/O.
AN5A/D Channel 5 input.
8RC2/AN6RC2Bidirectional I/O.
AN6A/D Channel 6 input.
7RC3/AN7RC3Bidirectional I/O.
AN7A/D Channel 7 input.
6RC4RC4Bidirectional I/O.
5RC5RC5Bidirectional I/O.
14VSSVSSGround reference.
1VDDVDDPositive supply.


PIC16F676 CAD Model

symbol.png

Symbol

footprint.png

Footprint

3D Model.jpg

3D Model

PIC16F676 Features

(1) High-Performance RISC CPU

• Only 35 Instructions to Learn

- All single-cycle instructions except branches

• Operating Speed:

- DC – 20 MHz oscillator/clock input

- DC – 200 ns instruction cycle

• Interrupt Capability

• 8-level Deep Hardware Stack

• Direct, Indirect, and Relative Addressing modes

(2) Special Microcontroller Features

• Internal and External Oscillator Options

- Precision Internal 4 MHz oscillator factory calibrated to ±1%

- External Oscillator support for crystals and resonators

- 5 μs wake-up from Sleep, 3.0V, typical

• Power-Saving Sleep mode

• Wide Operating Voltage Range – 2.0V to 5.5V

• Industrial and Extended Temperature Range

• Low-Power Power-on Reset (POR)

• Power-up Timer (PWRT) and Oscillator Start-up Timer (OST)

• Brown-out Detect (BOD)

• Watchdog Timer (WDT) with Independent Oscillator for Reliable Operation

• Multiplexed MCLR/Input-pin

• Interrupt-on-Pin Change

• Individual Programmable Weak Pull-ups

• Programmable Code Protection

• High Endurance Flash/EEPROM cell

- 100,000 write Flash endurance

- 1,000,000 write EEPROM endurance

- Flash/data EEPROM retention: > 40 years

(3) Low-Power Features

• Standby Current

- 1 nA @ 2.0V, typical

• Operating Current

- 8.5 μA @ 32 kHz, 2.0V, typical

- 100 μA @ 1 MHz, 2.0V, typical

• Watchdog Timer Current

- 300 nA @ 2.0V, typical

• Timer1 Oscillator Current

- 4 μA @ 32 kHz, 2.0V, typical

(4) Peripheral Features

• 12 I/O Pins with Individual Direction Control

• High Current Sink/Source for Direct LED Drive

• Analog Comparator module with:

- One analog comparator

- Programmable on-chip comparator voltage reference (CVREF) module

- Programmable input multiplexing from device inputs

- Comparator output is externally accessible

• Analog-to-Digital Converter module (PIC16F676)

- 10-bit resolution

- Programmable 8-channel input

- Voltage reference input

• Timer0: 8-bit Timer/Counter with 8-bit Programmable Prescaler

• Enhanced Timer1

- 16-bit timer/counter with Prescaler

- External Gate Input mode

- Option to use OSC1 and OSC2 in LP mode as Timer1 oscillator, if INTOSC mode selected

• In-Circuit Serial ProgrammingTM (ICSPTM) via two pins


Specifications

technical specifications, attributes, parameters and parts with similar specifications to .
  • Type
    Parameter
0 Similar Products Remaining

How to use PIC16F676 Microcontroller

Digital Voltmeter with 3-Digit Output by PIC16F676.png

Digital Voltmeter with 3-Digit Output by PIC16F676

The device is built with a PIC16F676 for reading analog signals like voltage and a 7-segment LED to display the 3-digit output.

Since most PIC microcontrollers have either an 8-bit or 10-bit analog to digital converter module, the PIC16F676 has 10-bits 8 channels in terms of hardware. Only one channel is utilized to measure input voltages in this project, with the remaining pins being used for digital I/O. The voltage input is handled by a voltage divider made up of R1 and R2. VR1, which is connected in parallel with R2, adjusts the proper display of full-scale voltage. The divided input voltage from AN3 will provide the analog input.

The digital output RA0-RA2 turns on/off the digits in the scan display process. The RC0-RC5 and RA5 drive the 7-segment display, which will be decoded by software utilizing the CCS C compiler to program. The input voltage on RA3 is transformed to a 7-segment code. The timer is programmed to interrupt every 5 ms while scanning all digits at 66 Hz frequency. This means that only one digit is turned on every 5 milliseconds.


PIC16F676 Functional Block Diagram

BLOCK DIAGRAM.png

Functional Block Diagram


PIC16F676 Alternatives

Part NumberDescriptionManufacturer
PIC16F676-E/SLGMICROCONTROLLERS AND PROCESSORS8-BIT, FLASH, 20 MHz, RISC MICROCONTROLLER, PDSO14, 3.90 MM, LEAD FREE, PLASTIC, SOIC-14Microchip Technology Inc
PIC16F676T-E/PMICROCONTROLLERS AND PROCESSORS8-BIT, FLASH, 20 MHz, RISC MICROCONTROLLER, PDIP14, 0.300 INCH, LEAD FREE, PLASTIC, DIP-14Microchip Technology Inc
PIC16F676T-I/SLGMICROCONTROLLERS AND PROCESSORS8-BIT, FLASH, 20 MHz, RISC MICROCONTROLLER, PDSO14, 3.90 MM, LEAD FREE, PLASTIC, SOIC-14Microchip Technology Inc
PIC16F676T-I/SLVAOMICROCONTROLLERS AND PROCESSORSRISC Microcontroller, 8-Bit, FLASH, 20MHz, CMOS, PDSO14Microchip Technology Inc
PIC16F676T-E/SLMICROCONTROLLERS AND PROCESSORS8-BIT, FLASH, 20 MHz, RISC MICROCONTROLLER, PDSO14, 3.90 MM, LEAD FREE, PLASTIC, SOIC-14Microchip Technology Inc
PIC16F676T-I/PMICROCONTROLLERS AND PROCESSORS8-BIT, FLASH, 20 MHz, RISC MICROCONTROLLER, PDIP14, 0.300 INCH, LEAD FREE, PLASTIC, DIP-14Microchip Technology Inc
PIC16F676-I/SLMICROCONTROLLERS AND PROCESSORS8-BIT, FLASH, 20 MHz, RISC MICROCONTROLLER, PDSO14, 3.90 MM, LEAD FREE, PLASTIC, SOIC-14Microchip Technology Inc
PIC16F676-I/SLVAOMICROCONTROLLERS AND PROCESSORSRISC Microcontroller, 8-Bit, FLASH, 20MHz, CMOS, PDSO14Microchip Technology Inc
PIC16F676-E/PMICROCONTROLLERS AND PROCESSORS8-BIT, FLASH, 20 MHz, RISC MICROCONTROLLER, PDIP14, 0.300 INCH, LEAD FREE, PLASTIC, DIP-14Microchip Technology Inc
PIC16F676-I/PMICROCONTROLLERS AND PROCESSORS8-BIT, FLASH, 20 MHz, RISC MICROCONTROLLER, PDIP14, 0.300 INCH, LEAD FREE, PLASTIC, DIP-14Microchip Technology Inc


PIC16F676 Applications

• Prototyping Custom Circuits

• GPS and Security Systems

• Central Heating Projects

• Student Projects for Sensor Interfacing and Motor Controlling

• Used in Home and Industrial Automation

• Embedded System


PIC16F676 Package

Package.png

Package

PIC16F676 Manufacturer

Microchip Technology Incorporated is a leading manufacturer of smart, networked, and secure embedded control solutions. Customers may create optimal designs using the company's simple development tools and broad product choices, which reduce risk while lowering overall system costs and time to market. The company's technologies are used by over 120,000 clients in the industrial, automotive, consumer, aerospace and defense, communications, and computing sectors. Microchip, based in Chandler, Arizona, offers outstanding technical support as well as dependable delivery and quality.


Frequently Asked Questions

What is the difference between PIC16F676-I/SL and PIC16F676-I/P?

The package is different, SL stands for SOP and P stands for DIP.

PIC16F676 single-chip microcomputer is powered by 5V voltage, internal crystal oscillator, and the configuration bit is set to internal crystal oscillator. Why does the single-chip microcomputer not work?

You look at your fuse configuration. Maybe the configuration is wrong. Try to change the reset circuit to an internal reset, or you may use an external reset, and the hardware on your board is useless.

I used a single-chip microcomputer PIC16F676 to make a single-chip control circuit. The external control needs to use 0/4-20 analog current control. I want to use the PIC16F676 with internal A/D conversion. How about the A/D conversion of this film? This film is better, or is it better to use other films such as AD654?

PIC16F676 has been used pretty well, 10bit AD conversion only supports assembly. If you are familiar with PIC development, it is very simple. There are few peripheral circuits, even the crystal oscillator is not needed, and the IO drive 20mA ability is strong. If you are unfamiliar, you can also use C51.

What type of interface does PIC16F676 have?

14-pin.

What does PIC16F676 have?

Everything you'll need to create customized student projects.

What are limited when compared to other PIC controllers?

Memory space and pin count.

In Stock

United States

China

Canada

Japan

Russia

Germany

United Kingdom

Singapore

Italy

Hong Kong(China)

Taiwan(China)

France

Korea

Mexico

Netherlands

Malaysia

Austria

Spain

Switzerland

Poland

Thailand

Vietnam

India

United Arab Emirates

Afghanistan

Åland Islands

Albania

Algeria

American Samoa

Andorra

Angola

Anguilla

Antigua & Barbuda

Argentina

Armenia

Aruba

Australia

Azerbaijan

Bahamas

Bahrain

Bangladesh

Barbados

Belarus

Belgium

Belize

Benin

Bermuda

Bhutan

Bolivia

Bonaire, Sint Eustatius and Saba

Bosnia & Herzegovina

Botswana

Brazil

British Indian Ocean Territory

British Virgin Islands

Brunei

Bulgaria

Burkina Faso

Burundi

Cabo Verde

Cambodia

Cameroon

Cayman Islands

Central African Republic

Chad

Chile

Christmas Island

Cocos (Keeling) Islands

Colombia

Comoros

Congo

Congo (DRC)

Cook Islands

Costa Rica

Côte d’Ivoire

Croatia

Cuba

Curaçao

Cyprus

Czechia

Denmark

Djibouti

Dominica

Dominican Republic

Ecuador

Egypt

El Salvador

Equatorial Guinea

Eritrea

Estonia

Eswatini

Ethiopia

Falkland Islands

Faroe Islands

Fiji

Finland

French Guiana

French Polynesia

Gabon

Gambia

Georgia

Ghana

Gibraltar

Greece

Greenland

Grenada

Guadeloupe

Guam

Guatemala

Guernsey

Guinea

Guinea-Bissau

Guyana

Haiti

Honduras

Hungary

Iceland

Indonesia

Iran

Iraq

Ireland

Isle of Man

Israel

Jamaica

Jersey

Jordan

Kazakhstan

Kenya

Kiribati

Kosovo

Kuwait

Kyrgyzstan

Laos

Latvia

Lebanon

Lesotho

Liberia

Libya

Liechtenstein

Lithuania

Luxembourg

Macao(China)

Madagascar

Malawi

Maldives

Mali

Malta

Marshall Islands

Martinique

Mauritania

Mauritius

Mayotte

Micronesia

Moldova

Monaco

Mongolia

Montenegro

Montserrat

Morocco

Mozambique

Myanmar

Namibia

Nauru

Nepal

New Caledonia

New Zealand

Nicaragua

Niger

Nigeria

Niue

Norfolk Island

North Korea

North Macedonia

Northern Mariana Islands

Norway

Oman

Pakistan

Palau

Palestinian Authority

Panama

Papua New Guinea

Paraguay

Peru

Philippines

Pitcairn Islands

Portugal

Puerto Rico

Qatar

Réunion

Romania

Rwanda

Samoa

San Marino

São Tomé & Príncipe

Saudi Arabia

Senegal

Serbia

Seychelles

Sierra Leone

Sint Maarten

Slovakia

Slovenia

Solomon Islands

Somalia

South Africa

South Sudan

Sri Lanka

St Helena, Ascension, Tristan da Cunha

St. Barthélemy

St. Kitts & Nevis

St. Lucia

St. Martin

St. Pierre & Miquelon

St. Vincent & Grenadines

Sudan

Suriname

Svalbard & Jan Mayen

Sweden

Syria

Tajikistan

Tanzania

Timor-Leste

Togo

Tokelau

Tonga

Trinidad & Tobago

Tunisia

Turkey

Turkmenistan

Turks & Caicos Islands

Tuvalu

U.S. Outlying Islands

U.S. Virgin Islands

Uganda

Ukraine

Uruguay

Uzbekistan

Vanuatu

Vatican City

Venezuela

Wallis & Futuna

Yemen

Zambia

Zimbabwe