The mega doesn't accept RS232 . It accepts TTL RS232. (GOOGLE TTL) (GOOGLE RS232)
(which by the way is NOT differential ,but bipolar. RS485 is differential but that is not related to your question. You need a MAX232 chip or an RS232 to TTL serial converter .(google it). Normally I would provide links but you should have already realized the Mega doesn't have RS232 (if you looked at the specs)
I am having an issue with an RS232 device connected to my Arduino Mega 2560.
It's customary (on this forum) to be specific when describing hardware, specifically WHAT RS232 device (please post link).
Also, do you see RS232 listed here ?
Technical specs
Microcontroller ATmega2560
Operating Voltage 5V
Input Voltage (recommended) 7-12V
Input Voltage (limit) 6-20V
Digital I/O Pins 54 (of which 15 provide PWM output)
Analog Input Pins 16
DC Current per I/O Pin 20 mA
DC Current for 3.3V Pin 50 mA
Flash Memory 256 KB of which 8 KB used by bootloader
SRAM 8 KB
EEPROM 4 KB
Clock Speed 16 MHz
Length 101.52 mm
Width 53.3 mm
Weight 37 g
Do you know what RS232 is ? (have you ever heard of it before ? used it ? etc...)
I only ask because you didn't begin your post with "I have a mega2560 and want to connect to an RS232 device (don't know jack about RS232)"
Now that is a damn useful link ! After all, you can never have too many alternatives to RS232.
I always keep a couple of 2N2222 and 2N2907 transistors in my pocket, you know , just in case.
I like the gates method too. Who doesn't have a ton of CMOS chips left over from the "good ole days ". I actually sent that link to my email.