Pic to Pic - serial distance

Status
Not open for further replies.

Wp100

Well-Known Member
Hi,

Have an existing 10 mtr run of Cat 5 cable and want to send data from one Pic18F to the other, just a couple of bytes every minute in one direction only.

Can I do it reliably at 5v without a level converter like rs232 ?

thanks.
 
Depends entirely on the RFI and EMI environment. Another problem is that you are likely to have a different ground potential 100 feet apart.

Direct connection not recommended. I would use opto-isolation or transformer-coupling.
 
Last edited:
5 v data comms over 10 metres of twisted pair shielded cable should be fine. Use a real low data rate like 1200 or 2400 baud and you can even use an RC filter on the receiving end as the PIC USART input is a schmidt trigger input and is very tolerant of a data signal that has a slight ramp on edges.

I've had success with 19200 baud and 5v comms over shielded cable of longer runs than that, but like Mike says it's always dependent on noise pickup and possibly ground levels.
 
He shouldn't have a thing to worry about there will be almost no voltage lost

The balanced signal twisted pairs helps preserve a high signal-to-noise ratio despite interference from both external sources but don't try high baud rates.


I guess there is a chance you could get more then you put in the wire back out at the receiving end .
 
Last edited:
Hi,

Have an existing 10 mtr run of Cat 5 cable and want to send data from one Pic18F to the other, just a couple of bytes every minute in one direction only.

Can I do it reliably at 5v without a level converter like rs232 ?

thanks.

hi Wp,
For a 10mtr [33ft] run in a Cat5 cable you should have no problems up to 9600 Baud.
If you have any spare wires within the cable connect them all to 0V at both ends of the cable.
 
Hi,

Thanks guys, as I only need teletype speed sounds like it should work ok, can easily use a simple checksum to ensure data intergrity.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…