27404 Parallax Inc, 27404 Datasheet - Page 91
27404
Manufacturer Part Number
27404
Description
COMPETITION RING FOR SUMOBOT
Manufacturer
Parallax Inc
Datasheet
1.27404.pdf
(266 pages)
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
- Current page: 91 of 266
- Download datasheet (6Mb)
' -----[ Title ]--------------------------------------------------------------
' Applied Robotics with the SumoBot - IrInterferenceSniffer.bs2
' This program tests for IR interference from other fluorescent lights,
' handheld remotes, video recorders and other SumoBot robots.
' {$STAMP BS2}
' {$PBASIC 2.5}
' -----[ I/O Definitions ]---------------------------------------------------
IrLedLF
IrSenseLF
IrLedRF
IrSenseRF
LedSpeaker
' -----[ Variables ]----------------------------------------------------------
irLF
irRF
counter
' -----[ Initialization ]-----------------------------------------------------
DEBUG CLS, "Checking for IR interference...", CR, CR
' -----[ Main Routine ]-------------------------------------------------------
DO
LOOP
irLF = ~IrSenseLF
irRF = ~IrSenseRF
IF irLF = 1 OR irRF = 1 THEN
ENDIF
DEBUG "IR interference detected!!!", CR
FOR counter = 1 TO 7
NEXT
FREQOUT LedSpeaker, 50, 4000
PAUSE 50
Always test for and eliminate sources of IR interference near your SumoBot
Competition Ring.
PIN
PIN
PIN
PIN
PIN
VAR
VAR
VAR
4
11
15
14
5
Bit
Bit
Byte
' Target = BASIC Stamp 2
' Language = PBASIC 2.5
' Left IR LED connected to P4
' Left IR detector to P11
' Right IR LED connected to P15
' Right IR detector to P14
' LED/speaker connected to P5
' State of Left Front IR
' State of Right Front IR
' Loop counting variable
' DO...LOOP repeats indefinitely
' Save IR receiver output
Related parts for 27404
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:
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:
Part Number:
Description:
IC MCU 2K FLASH 50MHZ 28SSOP
Manufacturer:
Parallax Inc
Datasheet: