28139 Parallax Inc, 28139 Datasheet - Page 23
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: 23 of 212
- Download datasheet (3Mb)
Inside the
measures pulses. Whenever a pulse duration is between 975 (1.95 ms) and 1425 (2.85
ms), the
counter
Your Turn – Measuring the Binary-1 and Binary-0 Pulses
By modifying the
capture and display the duration the binary-1 and binary-0 pulses. Here's how to:
√
time
counter
DEBUG "START PULSES", CR,
DO
LOOP
Save CountStartPulses.bs2 as MeasureBinary1Pulses.bs2.
IF…THEN…ENDIF
and
PULSIN 9, 0, time
IF (time > 975) AND (time < 1425) THEN
ENDIF
What's the * 2 in the
measures duration in 2 µs units. That's what gets stored in the
of 2 µs units the
operator, the
measurement.
DO…LOOP
counter = counter + 1
DEBUG CRSRXY, 0, 4,
time
"Repetitions
"
"-----------
variables under the
, the program executes the command
DEC counter,
CRSRXY, 13, 4,
DEC5 time * 2
DEBUG
DEBUG
code block increments the
PULSIN
and
VAR
VAR
command displays the actual number of microseconds for the pulse
Current Duration", CR,
(microseconds)
----------------"
IF…THEN
DEBUG
command measured. By multiplying
Word
Word
Repetitions
command?
statement in the example program, you can
Chapter 1: Infrared Remote Communication · Page 13
", CR,
Remember that the
and
counter
Current Duration
PULSIN 9, 0, time
variable and displays the
time
time
variable, the number
PULSIN
by 2 with the
headings.
command
, which
*
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: