PIC16F506-I/P Microchip Technology, PIC16F506-I/P Datasheet - Page 51
![IC PIC MCU FLASH 1KX14 14DIP](/photos/6/59/65935/150-14-dip_sml.jpg)
PIC16F506-I/P
Manufacturer Part Number
PIC16F506-I/P
Description
IC PIC MCU FLASH 1KX14 14DIP
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets
1.PIC12F510-ISN.pdf
(124 pages)
2.PIC16F506-ISL.pdf
(12 pages)
3.PIC16F506-ISL.pdf
(8 pages)
4.PIC16F506-ISL.pdf
(22 pages)
5.PIC16F506-IP.pdf
(114 pages)
Specifications of PIC16F506-I/P
Program Memory Type
FLASH
Program Memory Size
1.5KB (1K x 12)
Package / Case
14-DIP (0.300", 7.62mm)
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
POR, WDT
Number Of I /o
11
Ram Size
67 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 4x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
67 B
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
12
Number Of Timers
1
Maximum Operating Temperature
+ 85 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
Minimum Operating Temperature
- 40 C
On-chip Adc
3-ch x 8-bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
AC162070 - HEADER INTRFC MPLAB ICD2 8/14P
Eeprom Size
-
Connectivity
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F506-I/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
8.0
The Comparator Voltage Reference module also
allows the selection of an internally generated voltage
reference for one of the C2 comparator inputs. The
VRCON register (Register 8-1) controls the Voltage
Reference module shown in Figure 8-1.
8.1
The voltage reference can output 32 voltage levels; 16
in a high range and 16 in a low range.
Equation 8-1 determines the output voltages:
EQUATION 8-1:
REGISTER 8-1:
© 2006 Microchip Technology Inc.
VRR = 0 (high range):
VRR = 1 (low range): CV
CV
COMPARATOR VOLTAGE
REFERENCE MODULE
(PIC16F506 ONLY)
Configuring The Voltage
Reference
REF
bit 7
bit 6
bit 5
bit 4
bit 3-0
= (V
DD
/4) + (VR3:VR0 x V
VRCON: PIC16F506 ONLY (ADDRESS: 0Ch)
VREN: CV
1 = CV
0 = CV
VROE: CV
1 = V
0 = V
VRR: CV
1 = Low range
0 = High range
Unimplemented: Read as ‘0’
VR<3:0> CV
When V
When V
Legend:
R = Readable bit
-n = Value at POR
bit 7
REF
R/W-0
VREN
Note 1: When this bit is set, the TRIS for the V
= (VR3:VR0/24) x V
REF
REF
REF
REF
RR
RR
2: V
REF
output is enabled
output is disabled
REF
REF
= 1: CV
= 0: CV
is powered on
is powered down, no current is drawn
is placed on the V
only.
REF
REF
Range Selection bit
R/W-0
VROE
Enable bit
Output Enable bit
DD
Value Selection bit
controls for ratio metric reference applies to Comparator 2 on the PIC12F506
/32)
REF
REF
= (VR<3:0>/24)*V
= V
DD
R/W-1
DD
VRR
Preliminary
W = Writable bit
‘1’ = Bit is set
/4+(VR<3:0>/32)*V
REF
(1)
pin.
U-0
—
8.2
The full range of V
construction of the module. The transistors on the top
and bottom of the resistor ladder network (Figure 8-1)
keep CV
tion is when the module is disabled by clearing the
VREN bit (VRCON<7>). When disabled, the reference
voltage is V
(VRCON<5>) bit is set. This allows the comparator to
detect a zero-crossing and not consume the CV
module current.
The voltage reference is V
the CV
tested absolute accuracy of the comparator voltage ref-
erence can be found in Section 13.2 “DC Character-
istics: PIC12F510/16F506 (Extended)”.
DD
PIC12F510/16F506
REF
DD
REF
Voltage Reference Accuracy/Error
REF
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
R/W-1
output changes with fluctuations in V
VR3
SS
from approaching V
pin is overridden and the analog voltage
when VR<3:0> is ‘0000’ and the VRR
SS
to V
R/W-1
VR2
DD
DD
cannot be realized due to
derived and, therefore,
x = Bit is unknown
SS
R/W-1
VR1
or V
DS41268B-page 49
DD
. The excep-
R/W-1
VR0
DD
. The
bit 0
REF