27404 Parallax Inc, 27404 Datasheet - Page 129

COMPETITION RING FOR SUMOBOT

27404

Manufacturer Part Number
27404
Description
COMPETITION RING FOR SUMOBOT
Manufacturer
Parallax Inc
Datasheet

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
qtiPwrLeft
qtiSigLeft
qtiPwrRight
qtiSigRight
DummyPin
IrLedLF
IrSenseLF
IrLedRF
IrSenseRF
IrLedLS
IrSenseLS
IrLedRS
IrSenseRS
pbSense
LedSpeaker
' -----[ Constants ]----------------------------------------------------------
IrFreq
' -----[ Variables ]----------------------------------------------------------
qtiLeft
qtiRight
qtiThreshold
irLS
irLF
irRF
irRS
qtiStateLeft
qtiStateRight
pushbutton
' -----[ Initialization ]-----------------------------------------------------
GOSUB Calibrate_Qtis
DEBUG CLS
CON
PIN
PIN
PIN
PIN
PIN
PIN
PIN
PIN
PIN
PIN
PIN
PIN
PIN
PIN
PIN
VAR
VAR
VAR
VAR
VAR
VAR
VAR
VAR
VAR
VAR
38500
10
9
7
8
6
4
11
15
14
2
1
3
0
6
5
Word
Word
Word
Bit
Bit
Bit
Bit
Bit
Bit
Bit
' Left QTI on/off pin P10
' Left QTI signal pin P9
' Right QTI on/off pin P7
' Right QTI signal pin P8
' I/O pin for pulse-decay P6
' Left IR LED connected to P4
' Left IR detector to P11
' Right IR LED connected to P15
' Right IR detector to P14
' Left IR LED connected to P2
' Left IR detector to P1
' Right IR LED connected to P3
' Right IR detector to P0
' Pushbutton connected to P6
' LED/speaker connected to P5
' IR LED transmit frequency
' Stores left QTI time
' Stores right QTI time
' Stores black/white threshold
' State of Left Side IR
' State of Left Front IR
' State of Right Front IR
' State of Right Side IR
' Stores snapshot of QtiSigLeft
' Stores snapshot of QtiSigRight
' Stores pushbutton state
' Determine b/w threshold
' Clear Debug Terminal

Related parts for 27404