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?
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
Not entirely sure about modulation? Could I use two different frequencies for IR and two specific detectors?
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.
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.
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...
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!