Decode RC5 ?


Closed Thread
Results 1 to 8 of 8

Thread: Decode RC5 ?

Hybrid View

  1. #1
    Join Date
    Apr 2004
    Posts
    34


    Did you find this post helpful? Yes | No

    Exclamation RC5 program

    Bruce,

    First of all thanks for the code.

    I tried out your program and I get some data in.
    However depending on the angle I keep getting other values when pressing the same button (distance about 60cm)
    I know there is a toggle bit that changes when pressing the same button twice but this should not affect the 'data' part of the RC5 that is filtered out here.
    I have to say that I run the program with a 10MHz crystal instead of 20MHz as specified in your program.
    Can this be the cause?

    Thank you.

    Best regards

  2. #2
    Join Date
    Sep 2003
    Location
    INDIA
    Posts
    161


    Did you find this post helpful? Yes | No

    Default Small Problem

    Hello Bruce,

    Tried your program on a 16F72 MCU and it works. I get some consistant data on Keypress but it does not tally with the key I pressed. I have a very similar code in PICBASIC PLUS (PROTON) and it works OK.

    Just wanted to ask you:

    1. How do I remove the address code from the data
    2. A couple of keys don't get registered , any idea. Namely #7

    Once again thank you for your help.

    regards
    Charudatt

Similar Threads

  1. RC5 code for infrared receiver
    By Dennis in forum mel PIC BASIC Pro
    Replies: 23
    Last Post: - 11th January 2017, 13:34
  2. Timer + rc5
    By naga in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 19th November 2009, 08:56
  3. RC5 decode on a 10F + Question
    By ultiblade in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 11th September 2008, 09:20
  4. IR decode problem "hitachi TV remote"
    By chai98a in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 13th March 2006, 16:29
  5. RC5 Encode / Decode
    By charudatt in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 18th October 2003, 06:14

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts