70016 Parallax Inc, 70016 Datasheet - Page 135

TEXT INFRARED REMOTE FOR BOE-BOT

70016

Manufacturer Part Number
70016
Description
TEXT INFRARED REMOTE FOR BOE-BOT
Manufacturer
Parallax Inc
Datasheet

Specifications of 70016

Accessory Type
Manual
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
Boe-Bot®
For Use With
29122 - KIT PARTS IR REMOTE FOR BOE-BOT
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
70016SE
Manufacturer:
ST
0
LOOP
' -----[ Subroutine - Get_Ir_Remote_Code ]---------------------------------
ENDSELECT
' If operation = 2, execute modified FastIrRoaming.bs2.
CASE 2
' If operation is 3, execute the following Boe-Bot routine.
CASE 3
ENDSELECT
' Modified main routine from FastIrRoaming.bs2 goes here.
IF IN9 = 0 THEN operation = 1
FREQOUT 8, 1, 38500
irDetectLeft = IN9
FREQOUT 2, 1, 38500
irDetectRight = IN0
IF (irDetectLeft = 0) AND (irDetectRight = 0) THEN
ELSEIF (irDetectLeft = 0) THEN
ELSEIF (irDetectRight = 0) THEN
ELSE
ENDIF
GOSUB Send_Pulse
IF IN9 = 0 THEN operation = 1
GOSUB Get_Ir_Distances
' Calculate proportional output.
pulseLeft =
pulseRight = SetPoint - distanceRight * Kpr + CenterPulse
GOSUB Send_Pulse
pulseLeft = 650
pulseRight = 850
pulseLeft = 850
pulseRight = 850
pulseLeft = 650
pulseRight = 650
pulseLeft = 850
pulseRight = 650
PULSOUT 12, 750
SetPoint - distanceLeft
* Kpl + CenterPulse
' <--- New
' <--- New.
' Check IR Detectors
' <--- Modified.
' <--- New
' <--- New
' <--- New
'(End SELECT operation)
' Repeat Main Routine.
' Decide how to navigate.

Related parts for 70016