Why not use TTL levels and connect the pic and hope for the best.
Since TTL might be a bad idea we can probably assume that we need to use a communication chip and here we can choose MAX232 (the old favorite) or a 422/485 chip. RS-232 in a CAT-5 cable at 19200 will give you the maximum length according to the standard of 147 feet (44.8m) but we all know that standards are for the weak, sick and cowardly.
The thing that makes me choose RS-422/485 is that is supports multiple slaves on the same bus. It is possible to have up to 256 units connected to the same 2 bus lines. How many units per bus is stated in the datasheet for the RS-422/485 chip.
RS-232, RS-423, RS-422, RS-485 they are all relatives but some of them are the poor cousin from the contryside. RS-422 and RS-485 is electrically the same they just have a different protocol to allow for multiple drivers for the 485.
read the links below and you can compare the different standards.
http://www.rs485.com/rs485spec.html
http://www.lammertbies.nl/comm/info/RS-232_specs.html
But Melanie is right as always, what ever that can be found in the trash-pile will probably do the job best now now now and the cable will probably be the biggest cost anyway.
Bookmarks