PIC16F785-I/P Microchip Technology Inc., PIC16F785-I/P Datasheet - Page 83
![no-image](/images/manufacturer_photos/0/4/440/microchip_technology_inc__sml.jpg)
PIC16F785-I/P
Manufacturer Part Number
PIC16F785-I/P
Description
MCU, 8-Bit, 2KW Flash, 128 RAM, 18 I/O, DIP-20
Manufacturer
Microchip Technology Inc.
Datasheet
1.PIC16F785-IP.pdf
(184 pages)
Specifications of PIC16F785-I/P
A/d Inputs
12-Channel, 10-Bit
Comparators
2
Cpu Speed
5 MIPS
Eeprom Memory
256 Bytes
Input Output
17
Memory Type
Flash
Number Of Bits
8
Package Type
20-pin PDIP
Programmable Memory
3.5K Bytes
Ram Size
128 Bytes
Speed
20 MHz
Timers
2-8-bit, 1-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part
Electrostatic Device
- Current page: 83 of 184
- Download datasheet (4Mb)
12.1.5
The A/D conversion is initiated by setting the
GO/DONE bit (ADCON0<1>). When the conversion is
complete, the A/D module:
• Clears the GO/DONE bit
• Sets the ADIF flag (PIR1<6>)
• Generates an interrupt (if enabled)
FIGURE 12-2:
12.1.6
The A/D conversion can be supplied in two formats: left
or right justified. The ADFM bit (ADCON0<7>) controls
the output format. Figure 12-3 shows the output
formats.
FIGURE 12-3:
© 2006 Microchip Technology Inc.
(ADFM = 0)
(ADFM = 1)
STARTING A CONVERSION
CONVERSION OUTPUT
T
CY
Set GO bit
Holding Capacitor is Disconnected from Analog Input (typically 100 ns)
to T
AD
Conversion Starts
A/D CONVERSION T
10-BIT A/D RESULT FORMAT
MSB
bit 7
bit 7
T
AD
Unimplemented: Read as ‘0’
1
T
AD
b9
ADRESH (ADDRESS:1Eh)
2
T
AD
b8
3
T
10-bit A/D Result
AD
b7
AD
4
CYCLES
T
Preliminary
AD
b6
5
MSB
T
AD
b5
6
bit 0
bit 0
If the conversion must be aborted, the GO/DONE bit
can be cleared in software. The ADRESH:ADRESL
registers will not be updated with the partially complete
A/D
ADRESH:ADRESL registers will retain the value of the
previous conversion. After an aborted conversion, a
2 T
be initiated. Following the delay, an input acquisition is
automatically started on the selected channel.
ADRESH and ADRESL registers are loaded,
GO bit is cleared,
ADIF bit is set,
Holding capacitor is connected to analog input
T
AD
b4
Note:
AD
7
delay is required before another acquisition can
T
PIC16F785/HV785
AD
b3
bit 7
bit 7
conversion
8
The GO/DONE bit should not be set in the
same instruction that turns on the A/D.
10-bit A/D Result
LSB
T
AD
b2
9
ADRESL (ADDRESS:9Eh)
T
AD
b1
Unimplemented: Read as ‘0’
10 T
sample.
AD
b0
11
DS41249D-page 81
Instead,
bit 0
LSB
bit 0
the
Related parts for PIC16F785-I/P
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC16F1507-E/ML](/photos/16/3/160361/qfn20_tmb.jpg)
Part Number:
Description:
3.5KB Flash, 128B RAM, 18 I/O, CLC, CWG, DDS, 10-bit ADC 20 QFN 4x4mm TUBE
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1507-E/P](/photos/16/12/161290/pdip20_tmb.jpg)
Part Number:
Description:
3.5KB Flash, 128B RAM, 18 I/O, CLC, CWG, DDS, 10-bit ADC 20 PDIP .300in TUBE
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1507-E/SO](/photos/16/12/161297/soic20_tmb.jpg)
Part Number:
Description:
3.5KB Flash, 128B RAM, 18 I/O, CLC, CWG, DDS, 10-bit ADC 20 SOIC .300in TUBE
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1507-E/SS](/photos/16/12/161299/ssop20_tmb.jpg)
Part Number:
Description:
3.5KB Flash, 128B RAM, 18 I/O, CLC, CWG, DDS, 10-bit ADC 20 SSOP .209in TUBE
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1507-I/ML](/photos/16/3/160361/qfn20_tmb.jpg)
Part Number:
Description:
3.5KB Flash, 128B RAM, 18 I/O, CLC, CWG, DDS, 10-bit ADC 20 QFN 4x4mm TUBE
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1507-I/P](/photos/16/12/161290/pdip20_tmb.jpg)
Part Number:
Description:
3.5KB Flash, 128B RAM, 18 I/O, CLC, CWG, DDS, 10-bit ADC 20 PDIP .300in TUBE
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1507-I/SO](/photos/16/12/161297/soic20_tmb.jpg)
Part Number:
Description:
3.5KB Flash, 128B RAM, 18 I/O, CLC, CWG, DDS, 10-bit ADC 20 SOIC .300in TUBE
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1507-I/SS](/photos/16/12/161299/ssop20_tmb.jpg)
Part Number:
Description:
3.5KB Flash, 128B RAM, 18 I/O, CLC, CWG, DDS, 10-bit ADC 20 SSOP .209in TUBE
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1507T-I/ML](/photos/16/3/160361/qfn20_tmb.jpg)
Part Number:
Description:
3.5KB Flash, 128B RAM, 18 I/O, CLC, CWG, DDS, 10-bit ADC 20 QFN 4x4mm T/R
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1507T-I/SO](/photos/16/12/161297/soic20_tmb.jpg)
Part Number:
Description:
3.5KB Flash, 128B RAM, 18 I/O, CLC, CWG, DDS, 10-bit ADC 20 SOIC .300in T/R
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1507T-I/SS](/photos/16/12/161299/ssop20_tmb.jpg)
Part Number:
Description:
3.5KB Flash, 128B RAM, 18 I/O, CLC, CWG, DDS, 10-bit ADC 20 SSOP .209in T/R
Manufacturer:
Microchip Technology
Datasheet:
![PIC16LF1507-E/ML](/photos/16/3/160361/qfn20_tmb.jpg)
Part Number:
Description:
3.5KB Flash, 128B RAM, 18 I/O, CLC, CWG, DDS, 10-bit ADC 20 QFN 4x4mm TUBE
Manufacturer:
Microchip Technology
Datasheet:
![PIC16LF1507-E/P](/photos/16/12/161290/pdip20_tmb.jpg)
Part Number:
Description:
3.5KB Flash, 128B RAM, 18 I/O, CLC, CWG, DDS, 10-bit ADC 20 PDIP .300in TUBE
Manufacturer:
Microchip Technology
Datasheet:
![PIC16LF1507-E/SO](/photos/16/12/161297/soic20_tmb.jpg)
Part Number:
Description:
3.5KB Flash, 128B RAM, 18 I/O, CLC, CWG, DDS, 10-bit ADC 20 SOIC .300in TUBE
Manufacturer:
Microchip Technology
Datasheet:
![PIC16LF1507-E/SS](/photos/16/12/161299/ssop20_tmb.jpg)
Part Number:
Description:
3.5KB Flash, 128B RAM, 18 I/O, CLC, CWG, DDS, 10-bit ADC 20 SSOP .209in TUBE
Manufacturer:
Microchip Technology
Datasheet: