70016 Parallax Inc, 70016 Datasheet - Page 108

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
Solutions
Q1. "To recognize and interpret an electronic signal."
Q2. A bit.
Q3. By raising 2 to the power of the bit position.
Q4. A bit is set when it is "set" to one. A bit is cleared if it is set to zero.
Q5. The variable name has to come before the
Q6. They give meaningful names to values used in the program. Specifically, the
Q7. According to the ?-box on page 75, it means that the button can no longer
Q8. The speaker lets the user know the key-press sent the desired message.
E1. 0, 1, 10, 11, 100, 101, 110, 111.
E2. 11000.
E3. 2
E4. 8 + 4 + 2 + 1 = 15.
E5. After these two commands:
E6.
P1. This solution requires the piezospeaker circuit that was added in Activity #4. The
to follow. Do not use spaces. For example, to use the
bit-4 in the
non-numeric buttons on the remote can be referred to by their names instead of
their numeric values.
misinterpret the rapid stream of ones and zeros sent by an electrical contact when
the surfaces meet.
program filters out these unpredictable signals.
RCTIME IrDet, 0, irPulse
IF irPulse > 300 THEN remoteCode.BIT6 = 1
add two more that capture another pulse and then set/clear
RCTIME IrDet, 0, irPulse
IF irPulse > 300 THEN remoteCode.BIT7 = 1
SELECT remoteCode
ENDSELECT
following changes were made to the program:
12
CASE Power
= 4096.
onOffState = ~ onOffState
remoteCode
Either part of the pushbutton circuit or the processors
byte variable, use
.BIT
remoteCode.BIT4
operator, and the bit address has
.BIT
remoteCode.BIT7
operator to refer to
.
.

Related parts for 70016