[PIC] Pic to pic uart communication using rs232

Status
Not open for further replies.

burrow

Full Member level 2
Joined
Dec 15, 2014
Messages
147
Helped
3
Reputation
6
Reaction score
3
Trophy points
18
Visit site
Activity points
1,148
Hai, i need to establish communication between 2 pis using uart. and i have succeeded in doing so in proteus. Since in real practice the distance between 2 pics is going to be around 15 meter i decided to use MAX232.

Kindly give me tips on that. Do i need max232 at both ends ? How should be the connection.

Also let me know how much baud rate will be reliable for a distance of 15m
 

Yes, you need 2 X MAX232. You have to connect male DB9 connector on one end and femal DB9 connector on the other side and use a male to female RS232 cable to connect between these two DB9 connectors. DB9 connectors will be at the RS232 side of MAX232 and microcontroller's UART lines will be interfaced to TTL side of MAX232. You can use 9600 bps or 19200 bps baudrate.
 
Reactions: burrow

    burrow

    Points: 2
    Helpful Answer Positive Rating
Hai,

Well thats a good answer to my question. But i am planning to use wires alone.( No connectors). Just wire directly to the board. .. So i need help in this.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…