1. Use SPI interface to connect the two PICs..
one PIC as master and other one as slave
you may connect three pins CLK, SDI & SDO pins together...
2. Use UARTs to connect the two PICs..
If you use hardware UARTS then you can use interrupts to identify received bytes..
otherwise you may need to poll the Rx buffer for incoming data...
3. Use I2C interface
Configure one device as the Master and other one as slave
4. If you are bit brave it is not that difficult to write your own interface by manually generating a clock and data using two or three pins of the two PICs....
There are many examples available in internet how to connect two PICs... google a bit...
The following link demonstrates a multi-PIC I2C network complete with source code and schematics. It utilizes two PIC18Fs, however it could be adapted to the PIC16F series.
The following Microchip appnote discuss the same technique, only utilizing PIC16Fs:
**broken link removed**
Similar techniques can be employed to implement a SPI network.
Yes, You can use Proteus to simulate it.
What I can remember, there's an example in Proteus which demonstrates the data communication between two PICs... just have a look at it...
thanks for all but i want the data sheet plz i cant find it i want know how can i connect the two microcontroller using spi or 12c where can i find the data sheet ???