DM163035+TEFLCST3 Microchip Technology, DM163035+TEFLCST3 Datasheet - Page 95

no-image

DM163035+TEFLCST3

Manufacturer Part Number
DM163035+TEFLCST3
Description
KIT, PICDEMLAB+FLOWCODE-HOME BUNDLE/
Manufacturer
Microchip Technology
Datasheet

Specifications of DM163035+TEFLCST3

Kit Contents
Component Kit, PICDEM Lab Development Board, PICkit 2 Programmer/ Debugger, CD Containing User Guide
Svhc
No SVHC (15-Dec-2010)
Development Tool Type
Hardware / Software - Dev
Silicon Manufacturer
Microchip
Core Architecture
PIC
Core Sub-architecture
PIC10, PIC12, PIC16
Silicon Core Number
PIC10F, PIC12F, PIC16F
Silicon Family Name
PIC10F2xx, PIC12F6xx, PIC16F6xx
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
© 2009 Microchip Technology Inc.
4.2.3
4.2.3.1
These registers are configured in the background automatically by the Flowcode
Software using the ADC component and do not require any user manipulation:
1. ADC Control Register 0: ADCON0 (Register 9-1 in Section 9 of the PIC16F690
2. ADC Control Register 1: ADCON1 (Register 9-2 in Section 9 of the PIC16F690
3. ADC Result Register HIGH: ADRESH (see Register 9-3 in Section 9 of the
4. ADC Result Register LOW: ADRESL (see Register 9-4 in Section 9 of the
4.2.3.2
In this lab, the ADC peripheral on the PIC16F690 is used to perform a simple
conversion of the analog voltage present on RB4/AN10 pin. The voltage is varied using
a 100 KΩ potentiometer and compared against the V
features component specific macros for the ADC and will be used to capture the 8-bit
representation of the voltage level. The 8-bit result will then be assigned to PORTC to
light LEDs connected to its 8 pins for display.
The PICDEM Lab Development Board configuration schematic is shown in Figure 4-3.
Analog-to-Digital Converter Peripheral Labs
- Configures ADC conversion result justification
- Select ADC reference voltage
- Selects ADC input channel (i.e., pin with analog voltage to be converted)
- Starts ADC conversion and determines when ADC conversion is complete
- Enables the ADC peripheral
- Determines ADC conversion clock
- Holds upper 8-bits or upper 2-bits (depending on justification selected) of
- Holds lower 8-bits or lower 2-bit (depending on justification selected) of 10-bit
data sheet)
data sheet)
PIC16F690 data sheet)
10-bit ADC conversion result
PIC16F690 data sheet)
ADC conversion result
Lab 1: Simple ADC
NEW REGISTERS USED IN THIS LAB
OVERVIEW
DD
voltage internally. Flowcode
DS41381A-page 89

Related parts for DM163035+TEFLCST3