CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

MAX232's suitable for RS-232?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
g159
Guest







MAX232's suitable for RS-232?
PostPosted: Mon Oct 22, 2007 3:53 pm     Reply with quote

Hi guys,

I am trying to convert TTL signals from the PIC to RS-232 levels. I have a MAX232N chip from TI and the output is +-8.5V. I thought that RS-232 was supposed to be+-12 V, though. Or is this not the universal standard for everything? Can i still use the max232n for something like rs-232 communication with a PC?

Thanks a lot guys.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Oct 22, 2007 4:09 pm     Reply with quote

Yes, you can use it with a PIC.

The voltage levels are OK.
See the following section in the link below. Scroll down a little to see it.
Quote:
Signal State Voltage Assignments

http://www.camiresearch.com/Data_Com_Basics/RS232_standard.html#anchor1181130
g159
Guest







PostPosted: Mon Oct 22, 2007 5:32 pm     Reply with quote

Ok, thanks for the link to that site, I see that anything from 3-25 V can be used.

Say the PC i want to communicate with is outputting +-12 V signals. So even then, the fact that only +-8.5 V is coming out of the MAX232 will not "interfere" or "confuse" the PC then, since it expects 12V?

Thanks again-
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Oct 22, 2007 5:50 pm     Reply with quote

The PC does not expect +/- 12v. Anything over +/- 3v will be
acceptable, according to the spec. To allow for voltage drop over
distance in the wires, and for a noise margin, the drivers put out a
higher voltage than the minimum requirement.

Use the MAX232N. Just plug it in, connect it up according to the
schematic, and go.
BLL



Joined: 11 Nov 2006
Posts: 181
Location: Birmingham, UK

View user's profile Send private message

PostPosted: Tue Nov 20, 2007 8:33 am     Reply with quote

Why not use the MAX233 - no external capacitors needed so PCB space is saved? Samples available even!!

Brian
SherpaDoug



Joined: 07 Sep 2003
Posts: 1640
Location: Cape Cod Mass USA

View user's profile Send private message

PostPosted: Tue Nov 20, 2007 8:54 am     Reply with quote

BLL wrote:
Why not use the MAX233 - no external capacitors needed so PCB space is saved? Samples available even!!

Brian


For production the MAX233 is about double the cost of the MAX232 and has few second sources.
Sometimes the size of the product is determined by the size of the customers fingers. Smaller is not always better.
_________________
The search for better is endless. Instead simply find very good and get the job done.
dbotkin



Joined: 08 Sep 2003
Posts: 197
Location: Omaha NE USA

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Thu Nov 22, 2007 11:41 pm     Reply with quote

The *spec* says +/- 3V or better. If you take a look at the actual requirements of every RS/EIA-232 line receiver since dinosaurs roamed the Earth and ICs had ceramic packages, I have yet to find any that actually *required* a negative voltage. Ever. In fact, the guts almost always have a clamp diode to whack any negative voltage.

Check http://www.botkin.org/dale/rs232_interface.htm (or the latest ARRL Handbook)if you want to see a dead simple, dirt cheap interface that has so far worked with anything I've connected it to. It's also worked with anything many hundreds of users have connected it to. It's what I have been using for a couple years now on my ID-O-Matic kit, and so far no one has yet come up with anything it won't talk to. In small lot quantities it will cost you less than $.20 and take up less board space than a MAX-2xxx device.

You're welcome. Smile
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group