28122 Parallax Inc, 28122 Datasheet - Page 290

KIT WHAT'S A MICRO:PARTS ONLY

28122

Manufacturer Part Number
28122
Description
KIT WHAT'S A MICRO:PARTS ONLY
Manufacturer
Parallax Inc
Datasheet

Specifications of 28122

Accessory Type
Parts Kit
Product
Microcontroller Accessories
Core Processor
PIC16C57c
Flash
128 Bytes
Operating Supply Voltage
9 V
Board Size
31 mm x 16 mm
For Use With/related Products
Board of Education Full Kit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Pushbutton Circuit Parts
(2) Pushbuttons – normally open
(2) Resistors – 10 kΩ (brown-black-orange)
(2) Resistors – 220 Ω (red-red-brown)
(2) Jumper wires
Building the First Pushbutton Circuit
Build the pushbutton circuit shown in Figure 10-2.
Figure 10-2
First Pushbutton Circuit
Testing the First Pushbutton Circuit
Writing a program to test this circuit should be very simple by now, especially since
you’ve already done it before.
Example Program: ReadPushbuttonState.bs2
This is a repeat of the program for testing pushbuttons from Chapter #3:
P3
Enter and run the ReadPushbuttonState.bs2.
Verify that the BASIC Stamp is able to read the pushbutton.
Correct any problems you catch before moving on to the next circuit.
220
Vss
10
kΩ
Vdd
P15
P14
P13
P12
P11
P10
P9
P8
P7
P6
P5
P4
P3
P2
P1
P0
X2
X3
Vdd
Vin
Vss

Related parts for 28122