PIC16F873-04/SP Microchip Technology, PIC16F873-04/SP Datasheet - Page 115

IC MCU FLASH 4KX14 EE 28DIP

PIC16F873-04/SP

Manufacturer Part Number
PIC16F873-04/SP
Description
IC MCU FLASH 4KX14 EE 28DIP
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F873-04/SP

Program Memory Type
FLASH
Program Memory Size
7KB (4K x 14)
Package / Case
28-DIP (0.300", 7.62mm)
Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
22
Eeprom Size
128 x 8
Ram Size
192 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 5x10b
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
192 B
Interface Type
MSSP/PSP/USART
Maximum Clock Frequency
4 MHz
Number Of Programmable I/os
22
Number Of Timers
3
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 70 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, DM163022, DV164120
Minimum Operating Temperature
0 C
On-chip Adc
5-ch x 10-bit
Data Rom Size
128 B
A/d Bit Size
10 bit
A/d Channels Available
5
Height
3.3 mm
Length
34.67 mm
Supply Voltage (max)
5.5 V
Supply Voltage (min)
4 V
Width
7.24 mm
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F873-04/SP
Manufacturer:
MIC
Quantity:
2 760
Part Number:
PIC16F873-04/SP
Manufacturer:
MIC
Quantity:
2 760
These steps should be followed for doing an A/D
Conversion:
1.
2.
FIGURE 11-1:
2001 Microchip Technology Inc.
Configure the A/D module:
Configure A/D interrupt (if desired):
• Set PEIE bit
• Set GIE bit
• Configure analog pins/voltage reference and
• Select A/D input channel (ADCON0)
• Select A/D conversion clock (ADCON0)
• Turn on A/D module (ADCON0)
• Clear ADIF bit
• Set ADIE bit
Note 1: Not available on PIC16F873/876 devices.
digital I/O (ADCON1)
Converter
A/D
A/D BLOCK DIAGRAM
(Reference
(Reference
Voltage)
Voltage)
V
V
REF
REF
-
+
(Input Voltage)
PCFG3:PCFG0
PCFG3:PCFG0
V
AIN
V
V
DD
SS
3.
4.
5.
6.
7.
Wait the required acquisition time.
Start conversion:
• Set GO/DONE bit (ADCON0)
Wait for A/D conversion to complete, by either:
• Polling for the GO/DONE bit to be cleared
• Waiting for the A/D interrupt
Read
(ADRESH:ADRESL), clear bit ADIF if required.
For the next conversion, go to step 1 or step 2,
as required. The A/D conversion time per bit is
defined as T
required before the next acquisition starts.
(with interrupts enabled); OR
CHS2:CHS0
A/D
111
110
101
100
011
010
001
000
AD
. A minimum wait of 2T
result
PIC16F87X
register
DS30292C-page 113
RA1/AN1
RE2/AN7
RA2/AN2/V
RA0/AN0
RE1/AN6
RE0/AN5
RA5/AN4
RA3/AN3/V
(1)
(1)
(1)
AD
REF
REF
pair
-
+
is

Related parts for PIC16F873-04/SP