Hi Rob,

Thanks for responding, even though you're on vacation. First some more 
information. I have a device that I normally operate with push buttons, but 
that can also work with RC5 if i connect  a Tsop1836 on it, for example. I 
also have the codes used for address and commands. So I want to use a Pic 
as a transmitter.

Actually I don't need the whole IR part  because I can also connect an 
output of the PIC directly to the RC5 input of the device.. I have already 
found the information about what the pulse train should look like.

At least it keeps the gray matter flexible.

Greetings and have a nice holiday

Hans
Op dinsdag 15 juni 2021 om 18:31:02 UTC+2 schreef [email protected]:

> Hi Hans,
>
> Some years ago (in 2014 to be exact) I wrote a decoder routine that is 
> capable of decoding RC5 and RC6 messages. It works on an interrupt basis. I 
> wrote two variants, one using Timer 0 and one using Timer 1. I attached the 
> sources files in the attached zip file.
>
> I could make a JAL library out of it - since these source files are not 
> yet Jallib compilant - and make it part of Jallib. I could then incorporate 
> the timer part in the decoder part so that you only have one library to 
> include. 
>
> Currently I am enjoying my vacation so I am not able to test them but I 
> think they work. The main program uses a USART to write the received RC5 or 
> RC6 message. The UART part is also included in the zip file.  
>
> I could make an RC5 and RC6 encoder program since I have done that in the 
> past because I have worked at Philips many years ago and was one of the 
> contributors of the Philips RC6 standard 🙂. As you may know, for the 
> encoder you need a 36 kHz modulated signal to drive the Infra Red LED so 
> you need a PWM signal for that. 
>
> Kind regards,
>
> Rob
>
>
>
>
>
> ------------------------------
> *Van:* [email protected] <[email protected]> namens hans <
> [email protected]>
> *Verzonden:* dinsdag 15 juni 2021 10:49
> *Aan:* jallib <[email protected]>
> *Onderwerp:* [jallib] RC5 lib 
>  
> Is there beside the SIRC lib also one for sending/receiving RC5 ? 
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "jallib" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jallib/0e2b7ff9-dfde-4d3b-8db2-72e3c50ee21fn%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jallib/0e2b7ff9-dfde-4d3b-8db2-72e3c50ee21fn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/7bc0ee26-67d2-46ac-bd58-a6d339042326n%40googlegroups.com.

Reply via email to