Using RS232-TTL converter with Arduino Mega

I have a small project that data are sent and received between PC and Arduino Mega.
I use a RS232-TTL converter module.

Arduino mega is powered by a 5v adapter 380 ma.

And the converter module is powered by gnd and 5v pins of arduino.
It works well until almost 2 hours. After 2 hours the max232 chip on the converter gets hot and the transmitted dara loses its accuracy, and some random charcters are sent to PC.

Is the powering method wrong or there are another problem?

Thanks for your help.

Not sure what's going wrong, but maybe a posting a schematic will help.

There are some cheap converters about which use a Chinese version of the MAX232 chip, this is prone to overheating.
Other possibility is you haven't programmed up your Arduino correctly and are sending a voltage down the wrong connection( but as you say it works for a while)

There is an article on Internet about this, https://blog.heypete.com/2016/09/11/investigating-fake-max3232-ttl-to-rs-232-chips/

Hello,

I know it's a old topic. but i saw it and i would like to tell you the vcc should be connected to 3.3v

Ruurd:
Hello,

I know it's a old topic. but i saw it and i would like to tell you the vcc should be connected to 3.3v

Balloney! The MAX232 works at 5 volts. The MAX3232 works at either 3.3 or 5 volts.

Paul