I'm a complete noob when it comes to hardware (Bought my first Arduino 2560 last week). I did a search and could not find a related thread to my question. If there is one I apologize. I just want to make absolutely sure so that i don't burn a port on my Ardruino or even the other device.
I just need to know, how would i go about connecting one of the four serial ports to another RS232 device. How would i need to build the plug, wire the connections on the RS 232 plug up with the Ardruino. I'm not concerned about the Ardruino getting power from the RS 232, i only need data transfers. Do i only need to connect the Tx to pin 2 and Rx to pin 3 of the RS 232 plug and thats it?
When you say 4 serial ports(which is true) to other RS232 device (do you mean serial or actually serial via RS232?), are you connecting directly to say another computers serial RS232 port? Because they run at 12v and could damage your Mega.
If you want to connect ports 0, 1, 2, or 3 directly to RS232, you need to have an RS232 transceiver in front of each port.
This takes a Rs232 signal in and reduces it down to 5v so the Mega can handle it. The Megas Tx out goes to the RS232 IC and is bumped up via 12v charge pumps to proper RS232 voltage and then sent out. This is the reason for Mega having serial 0 setup as USB as it gets you working with serial from your computer via USB at 5v.
If it is simply serial communication between Mega and other MCU's like XBee radios, no problem. Simply connect Tx to others Rx and Rx to others Tx.