RS232

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 5.
To post in this forum you must have a registered copy of Flowcode 5 or higher.

Moderator: Benj

Post Reply
electron67
Posts: 311
Joined: Sat Jan 12, 2008 2:08 am
Has thanked: 104 times
Been thanked: 47 times
Contact:

RS232

Post by electron67 »

Hello

please i need some help, I'm reading a sensor and want to send the data using RS232 communication, data are being renewed every 100 mS, sending data to the PC via RS232, is correct, the problem is that sends the first reading and keeps repeating, it does not detect new data, could someone help me :?:

Thanks
Enrique
Attachments
TEMP1b.fcf
Flowchart
(60.6 KiB) Downloaded 589 times

electron67
Posts: 311
Joined: Sat Jan 12, 2008 2:08 am
Has thanked: 104 times
Been thanked: 47 times
Contact:

Re: RS232

Post by electron67 »

Hello,

identify the problem, the data is sent correctly, but when connecting and disconnecting 3 or 4 times the port 232 of the PC, the MAX232 chip is heated and stops working, not that this should be

User avatar
Steve001
Valued Contributor
Valued Contributor
Posts: 1189
Joined: Wed Dec 31, 2008 3:37 pm
Has thanked: 460 times
Been thanked: 523 times
Contact:

Re: RS232

Post by Steve001 »

hello

have a look here may be of some use

https://e2e.ti.com/support/interface/et ... 2/t/123614


Cable connections are in attached also

Steve
Attachments
rs232.JPG
(78.63 KiB) Downloaded 2870 times
Success always occurs in private and failure in full view.

electron67
Posts: 311
Joined: Sat Jan 12, 2008 2:08 am
Has thanked: 104 times
Been thanked: 47 times
Contact:

Re: RS232

Post by electron67 »

Hello Steve,

I appreciate the observation and the data you send me, did not understand because it worked properly while the circuit on, but turn off and turn on several times, MAX232 is overheated and stopped working, I'll do some testing with data that you send me, I think that is the root failure.
 
Thank you very much
Enrique

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: RS232

Post by Benj »

Hello Enrique,

We have a known working circuit here on page 6 that might help you.

http://www.matrixtsl.com/resources/getr ... .php?id=90

We use the MAX3232 now rather than the MAX232 but they should be fairly similar ICs.

electron67
Posts: 311
Joined: Sat Jan 12, 2008 2:08 am
Has thanked: 104 times
Been thanked: 47 times
Contact:

Re: RS232

Post by electron67 »

Hi Benj,

I have a doubt in the data sheet of MAX232 pin 2 (Rx) a capacitor that negative going GND (pin 15) is connected, but EB015 the negative of the same capacitor will Vcc (pin 16); It could be what causes warming in the MAX232 ? :?:

Thanks
Enrique

electron67
Posts: 311
Joined: Sat Jan 12, 2008 2:08 am
Has thanked: 104 times
Been thanked: 47 times
Contact:

Re: RS232

Post by electron67 »

Thanks Benj and Steve

One capacitor I have wrong connected :!:

Enrique

Post Reply