Forum Index
HomeZBasic Home   Forum RulesForum Rules   Forum FAQForum FAQ   MemberlistMemberlist   UsergroupsUsergroups   RSS FeedRSS Feed
Site SearchSite Search   LinksLinks   DownloadDownload   Digests and SubscriptionsDigests and Subscriptions
ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in   RegisterRegister
AN213 suggestion

 
Post new topic   Reply to topic    Forum Index -> General
Author Message
dlh



Joined: 15 Dec 2006
Posts: 265
Location: ~Cincinnati

Posted: 29 August 2008, 12:21 PM    Post subject: AN213 suggestion Reply with quote

About 5 months back, Tibbo discontinued their EM202 NetModule. They promised a drop-in replacement by July 1 but it has yet to materialize so I am redesigning to use the Lantronix XPort.

All of the XPort pins are +5V tolerant (-03 model only) but the RS232 output is only 2.4V for logic high so I need to shift the level. I am modifying an existing design and have minimal space available to fit both a 3.3V regulator, caps and a level shifter. Since I am interfacing with the ZX-40a UART, I need a non-inverting level shifter. I will likely use a single OpAmp but it might be helpful if AN213 included a non-inverting transistor switch circuit.
Back to top
dkinzer
Site Admin


Joined: 03 Sep 2005
Posts: 2493
Location: Portland, OR

Posted: 29 August 2008, 14:57 PM    Post subject: Re: AN213 suggestion Reply with quote

dlh wrote:
[I]t might be helpful if AN213 included a non-inverting transistor switch circuit.
It does. See Figure 15 on page 11. The circuit that converts low voltage output to 5-volt output is reproduced below.


non-inverting level converter.jpg
 Description:
Non-inverting level converter.
 Filesize:  13.98 KB
 Viewed:  4467 Time(s)

non-inverting level converter.jpg


Back to top
dlh



Joined: 15 Dec 2006
Posts: 265
Location: ~Cincinnati

Posted: 29 August 2008, 16:01 PM    Post subject: Reply with quote

Ahhh! I just didn't read far enough - quitting after seeing the inverting switch on p6 but no non-inverting version of it. Thanks.
Back to top
spamiam



Joined: 13 Nov 2005
Posts: 661

Posted: 30 August 2008, 13:46 PM    Post subject: Reply with quote

Wow, this just shows how little my instincts are worth.

I would have supposed that when the 3.3v device set its pin to "high" or tristate, it would see something close to the 5 V due to the 5v pull up on the opther side. Granted, the transistor is switched off because there will be no base current, but I would have thought that the floating voltage at the pin on the 3.3v device would approach 5v.

Just goes to show that sometimes you need to try things out before assuming that good (or bad) things will happen!

-Tony
Back to top
dkinzer
Site Admin


Joined: 03 Sep 2005
Posts: 2493
Location: Portland, OR

Posted: 30 August 2008, 15:15 PM    Post subject: Reply with quote

spamiam wrote:
I would have supposed that when the 3.3v device set its pin to "high" or tristate, it would see something close to the 5 V due to the 5v pull up on the opther side.
With no base current, the collector-emitter path is a very high resistance. If the low-voltage output is, in fact, in a tri-state condition, you're right that it will tend toward 5 volts. On the other hand, if it is being driven high (i.e. to 3.3V) then it will absorb the small amount of current flowing through the transistor without changing the output level.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Forum Index -> General Time synchro. with the server - Timezone/DST with your computer
Page 1 of 1

 


All content Copyright © 2005-2012 Elba Corp. All Rights Reserved.
Opinions expressed in posts are those of the author and not necessarily those of Elba Corp.
Powered by phpBB © 2001, 2005 phpBB Group