28122 Parallax Inc, 28122 Datasheet - Page 144

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
Exercises
Project
Solutions
1. Write a code block that sweeps the value of
2. Add a nested
1. Modify ServoControlWithDebug.bs2 so that it monitors a kill switch. If the kill
Q1. 1. Plug – Connects servo to power and signal sources
Q2. No, the LED just helps us see what's going on with the control signals.
Q3. The low time is controlled with the
Q4. A
Q5. Click the white field above the message display pane in the Debug Terminal and
Q6. A nested
E1. a)
FOR counter = 700 TO 800
NEXT
FOR counter = 800 TO 700
NEXT
Duration
pulses before incrementing the
switch (P3 pushbutton) is pressed, Debug Terminal should not accept any
commands. It should display: “Press Start switch to start machinery”. When the
start switch (P4 pushbutton) is pressed, the program should function normally. If
power is disconnected and reconnected, the program should behave as though
the kill switch has been pressed.
2. Cable – Conducts power and signals from plug into the servo.
3. Horn – The moving part of the servo.
4. Case – Contains DC motor, gears, and control circuits.
controlled with the
type the message you’d like to send. Use the
typed characters in the BASIC Stamp.
PULSOUT 14, counter
PAUSE 20
PULSOUT 14, counter
PAUSE 20
FOR...NEXT
IF...THEN
of 700 to 800, then back to 700, in increments of (a) 1, (b) 4.
FOR…NEXT
loop.
PULSOUT
statement.
loop to your answer to exercise 1b so that it delivers ten
command.
PULSOUT Duration
b) Add “STEP 4” to both FOR loops.
FOR counter = 700 TO 800 STEP 4
NEXT
FOR counter = 800 TO 700 STEP 4
NEXT
PAUSE
PULSOUT 14, counter
PAUSE 20
PULSOUT 14, counter
PAUSE 20
PULSOUT
DEBUGIN
command.
argument by 4.
controlling a servo from a
command to receive the
The high time is

Related parts for 28122