Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
LinkBack Thread Tools Display Modes
Old 3rd September 2004, 07:44 PM   (permalink)
Default converting signal to ttl logic voltage level

Hi,
I have this weird output. When the signal is true, the voltage is 5.0V, but when it is false, the voltage is 3.3V. I need to convert this to a ttl logic level, so that it remains 5.0V when it's true, but it changes the 3.3V to 0V when it is false. Does anyone know if there is a component that does this? I really need suggestions.
Thanks ops: :shock:
ptewright is offline  
Old 3rd September 2004, 07:47 PM   (permalink)
Default

A zener...
Exo is offline  
Old 3rd September 2004, 08:09 PM   (permalink)
Default

a schmitt trigger?
Gaston is offline  
Old 3rd September 2004, 09:31 PM   (permalink)
Default

A possible solution...
Attached Images
File Type: gif levelshift.gif (1.6 KB, 487 views)
Sebi is offline  
Old 3rd September 2004, 09:45 PM   (permalink)
Default

another choice, a comparator (maybe an lm311)
crust is offline  
Old 4th September 2004, 07:26 PM   (permalink)
Default

How's about a PNP with a pullup to +5 on the emitter (collected grounded, signal to base)? The pull up also limits base current.

j.
John Sorensen is offline  
Old 5th September 2004, 03:05 AM   (permalink)
Default

Below is a 2-transistor solution which is noninverting. Sebi's circuit will invert. John's circuit is an emitter follower, and the output will swing from 4v to 5v as the input swings from 3.3v to 5v. A comparator such as LM311 or LM393 will work.
Attached Images
File Type: gif level_shifter.gif (5.1 KB, 444 views)
Roff is offline  
Old 5th September 2004, 03:53 AM   (permalink)
Default

Quote:
John's circuit is an emitter follower, and the output will swing from 4v to 5v as the input swings from 3.3v to 5v.
I'm so embarrassed ops:

j.
John Sorensen is offline  
Old 9th September 2004, 05:20 PM   (permalink)
Default

Quote:
Originally Posted by Ron H
Below is a 2-transistor solution which is noninverting. Sebi's circuit will invert. John's circuit is an emitter follower, and the output will swing from 4v to 5v as the input swings from 3.3v to 5v. A comparator such as LM311 or LM393 will work.
What would the circuit for the comparator look like?
ptewright is offline  
Old 9th September 2004, 06:11 PM   (permalink)
Default

Solution with comparator...
Attached Images
File Type: gif levelshift_103.gif (2.9 KB, 396 views)
Sebi is offline  
Old 9th September 2004, 10:43 PM   (permalink)
Default

Sebi, the input swings from 3.3V to 5V, so the threshold should be 4.15V.

See below.
Attached Images
File Type: gif levelshift_354.gif (2.9 KB, 386 views)
Roff is offline  
Old 10th September 2004, 06:41 AM   (permalink)
Default

Right, Ron... I'm wrong in mathematics... ops:
Sebi is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 01:13 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

eXTReMe Tracker