28123 Parallax Inc, 28123 Datasheet - Page 130

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
The BASIC Stamp will display the message “Servo is running…” while it is sending
pulses to the servo. When it is done sending pulses to the servo, it will display the
message “Done” for one second. Then, it will prompt you to enter the number of pulses
again. Have fun with it, but make sure to follow the directive in the caution box about
staying between 500 and 1000 for your
Echo is when you send a message, and a copy of that message appears in your Receive
Windowpane. You can click the Echo Off checkbox (shown below) to make a checkmark
appear in it. This will make the Debug Terminal stop displaying these echoes.
Enter ServoControlWithDebug.bs2 into the BASIC Stamp Editor and run it.
If the Transmit Windowpane is too small, resize it using your mouse to click,
hold, and drag the separator downward. The separator is shown just above the
text message: “Enter number of pulses:” in Figure 4-19.
Click the upper, Transmit Windowpane to place your cursor there for typing
messages.
When the Debug Terminal prompts you to, “Enter number of pulses:”, type the
number 100, then press enter.
When the Debug Terminal prompts you to “Enter PULSOUT duration:” type
the number 850, then press enter.
The
numbers outside that range, the servo may try to rotate to a position beyond its own
mechanical limits. Although it will not break the servo, it could shorten the device’s lifespan.
PULSOUT Duration
should be a number between 500 and 1000. If you enter
PULSOUT
value.
Figure 4-19
Debug Terminal’s Windowpanes:
← Transmit Windowpane
← Receive Windowpane

Related parts for 28123