122-27400 Parallax Inc, 122-27400 Datasheet - Page 42
![MANUAL FOR SUMOBOT](/photos/8/99/89964/mfg_122-27400_sml.jpg)
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: 42 of 77
- Download datasheet (2Mb)
Page 32 · SumoBot – Mini Sumo Robotics
Spin_Right:
About_Face:
' -----[ Subroutines ]-----------------------------------------------------
Read_Line_Sensors:
HOW IT WORKS
This program incorporates a very handy technique created by Andy Lindsay that allows
the operator to use the SumoBot PCB's Reset button for Run/Don't Run control. This is
GOTO Main
FOR pulses = 1 TO 20
NEXT
GOTO Main
FOR pulses = 1 TO 10
NEXT
FOR pulses = 1 TO 30
NEXT
GOTO Main
END
HIGH LLinePwr
HIGH RLinePwr
HIGH LLineIn
HIGH RLineIn
PAUSE 1
RCTIME LLineIn, 1, lLine
RCTIME RLineIn, 1, rLine
LOW LLinePwr
LOW RLinePwr
' convert readings to bits
LOOKDOWN lLine, >=[1000, 0], lbLeft
LOOKDOWN rLine, >=[1000, 0], lbRight
RETURN
PULSOUT LMotor, LFwdFast
PULSOUT RMotor, RRevFast
PAUSE 20
PULSOUT LMotor, LRevFast
PULSOUT RMotor, RRevFast
PAUSE 20
PULSOUT LMotor, LFwdFast
PULSOUT RMotor, RRevFast
PAUSE 20
' back up from edge
' turn around
' activate sensors
' discharge caps
' read left sensor
' read right sensor
' deactivate sensors
' 0 = black, 1 = line
Related parts for 122-27400
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![122-28176](/photos/8/99/89965/mfg_122-28176_tmb.jpg)
Part Number:
Description:
GUIDE STUDENT PROCESS CONTROL
Manufacturer:
Parallax Inc
Datasheet:
![122-28029](/photos/8/99/89971/mfg_122-28029_tmb.jpg)
Part Number:
Description:
GUIDE STUDENT SMART SENSORS
Manufacturer:
Parallax Inc
Datasheet:
![122-32000](/photos/8/99/89977/mfg_122-32000_tmb.jpg)
Part Number:
Description:
MANUAL PROPELLER
Manufacturer:
Parallax Inc
Datasheet:
![HW-FLYLEADS](/photos/8/95/89575/hw-flyleads_tmb.jpg)
Part Number:
Description:
LEAD WIRES FLYING CABLE III/IV
Manufacturer:
Xilinx Inc
Datasheet:
![HW-USB-FLYLEADS-G](/photos/8/95/89577/hw-usb-flyleads-g_tmb.jpg)
Part Number:
Description:
BOARD ADAPTER AND FLY LEADS
Manufacturer:
Xilinx Inc
Datasheet:
![HW-USB-II-G](/photos/8/95/89581/hw-usb-ii-g_tmb.jpg)
Part Number:
Description:
PLATFORM CABLE USB II
Manufacturer:
Xilinx Inc
Datasheet:
![HW-CRII-PM-ACC-G](/photos/8/98/89837/hw-crii-pm-acc-g_tmb.jpg)
Part Number:
Description:
KIT STARTER COOLRUNNER-II BUNDLE
Manufacturer:
Xilinx Inc
Datasheet:
![30008](/images/manufacturer_photos/0/5/515/parallax_inc_tmb.jpg)
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
![30008](/images/manufacturer_photos/0/5/515/parallax_inc_tmb.jpg)
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
![70009](/photos/26/92/269208/70009-l_tmb.jpg)
Part Number:
Description:
BOOK UNDERSTANDING SIGNALS
Manufacturer:
Parallax Inc
Datasheet:
![28135](/images/manufacturer_photos/0/5/515/parallax_inc_tmb.jpg)
Part Number:
Description:
BOARD EXPERIMENT+LCD NX-1000
Manufacturer:
Parallax Inc
Datasheet:
![SX18AC/SO](/images/manufacturer_photos/0/5/515/parallax_inc_tmb.jpg)
Part Number:
Description:
IC MCU 2K FLASH 50MHZ SO-18
Manufacturer:
Parallax Inc
Datasheet: