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

2.8v RS232 driver

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







2.8v RS232 driver
PostPosted: Fri Feb 28, 2003 6:02 pm     Reply with quote

Hi, things are going well with my project, but I want to talk to the GSM to do tests (emulate the PIC) as it's talking at a max voltage of 2.8v as is the PIC, I can use a normal max232 etc. to talk to it via PC, is there a RS232 line driver that does 2.8v levels?

Thanks
___________________________
This message was ported from CCS's old forum
Original Post ID: 12245
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

Re: 2.8v RS232 driver
PostPosted: Fri Feb 28, 2003 6:49 pm     Reply with quote

:=Hi, things are going well with my project, but I want to talk to the GSM to do tests (emulate the PIC) as it's talking at a max voltage of 2.8v as is the PIC, I can use a normal max232 etc. to talk to it via PC, is there a RS232 line driver that does 2.8v levels?
-----------------------------------------------------------

There are chips available, but the packages are not that
convenient for breadboarding. You can run them at +2.8v.
<a href="http://pdfserv.maxim-ic.com/arpdf/MAX3380E-MAX3381E.pdf" TARGET="_blank">http://pdfserv.maxim-ic.com/arpdf/MAX3380E-MAX3381E.pdf</a>

It might be easier just to use a MAX232A, and then use
level converters on the GSM side. In the MAX232A data
sheet, it gives the "Input Logic Threshold" levels for
the RS-Transmitter. While it's typically 1.4v for both,
the real range is Vih = 2.0v and Vil = 0.8v. So your
GSM can likely drive the transmit buffer of the MAX232A
directly. No logic level conversion is required.
And, the MAX232A is running with a Vcc of +5v.

On the receiver side of the MAX232A, it's going to be
putting out, typically, 4.8v for Voh, and 0.4v for Vol.
Unless your GSM has 5v tolerant inputs, the Voh is too high.
So you need a level conversion chip. You could use LVC or LVT
logic families. This chip would work, I think:
<a href="http://www-s.ti.com/sc/ds/sn74lvc1g125.pdf" TARGET="_blank">http://www-s.ti.com/sc/ds/sn74lvc1g125.pdf</a>
You could run it at 2.8v, and it can accept the 4.8v coming
from the MAX232A receiver's output, and convert to a output
high level of probably 2.7v. The low level output would be
probably 0.1v. Digikey has those chips available in the
SOT23-5 package for about $.50 (US).(T.I. p/n SN74LVC1G125DBVR)
___________________________
This message was ported from CCS's old forum
Original Post ID: 12246
Hans Wedemeyer
Guest







Re: 2.8v RS232 driver
PostPosted: Sat Mar 01, 2003 9:49 pm     Reply with quote

:=On the receiver side of the MAX232A, it's going to be
:=putting out, typically, 4.8v for Voh, and 0.4v for Vol.
:=Unless your GSM has 5v tolerant inputs, the Voh is too high.
:=So you need a level conversion chip.

The Rx output side is easiest to convert by using an old fashioned potential divider i.e. two resistors.

With a litle Ohm's law it can be easier than adding chips !
___________________________
This message was ported from CCS's old forum
Original Post ID: 12266
Willie Erasmus
Guest







Re: 2.8v RS232 driver
PostPosted: Mon Mar 03, 2003 12:49 am     Reply with quote

:=:=On the receiver side of the MAX232A, it's going to be
:=:=putting out, typically, 4.8v for Voh, and 0.4v for Vol.
:=:=Unless your GSM has 5v tolerant inputs, the Voh is too high.
:=:=So you need a level conversion chip.
:=
:=The Rx output side is easiest to convert by using an old fashioned potential divider i.e. two resistors.
:=
:=With a litle Ohm's law it can be easier than adding chips !


I've found that you can drive the MAX232 chip at 3.3V and then you can connect it directly to the GSM modem because the voltage levels on the GSM side will be 3.3V max.
___________________________
This message was ported from CCS's old forum
Original Post ID: 12297
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