27403 Parallax Inc, 27403 Datasheet - Page 127
27403
Manufacturer Part Number
27403
Description
GUIDE APP ROBOTCS W/SUMOBOT V1.0
Manufacturer
Parallax Inc
Datasheet
1.27404.pdf
(266 pages)
Specifications of 27403
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: 127 of 266
- Download datasheet (6Mb)
The subroutine for the pushbutton needs a different approach. Remember that
and
output
Read_Line_Sensors
√
√
√
√
√
DummyPin
Start by opening all of the following programs:
Save QtiPulseDecayTrick.bs2 as TestAllSensors.bs2
Copy and paste the I/O definitions and variables from the other programs into
your new program.
Add one more bit variable that was not found in the other programs, to store the
state of the pushbutton:
pushbutton
Make subroutines for the speaker, IR detectors, and QTI detectors from the
functional portions of their test programs. If the actual work of a sensor is done
in the program's Main Routine, (like IR object detection), paste that part of the
routine into a subroutine. For example, a
could take four lines from the Main Routine of TestFrontIrObjectDetectors.bs2,
and four more from TestSideIrObjectDetectors.bs2.
Read_Object_Detectors:
when
FREQOUT IrLedRS, 1, IrFreq
irRS = ~IrSenseRS
FREQOUT IrLedRF, 1, IrFreq
irRF = ~IrSenseRF
FREQOUT IrLedLF, 1, IrFreq
irLF = ~IrSenseLF
FREQOUT IrLedLS, 1, IrFreq
irLS = ~IrSenseLS
RETURN
o
o
o
o
o
both reference P6, which is serving two purposes. It's getting used as an
TestLedSpeaker.bs2
TestPushButton.bs2
TestFrontIrObjectDetectors.bs2
QtiPulseDecayTrick.bs2
TestSideIrObjectDetectors.bs2
DummyPin
subroutine. For P6 to next be used to monitor the pushbutton, it
VAR
sends
Bit
the
PULSOUT
Read_Object_Detectors
' Right side IR LED headlight
' Save right side IR receiver
' Repeat for right-front
' Repeat for left-front
' Repeat for left side
command
pulses
from
subroutine
pbSense
the
Related parts for 27403
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:
COMPETITION RING FOR SUMOBOT
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: