28139 Parallax Inc, 28139 Datasheet - Page 115
28139
Manufacturer Part Number
28139
Description
KIT REMOTE IR FOR BOE-BOT W/TEXT
Manufacturer
Parallax Inc
Specifications of 28139
Accessory Type
IR Remote
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
Boe-Bot®
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
- Current page: 115 of 212
- Download datasheet (3Mb)
In the next example program, a variable named
servos can be set with a
you can make the Boe-Bot roam at anywhere between 0 and 100 % of full speed.
The
lends itself to speed control. Instead of using the values 650 and 850 for full speed, the
values of
variable and then adding to or subtracting it from 750. Table 3-1 shows how the original
IF…THEN
statement from the next example program, IrRoamingWithSpeedControl.bs2.
On the "With Speed Control" side of the table, the
right servos use the
arguments. The command
speed
wheel rotates clockwise very slowly. As the
Bot's left wheel gets closer to full speed clockwise. Now, look at how
850
Without Speed Control
IF (irDetectLeft = 0) AND ••• THEN
ELSEIF (irDetectLeft = 0) THEN
ELSEIF (irDetectRight = 0) THEN
ELSE
ENDIF
pulseLeft = 650
pulseRight = 850
pulseLeft = 850
pulseRight = 850
pulseLeft = 650
pulseRight = 650
pulseLeft = 850
pulseRight = 650
•
•
•
IF…THEN
has been replaced with
. When
Sensor inputs
Messages from the Debug Terminal
Messages from an IR remote
statement from FastIrRoaming.bs2 looks next to the modified
pulseLeft
statement from FastIrRoaming.bs2 really needs some restructuring before it
speed
Table 3-1: Roaming Code with/without Speed Control
is a small value,
and
pulseLeft
DEBUGIN
pulseRight
pulseLeft = 650
pulseRight = 750 + speed
command. By entering a value between 0 and 100,
and
pulseLeft
should be determined by declaring a
pulseRight
speed
With Speed Control
IF (irDetectLeft = 0) AND ••• THEN
ELSEIF (irDetectLeft = 0) THEN
ELSEIF (irDetectRight = 0) THEN
ELSE
ENDIF
pulseLeft
pulseRight =
pulseLeft
pulseRight = 750 + speed
pulseLeft = 750 - speed
pulseRight = 750 - speed
pulseLeft = 750 + speed
pulseRight = 750 - speed
speed
is replaced with
is close to 750, and the Boe-Bot's left
variable gets closer to 100, the Boe-
PULSOUT
is added so that the speed of the
variables for their
=
= 750 + speed
. When
commands to the left and
750 - speed
750 + speed
pulseLeft = 750 –
speed
pulseRight =
is small, the
Duration
IF…THEN
speed
Related parts for 28139
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: