28123 Parallax Inc, 28123 Datasheet - Page 89

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
ACTIVITY #3: PUSHBUTTON CONTROL OF AN LED CIRCUIT
Figure 3-10 shows a zoomed in view of a pushbutton and LED used to adjust the settings
on a computer monitor. This is just one of many devices that have a pushbutton that you
can press to adjust the device and an LED to show you the device’s status.
The BASIC Stamp can be programmed to make decisions based on what it senses. For
example, it can be programmed to decide to flash the LED on/off ten times per second
when the button is pressed.
Pushbutton and LED Circuit Parts
(1) Pushbutton – normally open
(1) Resistor - 10 kΩ (brown-black-orange)
(1) LED – any color
(1) Resistor – 220 Ω (red-red-brown)
(1) Resistor – 470 Ω (yellow-violet-brown)
(2) Jumper wires
Building the Pushbutton and LED Circuits
Figure 3-11 shows the pushbutton circuit used in the activity you just finished along with
the LED circuit used in Chapter #2, Activity #2.
Figure 3-10
Button and LED on
a Computer Monitor

Related parts for 28123