PIC16F84
   HOME

TheInfoList



OR:

The PIC16C84, PIC16F84 and PIC16F84A are 8-bit
microcontroller A microcontroller (MCU for ''microcontroller unit'', often also MC, UC, or μC) is a small computer on a single VLSI integrated circuit (IC) chip. A microcontroller contains one or more CPUs (processor cores) along with memory and programmable i ...
s of which the PIC16C84 was the first introduced in 1993 and hailed as the first PIC microcontroller to feature a serial programming algorithm and
EEPROM EEPROM (also called E2PROM) stands for electrically erasable programmable read-only memory and is a type of non-volatile memory used in computers, usually integrated in microcontrollers such as smart cards and remote keyless systems, or as a ...
memory. It is a member of the PIC family of controllers, produced by
Microchip Technology Microchip Technology Inc. is a publicly-listed American corporation that manufactures microcontroller, mixed-signal, analog and Flash-IP integrated circuits. Its products include microcontrollers ( PIC, dsPIC, AVR and SAM), Serial EEPROM ...
. The memory architecture makes use of
bank switching Bank switching is a technique used in computer design to increase the amount of usable memory beyond the amount directly addressable by the processor instructions. It can be used to configure a system differently at different times; for example ...
. Software tools for assembler, debug and programming were only available for the Microsoft Windows operating system.


Description

The PIC16x84 is a microcontroller in the PIC family of controllers produced by Microchip Technology (originally named " Arizona Microchip"). It was Microchip's first microcontroller that utilised "EEPROM" memory technology for the program memory. The use of "EEPROM" technology for program memory has now been disused in favour of "FLASH" memory that is considerably cheaper to manufacture, releases less toxins into the atmosphere and is much more reliable than "EEPROM". Both "EEPROM" and "FLASH" utilise similar forms of "floating gate" technologies to operate. The device features one
8-bit In computer architecture, 8-bit Integer (computer science), integers or other Data (computing), data units are those that are 8 bits wide (1 octet (computing), octet). Also, 8-bit central processing unit (CPU) and arithmetic logic unit (ALU) arc ...
timer, and 13 I/O pins. The PIC16x84 became popular in many hobbyist applications because it uses a serial programming algorithm that lends itself to very simple programmers. Additionally, the PIC16C84 uses EEPROM memory, so it is easy to erase and requires no special tools to do so. The PIC16F84 and its updated version, the PIC16F84A both utilised FLASH program memory. The PIC16C84, PIC16C84A, PIC16F84 and the PIC16F84A all contain an additional 64 Bytes of EEPROM addressed from the "DATA" memory map. This additional memory is intended for use as "user data", hence the reason it can only be addressed from the "DATA" memory mapping.


F-version

The PIC16F84/PIC16F84A is an improved version of the PIC16C84, and almost completely compatible, with better program security and using
flash memory Flash memory is an electronic non-volatile computer memory storage medium that can be electrically erased and reprogrammed. The two main types of flash memory, NOR flash and NAND flash, are named for the NOR and NAND logic gates. Both us ...
instead of
EEPROM EEPROM (also called E2PROM) stands for electrically erasable programmable read-only memory and is a type of non-volatile memory used in computers, usually integrated in microcontrollers such as smart cards and remote keyless systems, or as a ...
memory for program memory. The PIC16F84/PIC16F84A has 68 bytes of RAM whilst the PIC16C84 has 36 bytes. Since the two chips are so similar they are often referred to by the term PIC16x84 (x is used as a
wildcard Wild card most commonly refers to: * Wild card (cards), a playing card that substitutes for any other card in card games * Wild card (sports), a tournament or playoff place awarded to an individual or team that has not qualified through normal pla ...
when referring to chips).


History

The PIC16C84 was introduced in 1993 and has been hailed as the first PIC microcontroller to feature a serial programming algorithm and EEPROM memory (it was preceded by the Motorola MC68HC805B6 and MC68HC805C4 along with the MC68HC11E2 with serial bootloader and EEPROM program storage released in the late 1980s). These chips lend themselves to hobby use: only a simple and cheap programmer is required to program, erase and reprogram the chip. As PIC16C84 supplies became limited due to it being discontinued, the PIC16F84 became popular as it is an almost drop-in replacement. New programming software was needed as the programming algorithm is different but the programming hardware required was the same. Even later (1998) Microchip Technology introduced the improved PIC16F84A which allowed for faster clock speeds (up to 20 MHz), faster programming, and decreased the current draw of the chip. The PIC16x84 microcontroller is a member of Microchip's 14-bit series (the instruction word size is 14 bits for all instructions), making the '84 a good development prototype for other similar but cheaper one-time-programmable 14-bit devices.


Recent pin-compatible variants

Microchip's product line has gone through many revisions since the 16x84 and more powerful, flexible, cheaper pin-compatible PICs have been developed. Existing PIC 16x84 code may require some modifications for these variants, namely making sure pins with multiple functions have been set up properly. * PIC 16F84A - 1K program memory, 68 bytes data memory, 64 bytes EEPROM, 1× timer (listed as a comparison) * PIC 16F628A - 2K program memory, 224 bytes data memory, 128 bytes EEPROM, 3× timers, hardware PWM, onboard 4 MHz/37 kHz RC oscillator. * PIC 16F648A - Same as 16F628A with 4K program memory. * PIC 16F88 - Nanowatt Technology variant, 4K program memory, 368 bytes data memory, 256 bytes EEPROM, 3× timers, hardware PWM, on-board 8 MHz/37 kHz precision oscillator, 7-input 10-bit ADC, synchronous serial port supporting SPI and
I²C I2C (Inter-Integrated Circuit, ), alternatively known as I2C or IIC, is a synchronous, multi-controller/multi-target (master/slave), packet switched, single-ended, serial communication bus invented in 1982 by Philips Semiconductors. It is wide ...
. * PIC 16F1827 - Nanowatt XLP Technology variant, 4K program memory, 368 bytes data memory, 256 bytes EEPROM, 5× timers, hardware PWM, onchip 32 MHz/31 kHz precision oscillator, 12-input 10-bit ADC, 4× PLL. * PIC 16F1847 - Nanowatt XLP Technology variant, 8K program memory, 1024 bytes data memory, 256 bytes EEPROM, 5× timers, hardware PWM, onchip 32 MHz/31 kHz precision oscillator, 12-input 10-bit ADC, 4× PLL. 5-bit DAC. This is an 8-bit enhanced mid-range core with 14 additional instructions and optimizations for the
C Programming Language ''The C Programming Language'' (sometimes termed ''K&R'', after its authors' initials) is a computer programming book written by Brian Kernighan and Dennis Ritchie, the latter of whom originally designed and implemented the language, as well as ...
.


See also

*
PIC microcontroller PIC (usually pronounced as ''"pick"'') is a family of microcontrollers made by Microchip Technology, derived from the PIC1650"PICmicro Family Tree", PIC16F Seminar Presentation originally developed by General Instrument's Microelectronics ...
*
Atmel AVR AVR is a family of microcontrollers developed since 1996 by Atmel, acquired by Microchip Technology in 2016. These are modified Harvard architecture 8-bit Reduced instruction set computer, RISC single-chip microcontrollers. AVR was one of the f ...
, competitor since 1996 (while PIC's maker bought
Atmel Atmel Corporation was a creator and manufacturer of semiconductors before being subsumed by Microchip Technology in 2016. Atmel was founded in 1984. The company focused on embedded systems built around microcontrollers. Its products included micr ...
in 2016 and now sells these chips too)


External links


Microchip.com
- official website
Official datasheet (2001)
PIC16F84A Data Sheet 18-pin Enhanced FLASH/EEPROM 8-bit Microcontroller

The bare necessity for PIC 16C84 & 16F84 Microchip Microcontrollers. Basics & indispensable info. {{Microchip Technology Microcontrollers