70016 Parallax Inc, 70016 Datasheet - Page 206

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
Send_Ir_Remote_Code:
How TransmitIrRemoteButtons.bs2 Works
The
below.
remoteCode.BIT7 = 1
always is for SONY TV messages. Then, it pauses for 23 ms. This, plus the processing
time for the
PULSOUT tPIn, 1200
calculates and sends the pulses of the correct durations for binary-1 and 0. For example,
if
300
remoteCode.BIT3
lasts 0.6 ms, which transmits a binary-0 pulse.
' Change button values to remote codes.
IF (remoteCode = 0) THEN remoteCode = 10
IF (remoteCode <= 10) THEN remoteCode = remoteCode - 1
remoteCode.BIT7 = 1
LOW tPin
PAUSE 23
PULSOUT tPin, 1200
PULSOUT tPin, remoteCode.BIT0 * 300 + 300
PULSOUT tPin, remoteCode.BIT1 * 300 + 300
PULSOUT tPin, remoteCode.BIT2 * 300 + 300
PULSOUT tPin, remoteCode.BIT3 * 300 + 300
PULSOUT tPin, remoteCode.BIT4 * 300 + 300
PULSOUT tPin, remoteCode.BIT5 * 300 + 300
PULSOUT tPin, remoteCode.BIT6 * 300 + 300
PULSOUT tPin, remoteCode.BIT7 * 300 + 300
PULSOUT tPin, remoteCode.BIT8 * 300 + 300
PULSOUT tPin, remoteCode.BIT9 * 300 + 300
PULSOUT tPin, remoteCode.BIT10 * 300 + 300
PULSOUT tPIn, remoteCode.BIT11 * 300 + 300
RETURN
remoteCode.BIT3
sends a
Send_Ir_Remote_Code
It sets tPin (P6) low to turn off the 555 timer's signal.
READ
PULSOUT
commands causes a typical message to repeat every 45 ms. After that,
is 0, then the
is 1, the command
of 600, which is 1.2 ms, which is a binary 1 pulse. However, if
sends the start pulse. Next, a series of
sets bit-7 in the remote code variable to 1, which is what it
subroutine in TransmitIrRemoteButtons.bs2 is shown
PULSOUT
PULSOUT tPin
command only sends a pulse of 300, which
' Set bit-7 = 1 for TV
' 555 signal off
' Rest between messages
' Start pulse
' Bit-0 pulse
' Bit-1 pulse
' Bit-2 pulse
' Etc...
,
remoteCode.BIT3 * 300 +
PULSOUT
The command
commands

Related parts for 70016