122-27400 Parallax Inc, 122-27400 Datasheet - Page 23
122-27400
Manufacturer Part Number
122-27400
Description
MANUAL FOR SUMOBOT
Manufacturer
Parallax Inc
Datasheet
1.27400.pdf
(77 pages)
Specifications of 122-27400
Accessory Type
Manual
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
SumoBot®
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
- Current page: 23 of 77
- Download datasheet (2Mb)
programmed to produce this waveform using any of its I/O pins. In this example, the
BASIC Stamp sends a 1500 µs pulse to P13 (left servo) and P12 (right servo). When the
pulse is done being executed the signal pin is low. Then, the BASIC Stamp creates a 20
ms pause.
This pulse train has a 1500 µs high time and a 20 ms low time. The high time is the main
ingredient for controlling a servo’s motion, and it is most commonly referred to as the
pulse width. Since these pulses go from low to high (0V to 5V) for a certain amount of
time, they are called positive pulses. Negative pulses would involve a resting state that’s
high with pulses that drop low.
The ideal pause between servo pulses is 20 milliseconds, but can be anything between 10
and 40 milliseconds without adversely affecting the servo’s performance.
A pulse width of 1500 µs (normally, the centering command) will cause the modified
servo to stop. To make the servo turn we must give change the pulse width toward either
end of the standard control range of 1000 to 2000 µs. Since the right side servo motor is
physically mirrored from the left, its control signals are as well. Figure 2.3 shows the
control signaling for the SumoBot servos.
The BASIC Stamp 2’s PULSOUT instruction works in increments of 2 micro-
seconds. For example, the following snippet of code creates a 1500 µs pulse:
PULSOUT P13, 750
Figure 2.3: Servo Pulse Train Analysis
Chapter 2: SumoBot Locomotion · Page 13
' 1500 us pulse on pin 13
Related parts for 122-27400
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
GUIDE STUDENT PROCESS CONTROL
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
GUIDE STUDENT SMART SENSORS
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
MANUAL PROPELLER
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
LEAD WIRES FLYING CABLE III/IV
Manufacturer:
Xilinx Inc
Datasheet:
Part Number:
Description:
BOARD ADAPTER AND FLY LEADS
Manufacturer:
Xilinx Inc
Datasheet:
Part Number:
Description:
PLATFORM CABLE USB II
Manufacturer:
Xilinx Inc
Datasheet:
Part Number:
Description:
KIT STARTER COOLRUNNER-II BUNDLE
Manufacturer:
Xilinx Inc
Datasheet:
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
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:
BOARD EXPERIMENT+LCD NX-1000
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
IC MCU 2K FLASH 50MHZ SO-18
Manufacturer:
Parallax Inc
Datasheet: