Electronics Multiple IR signal processing

Discussion in 'Modding' started by veryevil, 17 Nov 2006.

  1. veryevil

    veryevil Minimodder

    Joined:
    14 Aug 2005
    Posts:
    1,228
    Likes Received:
    34
    Hi, Im trying to figure out how to have a pic receive IR data from multiple points and not get confused when receiving data from two different sources.

    Such as if A sends a signal to B but halfway through C sends a signal to B then B can work out that it is incorrect and either ignore it or separate the two bits of data.

    For example:
    A:--1010
    C:----0111
    Wouldn't B receive:
    B:--101111

    Any ideas?
     
  2. kbn

    kbn What's a Dremel?

    Joined:
    17 Mar 2004
    Posts:
    603
    Likes Received:
    0
    Use different frequencys on the IR modulation *


    * I think, never acctually used IR before... but it must be modulated in some way or you couldnt tell the difference between a short pause and a 0
     
  3. veryevil

    veryevil Minimodder

    Joined:
    14 Aug 2005
    Posts:
    1,228
    Likes Received:
    34
    Not entirely sure about modulation?

    Could I use two different frequencies for IR and two specific detectors?
     
  4. ConKbot of Doom

    ConKbot of Doom Minimodder

    Joined:
    2 Jul 2003
    Posts:
    2,160
    Likes Received:
    6
    sure, no reason why you couldnt, but I dont know if you could get pre-made recievers for something other then the standard 38khz(easily anyway)..., so you would have to decode the data yourself.
     
  5. Wolfe

    Wolfe What's a Dremel?

    Joined:
    7 Sep 2003
    Posts:
    776
    Likes Received:
    1
    You can get pre-made ir detectors tuned for 38 khz, 40 khz, and 56 khz. There's probably other options, but 38 and 56 are the most common (digikey carries them).

    38khz and 40khz detectors overlap too much, you get crosstalk.

    If you want more channels, you would have to build your own detectors.
     
  6. Javerh

    Javerh Topiary Golem

    Joined:
    5 Sep 2006
    Posts:
    1,045
    Likes Received:
    26
    Why not make a token ring?
    B sends token code to A which replys with its code. B sends token code to C which replys with its code.

    Or another way:
    A has token. A sends data to B. A sends token to C.
    C has token. C sends data to B. C sends token to...
     
  7. veryevil

    veryevil Minimodder

    Joined:
    14 Aug 2005
    Posts:
    1,228
    Likes Received:
    34
    I think the two frequencies might be easier as other wise i think they will all ihave to identify themselves. Ill look into it

    cheers peeps!
     

Share This Page