DM163035 Microchip Technology, DM163035 Datasheet - Page 29

KIT DEVELOPMENT PICDEM LAB

DM163035

Manufacturer Part Number
DM163035
Description
KIT DEVELOPMENT PICDEM LAB
Manufacturer
Microchip Technology
Type
MCUr
Datasheet

Specifications of DM163035

Contents
Board, Cable, Components, CD, PICkit Programmer
Processor To Be Evaluated
PIC10F, PIC12F615, PIC16F616
Data Bus Width
8 bit
Operating Supply Voltage
1.3 V to 5 V
Silicon Manufacturer
Microchip
Core Architecture
PIC
Core Sub-architecture
PIC10, PIC12, PIC16
Silicon Core Number
PIC10F, PIC12F, PIC16F
Silicon Family Name
PIC10F2xx, PIC12F6xx, PIC16F6xx
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
PIC10F206, PIC16F690, PIC16F819
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
© 2009 Microchip Technology Inc.
FIGURE 3-9:
8. Press button1 shown in Figure 3-9 to program the PIC16F690.
3.3.4.4
Once programmed, the LEDs connected to the individual PORTC pins should now
resemble the output shown in Figure 3-10.
FIGURE 3-10:
The solution for this project is located in the
C:\PICDEM_Lab\GPIO_Labs\GPIO_Lab1\solution directory.
3.3.5
3.3.5.1
This lab implements a software delay to flash the LEDs connected to the PORTC pins
on/off in 1 second intervals. As configured, the PIC16F690 executes 1 million instruc-
tions per second. At this rate, the software loop execution needs to be slowed down so
that the LED flashing is visible to the eye. This is done using a delay routine within the
Timing() functional block called from the main() software control loop as shown in
Figure 3-11.
R8
470Ω
LED ON
LED8
TESTING THE APPLICATION
Lab 2: Flash LEDs (Delay Loop)
OVERVIEW
Legend:
1. Program the target device
2. Read target device memories
3. Read the target EEDATA memory
4. Verify the contents of the target device
5. Erase the target device memories
6. Verify that target memories are erased
7. Bring target MCLR to V
8. Bring target MCLR to V
9. Re-establish PICkit 2 connection
LED7
R7
470Ω
General Purpose Input/Output Labs
LED OFF
1
PICkit 2 PROGRAMMER/DEBUGGER TOOLBAR
LAB 1 LED OUTPUT
LED6
R6
470Ω
2
3
LED5
R5
470Ω
4
5
IL
DD
LED4
R4
470Ω
6
V
SS
7
R3
470Ω
LED3
8
9
LED2
R2
470Ω
LED1
R1
470Ω
DS41369A-page 25

Related parts for DM163035