On/Off led with RF Link and 16F628


Closed Thread
Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default Re: On/Off led with RF Link and 16F628

    Hmm - after me saying manchester encoding is rare, you seem to have a manchester encoded signal.

    However, that particular receiver used the Microchip KeeLoc decoder chips (with encoders on the transmitters).and I cannot help you decode it. Even if you could decode it, KeeLoq practices code-hopping (sorta like serial monogamy) with the code changing with each transmission, so you would have spent a lot of time and effort for nothing. You can read about KeeLoq here.

    If you follow the link in the references, there's one that claims they can break it with access to the remote (even near proximity) and drive away in your car after a few hours.
    Last edited by dhouston; - 11th July 2011 at 18:37.

  2. #2
    Join Date
    Jul 2011
    Posts
    3


    Did you find this post helpful? Yes | No

    Default Re: On/Off led with RF Link and 16F628

    Thanks dhouston for the answer.
    I'm sorry if i insist again, my idea was to store any code from an RF receiver connected to a pin anywhere on the pic, save it in the pic and then later compare what i get with what i have stored.
    The problem is that i can not understand how to distinguish the 0 to 1.
    You can do this?

    Thanks

  3. #3
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default Re: On/Off led with RF Link and 16F628

    Try searching the forum on manchester code. There's a transition in the middle of the bit period. Its direction determines 1 or 0.

    Code:
       _          _
    1=| |_   0=|_|
    or vice versa - which is 1 and which is 0 is arbitrary.

    There's usually a series of pulses without spaces to denote the start of a code.

    However, if the codes use KeeLoq, you'll never see the same code twice so storing for comparison with later codes is a waste of time and effort..

  4. #4
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default Re: On/Off led with RF Link and 16F628

    Wikipedia has better pictures and a description of manchester codes.

    The widest pulse or space equals 1 bit period. The shortest pulse or space equals 1/2 bit period. Find the middle of each bit period and check the transition.
    Last edited by dhouston; - 12th July 2011 at 12:37.

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