28139 Parallax Inc, 28139 Datasheet - Page 202

KIT REMOTE IR FOR BOE-BOT W/TEXT

28139

Manufacturer Part Number
28139
Description
KIT REMOTE IR FOR BOE-BOT W/TEXT
Manufacturer
Parallax Inc
Datasheets

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
LOOP
Transmitting the SONY IR Remote Signal
Since high/low signals to the 555 timer's Res pin turn the 555 timer's signal on/off, you
can now use the
For example, to send a 2.4 ms start pulse, you can use the command
1200
and to send a 0.6 ms binary-0 pulse, the command
TransmitIrRemoteButtons.bs2 has a subroutine that automates transmitting IR remote
button information. Simply set the remoteCode variable to the button or value you want
to transmit, then call the program’s
In practice, it's best to send, between 5 to 10 copies of the same code, since that's what
happens when you press and release a button on the remote. So, your code might actually
look like this.
In Chapter 1, you calculated the number of times per second an IR remote repeats its
message. Depending on the remote and the code that was sent, it was probably in the
neighborhood of 40 to 50 ms per message. This can be considered the period (T) of the
message cycle. The frequency (f) of messages is f = 1/T, and that's the number of
messages sent per second the remote sends if you hold your finger on one of the remote's
buttons for one second.
TransmitIrRemoteButtons.bs2 emulates the signal coming from a remote for the
sequence of key presses listed below.
LOW 6
cycles = cycles * 10
DEBUG HOME, "Frequency = ", DEC5 cycles, " Hz"
f
. To send a 1.2 ms binary-1 pulse, you can use the command
messages
remoteCode = ChUp
GOSUB Send_Ir_Remote_Code
FOR counter = 1 to 5
NEXT
remoteCode = ChUp
GOSUB Send_Ir_Remote_Code
= 1 ÷ 0.045 s = 22.2.. Hz
PULSOUT
command to send 38 kHz signals for precise amounts of time.
Send_Ir_Remote_Code
PULSOUT 6, 1, 300
subroutine like this.
PULSOUT 6, 1, 600
PULSOUT 6, 1,
does the job.
,

Related parts for 28139