• All instructions single cycle except for program
branches which are two-cycle
• Operating speed: DC - 10 MHz clock input
DC - 400 ns instruction cycle
Device
PIC16F83
PIC16F84
Program
Memory
(words)
512 Flash
1 K Flash
Data
Data
RAM
EEPROM
(bytes) (bytes)
36
68
36
68
64
64
64
64
Max.
Freq
(MHz)
10
10
10
10
Special Microcontroller Features:
• In-Circuit Serial Programming (ICSP™) - via two
pins (ROM devices support only Data EEPROM
programming)
• Power-on Reset (POR)
• Power-up Timer (PWRT)
• Oscillator Start-up Timer (OST)
• Watchdog Timer (WDT) with its own on-chip RC
oscillator for reliable operation
• Code-protection
• Power saving SLEEP mode
• Selectable oscillator options
PIC16CR83 512 ROM
PIC16CR84 1 K ROM
•
•
•
•
•
•
14-bit wide instructions
8-bit wide data path
15 special function hardware registers
Eight-level deep hardware stack
Direct, indirect and relative addressing modes
Four interrupt sources:
- External RB0/INT pin
- TMR0 timer overflow
- PORTB<7:4> interrupt on change
- Data EEPROM write complete
• 1000 erase/write cycles Flash program memory
• 10,000,000 erase/write cycles EEPROM data mem-
ory
• EEPROM Data Retention > 40 years
CMOS Flash/EEPROM Technology:
• Low-power, high-speed technology
• Fully static design
• Wide operating voltage range:
- Commercial: 2.0V to 6.0V
- Industrial:
2.0V to 6.0V
• Low power consumption:
- < 2 mA typical @ 5V, 4 MHz
- 15
A
typical @ 2V, 32 kHz
- < 1
A
typical standby current @ 2V
Peripheral Features:
• 13 I/O pins with individual direction control
• High current sink/source for direct LED drive
- 25 mA sink max. per pin
- 20 mA source max. per pin
• TMR0: 8-bit timer/counter with 8-bit
programmable prescaler
1996-2013 Microchip Technology Inc.
DS30430D-page 1
PIC16F8X
Table of Contents
1.0 General Description ...................................................................................................................................................................... 3
6.0 Timer0 Module and TMR0 Register............................................................................................................................................ 27
7.0 Data EEPROM Memory.............................................................................................................................................................. 33
8.0 Special Features of the CPU ...................................................................................................................................................... 37
9.0 Instruction Set Summary ............................................................................................................................................................ 53
10.0 Development Support ................................................................................................................................................................. 69
11.0 Electrical Characteristics for PIC16F83 and PIC16F84.............................................................................................................. 73
12.0 Electrical Characteristics for PIC16CR83 and PIC16CR84........................................................................................................ 85
13.0 DC & AC Characteristics Graphs/Tables.................................................................................................................................... 97
14.0 Packaging Information .............................................................................................................................................................. 109
Appendix A: Feature Improvements - From PIC16C5X To PIC16F8X .......................................................................................... 113
Appendix B: Code Compatibility - from PIC16C5X to PIC16F8X.................................................................................................. 113
Appendix C: What’s New In This Data Sheet ................................................................................................................................. 114
Appendix D: What’s Changed In This Data Sheet ......................................................................................................................... 114
Appendix E: Conversion Considerations - PIC16C84 to PIC16F83/F84 And PIC16CR83/CR84.................................................. 115
Index ................................................................................................................................................................................................. 117
PIC16F8X Product Identification System ........................................................................................................................................... 121
Sales and Support.............................................................................................................................................................................. 121
To Our Valued Customers
We constantly strive to improve the quality of all our products and documentation. We have spent a great deal of
time to ensure that these documents are correct. However, we realize that we may have missed a few things. If you
find any information that is missing or appears in error, please use the reader response form in the back of this data
sheet to inform us. We appreciate your assistance in making this a better document.
[align=left][size=4][color=#000000][backcolor=white] Abstract: The regulator that controls according to the proportion, integration and differentiation of the deviation is called PID regulator. PID re...
Audio and video player software: supports MPEG-1/2, 4, H.264 263, MP4, WMA, DIVX, XVID/MP3 and other popular formats. Videos can be played smoothly on 6410. Contact: hpccn@163.com MSN: hpccn@163.com...
According to data from the Japan Electronics and Information Technology Industries Association (JEITA), the total shipment of PC monitors in the world in 2004 reached 127.28 million units, of which LC...
[i=s]This post was last edited by hf12345 on 2018-11-29 17:48[/i] The digital multimeter used is Victory vc890c+. The capacitor is a 10uf tantalum capacitor. The black probe is connected to the COM po...
[i=s]This post was last edited by paulhyde on 2014-9-15 02:58[/i] You may be more concerned about the solution. I use a DA to control a constant current source. The DA uses a microcontroller to genera...
In
circuit design,
current
measurement
is widely used, and the main fields are divided into three categories: in measurement,
the electric meter
is used to measure the curre...[Details]
Today, with the increasing integration of functions, mobile phones can also be used as portable media players (PMP), digital cameras, handheld computers (PDAs), and even global positioning systems ...[Details]
China's new energy vehicles are in a transition period from research and development to real industrial development. In 2012, with the intensive launch of new energy vehicle policy planning, the de...[Details]
introduction
Throughout the history of automotive lighting, power has always played an important role. Initially, cars only needed headlights to see the road in the dark. Later, other light so...[Details]
Analog engineers have traditionally struggled with complexity when designing power supplies that required multiple outputs, dynamic load sharing, hot-swap, or extensive fault-handling capabilities....[Details]
The reason for the light decay of white LEDs: the decline of phosphor performance
So far, the rapid decline of the luminous performance of white light LEDs, especially low-power white light LE...[Details]
In recent years, lighting has become an important area that countries around the world are targeting to promote energy conservation and environmental protection. According to statistics, about 20% ...[Details]
With the rapid development of urban economy, elevators are increasingly used as a vertical transportation tool. However, elevator fault detection and maintenance, especially the role of elevator remot...[Details]
0 Introduction
With the development of society, people pay more and more attention to security work. Monitoring products have been used in various fields instead of being used only in importan...[Details]
introduction
The emergence of high-performance, low-power embedded CPUs and high-reliability network operating systems has made it possible to implement applications with large amounts of comp...[Details]
1. Overview
The Virtual CAN Interface (VCI) function library is an application program interface specifically provided for the use of ZLGCAN devices on PCs. The functions in the library ar...[Details]
Since the No. 4 blast furnace of Handan Iron and Steel was put into operation in 1993, its external equipment has been seriously aged, and the original PLC control system TDC3000 of the hot blast furn...[Details]
1. Project Introduction
Shandong Dezhou Xingtai Paper Co., Ltd. is a newly built high-end paperboard production enterprise with domestic leading level established by Shandong Zhaodongfang Pape...[Details]
1 Introduction
Water resources are the basic conditions for human survival and the lifeline of economic development. The reality shows that due to the global shortage of water resources and th...[Details]
LED is the abbreviation of light emitting diode, which is an electric light source made of semiconductor technology. The core part of LED is a chip composed of P-type semiconductor and N-type semi...[Details]