28123 Parallax Inc, 28123 Datasheet - Page 290

TEXT WHAT'S A MICROCONTROLLER

28123

Manufacturer Part Number
28123
Description
TEXT WHAT'S A MICROCONTROLLER
Manufacturer
Parallax Inc
Type
Programmingr
Datasheet

Specifications of 28123

Style
Book
Title
What's a Microcontroller?
Contents
Whats a Microcontroller? Text
Product
Microcontroller Accessories
Core Processor
PIC16C57c
Flash
128 Bytes
Operating Supply Voltage
9 V
Board Size
31 mm x 16 mm
Lead Free Status / RoHS Status
Not applicable / Not applicable
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 28123