DM163035 Microchip Technology, DM163035 Datasheet - Page 43

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-18:
The only change from the previous section is the inclusion of a push button connected
to RA2 with associated pull-up resistor.
3.4.4
3.4.4.1
To configure the peripherals used in this lab, the following registers are used:
1. PORTA Register: PORTA (Register 4-1 in Section 4 of the PIC16F690 Data
2. PORTA Tri-State Register: TRISA (Register 4-2 in Section 4 of the PIC16F690
3.4.4.2
This lab expands upon Lab 4 by adding a push button interface to change the direction
of the sequential shift in the PORTC register.
Mechanical switches play an important and extensive role in practically every
computer, microprocessor and microcontroller application. Mechanical switches are
inexpensive, simple and reliable. However, switches can be very noisy electrically. The
apparent noise is caused by the closing and opening action that seldom results in a
clean electrical transition. The connection makes and breaks several, perhaps even
hundreds, of times before the final switch state settles. The problem is known as switch
bounce. Some of the intermittent activity is due to the switch contacts actually bouncing
off each other. Also, switch contacts are not perfectly smooth. As the contacts move
against each other, the imperfections and impurities on the surfaces cause the
electrical connection to be interrupted. The result is switch bounce. The consequences
R8
470Ω
LED8
- 8-bit bidirectional port
- Configures corresponding bits in PORTA as either input or output
Sheet)
Data Sheet)
Lab 5: Adding a Push Button
NEW REGISTERS USED IN THIS LAB
OVERVIEW
LED7
R7
470Ω
General Purpose Input/Output Labs
LED6
R6
470Ω
PICDEM LAB SCHEMATIC FOR GPIO INPUT LABS
J8
LED5
R5
470Ω
10
1
2
3
4
5
6
7
8
9
RC6
RC7
RC5
RC4
RC3
U2
LED4
R4
470Ω
RC0
RA2
RC1
RC2
V
SS
20
19
18
17
16
15
14
13
12
11
R3
470Ω
LED3
J9
LED2
R2
470Ω
V
DD
R9
10KΩ
LED1
R1
470Ω
SW1
DS41369A-page 39
V
SS

Related parts for DM163035