Searching \ for 'Need code to generate RC-5 infra red commands -Rep' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/index.htm?key=need+code+generate
Search entire site for: 'Need code to generate RC-5 infra red commands -Rep'.

Truncated match.
PICList Thread
'Need code to generate RC-5 infra red commands -Rep'
1996\09\24@121149 by Mark Jurras

flavicon
face
Easy way is to reverse engineer the VCR remote control. Put a scope on the
output of the chip that drives the LED and look for the frequency of the
burst 30-50Khz and the Burst Length for each bit and the burst pattern for
each command.

    _   _   _                   _   _   _         _   _   _
   | | | | | |                 | | | | | |       | | | | | |
____| |_| |_| |_________________| |_| |_| |_______| |_| |_| |_______

>>> Tim Jackson <spam_OUTtimjTakeThisOuTspamICON.CO.ZA> 24 September 1996  10:11 am >>>

I need to be able to generate the relevant infra-red output for the
following commands: POWER ON, RECORD, STOP.

If anyone's already done something like this I'd appreciate any advice
and especially some code too :-)

1996\09\24@122225 by Tim Jackson

flavicon
face
>Easy way is to reverse engineer the VCR remote control. Put a scope on the
>output of the chip that drives the LED and look for the frequency of the
>burst 30-50Khz and the Burst Length for each bit and the burst pattern for
>each command.

No problem in finding the full specification for the RC-5 code. I have
that already and it's available on the Net.

I was hoping someone had written the code for a PIC to GENERATE the
necessary pulse stream to drive an infra-red LED.


    /\_/\
   / o o \
  (== ^ ==)
    ) - (
   ( ) ( )
 ( ( ) ( ) )
 (_(_)_(_)_)

1996\09\24@131449 by myke predko

flavicon
face
>>Easy way is to reverse engineer the VCR remote control. Put a scope on the
>>output of the chip that drives the LED and look for the frequency of the
>>burst 30-50Khz and the Burst Length for each bit and the burst pattern for
>>each command.
>
>No problem in finding the full specification for the RC-5 code. I have
>that already and it's available on the Net.
>

Don't count on the data on the Net being correct!  When I did my code for
the Sony I/R Receiver, I initially first used data in a magazine article
(which worked fine in the simulator, not in the real world) and then used
data from the Net (which worked just about as well as the magazine data).
To finally get it up and running, I had to look at the output on a 'scope
and measure everything.  Not a lot of work.  But it's necessary.

Myke

Do you ever feel like an XT Clone caught in the Pentium Pro Zone?

1996\09\24@132249 by Kalle Pihlajasaari

flavicon
face
Hi Tim,

> No problem in finding the full specification for the RC-5 code. I have
> that already and it's available on the Net.
>
> I was hoping someone had written the code for a PIC to GENERATE the
> necessary pulse stream to drive an infra-red LED.

You can have a look at a demo I did a few years ago (when PICs were
on the up and up) to test the life of batteries.  This used a
16C54(JW) at 3 volts with a 4MHz resonator if I recall and would
send out data continuously for about 3 days from a pair of N type
batteries (Half AAA) with an incrementing counter.  The code was
raw ASYNC data that I would feed into a PC with a SHARP integrated
receiver and a OPamp inverter and I could then see what was the last
sequence number.

You can have a look at the code made to assemble with the early
PICALC but should be adjustable :-)

http://www.ip.co.za/people/kalle/pic/irkey.asm

Cheers
--
Kalle Pihlajasaari     .....kalleKILLspamspam@spam@data.co.za
Interface Products     Box 15775, Doornfontein, 2028, South Africa
+27 (11) 402-7750      Fax: +27 (11) 402-7751

More... (looser matching)
- Last day of these posts
- In 1996 , 1997 only
- Today
- New search...