27403 Parallax Inc, 27403 Datasheet - Page 138
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: 138 of 266
- Download datasheet (6Mb)
Since there's no more
QtiThresh
changed too. A
the
qtiThreshold
temp
'
'
'
'IF qtiThreshold > 220 THEN
'
'
'
'
' -----[ Subroutine - Read_Line_Sensors ]------------------------------
Read_Line_Sensors:
RCTIME qtiSigLeft, 1, temp
LOW qtiPwrLeft
multi = temp
HIGH qtiPwrRight
HIGH qtiSigRight
PAUSE 1
RCTIME qtiSigRight, 1, temp
multi = (multi + temp) / 2
multi = multi / 4
IF multi > 220 THEN
ELSE
ENDIF
WRITE QtiThresh, multi
RETURN
READ QtiThresh, Word temp
INPUT qtiSigLeft
INPUT qtiSigRight
variable. Then,
RCTIME qtiSigRight, 1, qtiRight
qtiThreshold = (qtiLeft + qtiRight) / 2
qtiThreshold = qtiThreshold / 4
ELSE
ENDIF
.
.
.
address in EEPROM, the
multi = multi - 220
threshold = 0
qtiThreshold = qtiThreshold - 220
qtiThreshold = 0
.
READ
command is used to copy the
qtiThreshold
PULSOUT DummyPin, temp
Read_Line_Sensors
variable and the value is instead stored at the
' <--- New measure charge time
' Turn left QTI off
' <--- Add
' Turn right QTI on
' Discharge capacitor
' Measure charge time
' <--- New measure charge time
' <--- New calculate average
' Take 1/4 average
' <--- New take 1/4 average
' <--- New
' <--- New
' <--- New
' <--- New
' <--- New
' <--- New threshold to EEPROM
' <-- Add get threshold time
' Start the decays
QtiThresh
' Account for code overhead
replaces
' Calculate average
subroutine will have to be
value from EEPROM to
PULSOUT DummyPIN,
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: