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

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.
EQUATION 3-2:
The Initialize functional block from the previous lab now must configure both the
Comparator 1 peripheral and the CV
Changes to the PICDEM Development Board configuration schematic for this lab are
shown in Figure 3-8.
FIGURE 3-8:
3.2.5.3
1. Create a new project in Flowcode saving the project as
- Turn on Comparator 1
- Select CV
- Continue to use the C12IN0- pin as the inverting reference
- Turn on CV
- Select the low-range feature
- Set the CV
VRR = 1 (Low-Range):
Known: desired CV
Therefore:
Comparator_Lab2.fcf in the
C:\PICDEM_Lab\flowcode\Comparator_Labs\Comparator_Lab2
directory.
PROCEDURE
J8
REF
REF
REF
the non-inverting reference for Comparator 1
Value Selection bits as per the calculation in Equation 3-2.
SCHEMATIC FOR COMPARATOR LAB 2
Calculating a 2.5V Internal Reference (Low-Range Method)
10
1
2
3
4
5
6
7
8
9
CV
2.5V = (VR<3:0>/24 x 5V
2.5V/5V = (VR<3:0>/24)
(2.5V/5V) x 24 = VR<3:0>
VR<3:0> = 12
REF
REF
= 2.5V, V
U2
C12IN0-
C1OUT
= (VR<3:0>/24) x V
10
DD
20
19
18
17
16
15
14
13
12
11
REF
or 1100
approximately 5V
J9
as follows:
Comparator Peripheral
LED1
2
DD
V
R4
470Ω
SS
VR0 = 0
VR1 = 0
VR2 = 1
VR3 = 1
V
DD
V
R3
100 KΩ
SS
DS41381A-page 73

Related parts for DM163035+TEFLCST3