View previous topic :: View next topic |
Author |
Message |
ted616
Joined: 12 Feb 2004 Posts: 2
|
1 master to 2 slave pics communication |
Posted: Thu Feb 12, 2004 2:55 pm |
|
|
Hi, I am doing the project that I need one pic to do the wireless protocol because the pic need to check the incoming serial code all the time then transmit the information to the two slave pics according to the information is belong to which pic. So I need the addressable communication, I think the I2C is the only one, right(I am not sure)? But I saw lots of examples of pic to I2C device not pic to pic by I2C, any one have any example of multi pic communication?
Thank you. |
|
![](templates/subSilver/images/spacer.gif) |
Neutone
Joined: 08 Sep 2003 Posts: 839 Location: Houston
|
|
Posted: Thu Feb 12, 2004 4:36 pm |
|
|
If what you discribe is entirely wireless you should use the USART to send and recieve with a master slave protocol like modbus. |
|
![](templates/subSilver/images/spacer.gif) |
ted616
Joined: 12 Feb 2004 Posts: 2
|
Thank you for your reply. |
Posted: Thu Feb 12, 2004 6:54 pm |
|
|
Yes, I use one pic to decode the message from the wireless then send the corresponding message to each salve pic, so the slave pic get it's own message. I am doing this I just use one pic to process the decoding, so other two slave pics can do their own jobs. |
|
![](templates/subSilver/images/spacer.gif) |
|