Manchester Coding / Decodeing for RF Modules


Closed Thread
Results 1 to 24 of 24

Hybrid View

  1. #1
    kireytir's Avatar
    kireytir Guest


    Did you find this post helpful? Yes | No

    Unhappy

    Encode:
    For d = 0 to 3 ' 4 bit
    if v.0[d]=0 Then
    encoded.0[d*2]=0
    encoded.0[d*2+1]=1
    else
    encoded.0[d*2]=1
    encoded.0[d*2+1]=0
    endif
    next
    serout2 portb.0,396,[%1000,encoded]
    goto basla
    'd: number of bits to encode (8 bits)
    'v: byte to BE encoded
    'encoded: WORD sized variable holding the encoded
    'byte v.


    im using this manchester encoding but i didnt decode this pls help..

  2. #2
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,170


    Did you find this post helpful? Yes | No

    Default

    Here are the two subroutines to encode and decode the bi-phase or manchester scheme.

    It works for sure.

    Ioannis
    Attached Files Attached Files

  3. #3
    Skyjumper's Avatar
    Skyjumper Guest


    Did you find this post helpful? Yes | No

    Default

    Even after years still usefull... I was reading this topic, cause I am searching for a true solution. In this topic I miss the 90 degrees phase shifting, I think only bytesize is doubled here. I read somewhere else that Manchester code is a bi-phase code with not only transitions on the beginning of a bit, but at the center of a bit as well. It is defined as a transition orientated code, not a bit orientated. But maybe I am wrong here, cause I am quite new to this, so can anyone explain me please ?

Similar Threads

  1. Reading in Manchester code
    By brid0030 in forum Code Examples
    Replies: 0
    Last Post: - 10th March 2009, 22:55
  2. Manchester coding question
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 5th May 2007, 18:35
  3. 433MHz RF PIC2PIC connection
    By NavMicroSystems in forum mel PIC BASIC Pro
    Replies: 21
    Last Post: - 5th February 2006, 16:44
  4. Manchester coding
    By micro in forum General
    Replies: 1
    Last Post: - 13th January 2006, 04:40

Members who have read this thread : 1

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