28139 Parallax Inc, 28139 Datasheet - Page 66
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: 66 of 212
- Download datasheet (3Mb)
' IR Remote for the Boe-Bot - PulsesToByteValue.bs2
' Display the binary and decimal values of the lower seven bits of
' IR message.
'{$STAMP BS2}
'{$PBASIC 2.5}
time
remoteCode
DEBUG "Binary Value
DO
LOOP
Get_Pulses:
remoteCode = 0
' Wait for resting state between messages to end.
DO
LOOP UNTIL time > 1000
' Measure start pulse.
RCTIME 9, 0, time
IF time > 1125 OR time < 675 THEN GOTO Get_Pulses
' Get data bit pulses.
RCTIME 9, 0, time
IF time > 300 THEN remoteCode.BIT0 = 1
RCTIME 9, 0, time
IF time > 300 THEN remoteCode.BIT1 = 1
RCTIME 9, 0, time
IF time > 300 THEN remoteCode.BIT2 = 1
RCTIME 9, 0, time
IF time > 300 THEN remoteCode.BIT3 = 1
RCTIME 9, 0, time
IF time > 300 THEN remoteCode.BIT4 = 1
RCTIME 9, 0, time
IF time > 300 THEN remoteCode.BIT5 = 1
RCTIME 9, 0, time
IF time > 300 THEN remoteCode.BIT6 = 1
DEBUG CRSRXY, 4, 3, BIN8 remoteCode,
RCTIME 9, 1, time
"Bit 76543210
"------------
CRSRXY, 14, 3, DEC2 remoteCode
VAR
VAR
Decimal Value", CR,
-------------"
Word
Byte
If out of range, then retry at Get_Pulses label.
", CR,
' SONY TV remote variables
' Display heading
' Beginning of main loop
' Label to restart message check
' Clear all bits in remoteCode
' Measure pulse
' Set (or leave clear) bit-0
' Measure next pulse
' Set (or leave clear) bit-1
' etc
' Display keypad code
' Repeat main loop
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: