122-27400 Parallax Inc, 122-27400 Datasheet - Page 29
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: 29 of 77
- Download datasheet (2Mb)
The core of the program, at the label Main , is broken down into several sections:
Note: If the SumoBot starts by backing up, the motor connections are reversed. Move
the power switch to position 0 (off), change the connections, and then move the power
switch back to position 2 to retest. You could change the firmware as well, but then
you'll need to change all the SumoBot programs included in this kit.
Each movement section is constructed using a FOR-NEXT control loop to give the
motors enough time to perform the actual movements. You may notice that the SumoBot
does not move precisely as the code dictates that it should. Do not be alarmed. Small
variations in motors may cause the SumoBot to veer slightly to one side or the other
when it should be moving straight.
This condition can be corrected (more precisely, tuned) by modifying the speed constants
for the motors. If, for example, the SumoBot veers to the left when it should be moving
straight, you may want to reduce the right motor speed a bit to correct the path of travel.
The same holds true for the turns. In this case, the motor speed is not the culprit. To
adjust turns, modify the FOR-NEXT loop end-point value and retest. If the SumoBot
turns too much, reduce the loop end-point. If it doesn't turn quite enough, increase the
loop end-point value.
•
•
•
•
•
•
•
Move forward slowly
Pivot turn 90 degrees on left wheel
Move forward quickly
Pivot turn 180 degrees on right wheel
Move forward quickly
Spin turn (rotates SumoBot around its own center) 360 degrees
Hold position
Chapter 2: SumoBot Locomotion · Page 19
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: