Entire Forum This board This topic Members Entire Site
 Welcome, Guest. Please login or register.Did you miss your activation email? January 20, 2017, 10:48:06 10:48 1 Hour 1 Day 1 Week 1 Month Forever Login with username, password and session length
 Pages: [1]
 Author Topic: Communication using MAX232  (Read 1640 times) 0 Members and 1 Guest are viewing this topic.
king
Junior Member

Offline

Posts: 84

Thank You
-Given: 2
-Receive: 21

Jack of All But Master of One

 « on: April 04, 2010, 10:19:46 10:19 »

Hi
Actually when i have read the help file of "Proton" then in serout and serin command help file they have used the sentence that "MAX232 inverts the serial polarity" what does it mean?

Because if PC is transferring data "11001101" (-12v,-12v,+12v,+12v,-12v,-12v,+12v,-12v) then after max232 we will get (+5v,+5v,0v,0v,+5v,+5v,0v,+5v) again "11001101" so how max232 inverts serial polarity.Please explain it

Regards

King
 Logged
oldvan
V.I.P
Senior Member

Offline

Posts: 375

Thank You
-Given: 153
-Receive: 106

If the van is a Rockin'...

 « Reply #1 on: April 04, 2010, 11:18:40 11:18 »

TTL level serial +5 is "1" and 0V is "0"

RS232 level -12 is "1" and +12 is "0"

So MAX232 does the conversion correctly.
 Logged

Give a man a fish and you feed him for a day.
Teach a man to fish and he will sit around in a boat drinking beer all day.
odsk
Junior Member

Offline

Posts: 53

Thank You
-Given: 11
-Receive: 12

 « Reply #2 on: April 05, 2010, 05:37:56 17:37 »

Hi

I think the MAX232 will invert the polarity also, check the datasheet and the block diagram you will see that they represent it like an inverter.
odsk
 Logged
shibuv
Newbie

Offline

Posts: 30

Thank You
-Given: 0
-Receive: 7

 « Reply #3 on: April 07, 2010, 12:33:58 12:33 »

Hello

All outputs are inverted but you don't bother about it if you communicate with PC

see the digram

http://picmicrochip.blogspot.com/2010/01/how-to-interface-pic16f877a-18f452-with.html

shibuv
 Logged
DreamCat
Active Member

Offline

Posts: 235

Thank You
-Given: 131
-Receive: 77

 « Reply #4 on: April 08, 2010, 04:07:09 16:07 »

Actually, you don't need consider the inverter, RS-232 standard and MAX232 only is a middle process, only if you want use discrete components build the tranceiver.
 Logged

May be I expressed the wrong meaning, sorry for my bad english. Please correct it for me if you can.
 Pages: [1]
Jump to:

 DISCLAIMERWE DONT HOST ANY ILLEGAL FILES ON THE SERVERUSE CONTACT US TO REPORT ILLEGAL FILESADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS... Copyright © 2003-2999 Sonsivri.to ... | HarzeM Dilber MC