27404 Parallax Inc, 27404 Datasheet - Page 243
27404
Manufacturer Part Number
27404
Description
COMPETITION RING FOR SUMOBOT
Manufacturer
Parallax Inc
Datasheet
1.27404.pdf
(266 pages)
Specifications of 27404
Accessory Type
Hobby and Education
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: 243 of 266
- Download datasheet (6Mb)
To display all the datalogged values when
subroutine from the previous activity's example program is used. So, its conditional
compiler directive has to be adjusted as well.
' -----[ Subroutine - Display_All ]-------------------------------------------
#IF DEBUG_MODE = 1 OR DATALOG_MODE = 2 #THEN
Example Program: SumoWrestlerWithDataLogMode.bs2
This example program can be used to both record and play back the EEPROM values
recorded by a match. You can use it to see what the SumoBot saw and understand what
decisions it made during a round. It will be especially useful for both tuning the sensors
and making adjustments to your competition code. Any time the SumoBot makes a move
that causes it to lose a round, you can use this program to understand how it happened
and correct the problem.
The program has the same debugging functionality as the previous activity's example
program. It's best to start by leading the SumoBot around with your hand so that you can
have a good guess which sensors detect your hand and which maneuvers it should make.
When you use two SumoBots make sure that both are logging data. Reason being, the
WRITE
the servos slightly. If both are logging data, the playing field is still even.
√
√
√
√
√
.
.
.
commands between pulses extend the low time long enough that it slows down
Enter and save SumoWrestlerWithDataLogMode.bs2
To log a match, start by setting
Download the program to the SumoBot and disconnect the serial cable.
Place it on the competition ring, and press and release the Reset button.
Place your hand in front of various object detectors as you make mental notes of
how it responds.
Did you skip ahead to get here? If you skipped any thing in Chapter 3 or 4, go back
and do it now.
The programs that follow are dependent upon the sensor circuits built, tested and calibrated
in the previous activities in Chapter 3 and 4.
DEBUG_MODE = 0
DATALOG_MODE = 2
and
DATALOG_MODE = 1
, the same
Display_All
.
Related parts for 27404
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:
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:
Part Number:
Description:
IC MCU 2K FLASH 50MHZ 28SSOP
Manufacturer:
Parallax Inc
Datasheet: