U2270B/Manchester code


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    zx81's Avatar
    zx81 Guest

    Default U2270B/Manchester code

    I'm trying to use a U2270B to read a trasponder. This chip uses Manchester code, I don't have doubts about the decoding process, but, how can I read the pulses? I don't know how to read the signal, pulse duration, etc.

    Anybody has experience with that chip? I'm using a 16F628A, but the pcb is designed for a 12C672P.

    Thanks

  2. #2
    Salutatous's Avatar
    Salutatous Guest


    Did you find this post helpful? Yes | No

    Talking I do that like this

    in VAR BIT
    InTrs VAR PORTB.1 'On Out of U2270b

    Read:
    PauseUS 130 'for Osc 8
    in=Intrs
    If in=1 Then
    ....
    if in=0 Then
    ....
    etc..

    Regards

  3. #3
    zx81's Avatar
    zx81 Guest


    Did you find this post helpful? Yes | No

    Default

    Thanks!!

    So I suppose that a complete pulse of the code (Manchester) uses 260 microseconds.

    Is this correct?

    In your sample you use PAUSEUS 130 for OSC 8, but if I use the internal resonator and don't use the OSC statement on my code (or if I use a 4Mhz external resonator), I suppose that the 130 value would still correct, isn't it? I don't know if you are adjusted the value for a 8Mhz resonator instead that picbasic adjust it via OSC statement.

    Regards
    Last edited by zx81; - 24th March 2005 at 23:13.

  4. #4
    Salutatous's Avatar
    Salutatous Guest


    Did you find this post helpful? Yes | No

    Cool Hello!

    in manchester code:
    T=560µs and T/2=280µs
    and i read 64 bits
    my beta prog read ok the transponder but it need to be optimized!
    i can send it if you need but comments are in french

  5. #5
    zx81's Avatar
    zx81 Guest


    Did you find this post helpful? Yes | No

    Default

    Of course, your code will help me, if you can send me to [email protected] it would be great.

    If you want I can test the code on my board and colaborate with you in the optimization of the read process.

    Regards

  6. #6
    ct82's Avatar
    ct82 Guest


    Did you find this post helpful? Yes | No

    Default I need it also!!

    Can you send the code to me as well? I need it for my project. Thanks!!

Similar Threads

  1. Reading in Manchester code
    By brid0030 in forum Code Examples
    Replies: 0
    Last Post: - 10th March 2009, 21:55
  2. How much code space do PBP statements use.
    By Darrel Taylor in forum Code Examples
    Replies: 5
    Last Post: - 13th February 2009, 21:31
  3. Loop with two motor and 2 sensors
    By MrRoboto in forum mel PIC BASIC
    Replies: 4
    Last Post: - 8th December 2008, 23:40
  4. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 08:26
  5. Re-Writing IF-THEN-AND-ENDIF code?
    By jessey in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 18th August 2006, 17:23

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