Datasheet

Table of Contents ยท Page i
Table of Contents
Preface........................................................................................................................iii
Introduction................................................................................................................ iii
Educator Resources..................................................................................................iv
The Stamps In Class Educational Series .................................................................. iv
Foreign Translations...................................................................................................v
Special Contributors.................................................................................................. vi
Chapter #1: Mechanical Adjustments ......................................................................7
Before You Get Started ..............................................................................................7
Small Adjustments can Make a Big Difference ..........................................................7
ACTIVITY #1: Adjusting the Plow...............................................................................8
ACTIVITY #2: Preventing Servo SlowDown.............................................................16
ACTIVITY #3: Friction Forces - Your SumoBot's Allies............................................22
Summary..................................................................................................................38
Chapter #2: EEPROM Tricks and Program Tips....................................................41
EEPROM and Program Management ......................................................................41
ACTIVITY #1: A Closer Look at the EEPROM .........................................................42
ACTIVITY #2: Using and Reusing Variables............................................................50
ACTIVITY #3: Program On/Off with Reset ...............................................................55
ACTIVITY #4: Pushbutton, LED, and Speaker.........................................................58
ACTIVITY #5: Pushbutton Program Mode Selection ...............................................65
ACTIVITY #6: Integrating Programs.........................................................................69
Summary..................................................................................................................75
Chapter #3: Sensor Management............................................................................77
Sensors - Testing, Tuning, and Storing the Results.................................................77
ACTIVITY #1: Testing and Tuning Infrared Object Detectors ..................................78
ACTIVITY #2: A Closer Look at the QTI Line Sensors.............................................95
ACTIVITY #3: Self Calibrating QTI Sensors...........................................................102
ACTIVITY #4: Reading the QTI Sensors More Quickly..........................................107
ACTIVITY #5: Adding and Testing Sensors and Indicators ...................................117
ACTIVITY #6: Testing All Sensors .........................................................................122
ACTIVITY #7: Organizing Sensors with Flag Bits ..................................................129
ACTIVITY #8: Variable Management for Large Programs .....................................132
Summary................................................................................................................140
Chapter #4: Navigation Tips..................................................................................143
Sensor Flags and Navigation States ......................................................................143
ACTIVITY #1: Servo Control with Lookup Commands...........................................144
ACTIVITY #2: Setting Your Sights on the Opponent..............................................155