28123 Parallax Inc, 28123 Datasheet - Page 106
28123
Manufacturer Part Number
28123
Description
TEXT WHAT'S A MICROCONTROLLER
Manufacturer
Parallax Inc
Type
Programmingr
Datasheet
1.28123.pdf
(340 pages)
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
- Current page: 106 of 340
- Download datasheet (6Mb)
SUMMARY
This chapter introduced the pushbutton and common pushbutton circuits. This chapter
also introduced how to build and test a pushbutton circuit and how to use the BASIC
Stamp to read the state of one or more pushbuttons. The BASIC Stamp was programmed
to make decisions based on the state(s) of the pushbutton(s) and this information was
used to control LED(s). A reaction timer game was built using these concepts. In
addition to controlling LEDs, the BASIC Stamp was programmed to poll a pushbutton
and take time measurements.
Reading individual pushbutton circuits using the special I/O variables built into the
BASIC Stamp (
using
also introduced. For evaluating more than one condition, the
introduced. Adding a condition to a
along with nesting
Questions
Exercises
1. What is the difference between sending and receiving
2. What does “normally open” mean in regards to a pushbutton?
3. What happens between the terminals of a normally open pushbutton when you
4. What is the value of
5. What does the command
6. What kind of code blocks can be used for making decisions based on the value
7. What does the
1. Explain how to modify ReadPushbuttonState.bs2 on page 77 so that it reads the
2. Explain how to modify ReadPushbuttonState.bs2 so that it reads a normally open
IF…THEN…ELSE
using the BASIC Stamp?
press it?
value of
of one or more pushbuttons?
pushbutton every second instead of every ¼ second.
pushbutton circuit with a pull-up resistor connected to I/O pin P6.
IN3
IN3
DO…LOOP
,
IN4
when a pushbutton connects it to Vss?
statements,
HOME
, etc.) was introduced. Making decisions based on these values
code blocks.
formatter do in the statement
IN3
DEBUG ? IN3
IF…ELSEIF…ELSE
when a pushbutton connects it to Vdd? What is the
DO…LOOP
using the
do?
statements, and code blocks were
UNTIL
DEBUG HOME
AND
keyword was introduced
HIGH
and
?
OR
and
operators were
LOW
signals
Related parts for 28123
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
Part Number:
Description:
BOOK UNDERSTANDING SIGNALS
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
COMPETITION RING FOR SUMOBOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
TEXT INFRARED REMOTE FOR BOE-BOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BOARD EXPERIMENT+LCD NX-1000
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
CONTROLLER 16SERVO MOTOR CONTROL
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BASIC STAMP LOGIC ANALYZER
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
IC MCU 2K FLASH 50MHZ SO-18
Manufacturer:
Parallax Inc
Datasheet: