Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
Thread Tools Display Modes
Old 4th July 2008, 01:44 AM   (permalink)
Default 5V digitial to 3V digital

Hi,

I have a PIC chip that I want to output a digital signal from (easy). However the component that receives this signal has a 3V max on it. How do you normally go about reducing the voltage on the line? Should I put 3 diodes (1N914) in series on the line to drop the voltage by 2.1V?

Thanks,

Craig
richacm is offline   Reply With Quote
Old 4th July 2008, 01:53 AM   (permalink)
Default

You can do many things:
-diodes
-resitive dividers
-level translation ICs
-comparators
-op amps
-pull-down transistor with a pull-up resistor
-resistor with zener diode
-resistor with positive rail clamp diode

http://www.newark.com/pdfs/techartic...ricksBrchr.pdf
__________________
NO, that picture isn't me so don't bother asking if we can be friends.

Last edited by dknguyen; 4th July 2008 at 01:55 AM.
dknguyen is offline   Reply With Quote
Old 4th July 2008, 01:59 AM   (permalink)
Default

What a great link. Thanks!
richacm is offline   Reply With Quote
Old 4th July 2008, 08:25 AM   (permalink)
Default

Quote:
Originally Posted by richacm View Post
What a great link. Thanks!
You really need to give more details of EXACTLY what you're trying to feed, that makes a huge difference - but your diodes suggetsion is probably the worst possible idea.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline   Reply With Quote
Old 4th July 2008, 09:25 AM   (permalink)
Default

Have a look here: http://www.sparkfun.com/datasheets/S..._datasheet.pdf on page 17 for a circuit using the 74HCT08, Ive used it on RS232 and SPI signal lines without problems.

Last edited by Boomslang; 4th July 2008 at 09:26 AM.
Boomslang is offline   Reply With Quote
Old 4th July 2008, 09:34 AM   (permalink)
Default

hi,
You could use a HEF4050 non inv CMOS buffer, will tolerate input voltages higher than Vcc.
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is offline   Reply With Quote
Old 5th July 2008, 08:31 PM   (permalink)
Default

I agree with eric, but a different chip. Use a 74AC245 supplied with 3VDC. It is a non inverting buffer that takes the 5VDC input and outputs the 3VDC signal, creating a effective level converter. the 245 can sink/source up to 50ma in some cases and can be supplied from 2VDC to 6VDC, but in your case use 3VDC.
Krumlink is offline   Reply With Quote
Old 6th July 2008, 01:04 AM   (permalink)
Default

Quote:
Originally Posted by Krumlink View Post
I agree with eric, but a different chip. Use a 74AC245 supplied with 3VDC. It is a non inverting buffer that takes the 5VDC input and outputs the 3VDC signal, creating a effective level converter. the 245 can sink/source up to 50ma in some cases and can be supplied from 2VDC to 6VDC, but in your case use 3VDC.
This may have worked for you in the past but this is not a good idea as it exceeds the Vin spec of the part.

The LVC logic family can operate at 3v and tolerate 5Vin.
Mikebits is online now   Reply With Quote
Old 6th July 2008, 01:10 AM   (permalink)
Default

hmm I wonder why I said AC, maybe because its what I have on hand, sorry about that.
Krumlink is offline   Reply With Quote
Old 6th July 2008, 01:21 AM   (permalink)
Default

They both have a C in them, easy mistake
Mikebits is online now   Reply With Quote
Old 9th July 2008, 06:04 AM   (permalink)
Default

Hi,
there are many approaches for logic level translation, one of the simplest is to use open-collector (or open drain respectively - LS,HCT...) logic - gates, inverters, buffers (e.g. 74xx03,74xx05,74xx07 ...) - for low speed logic it is ok, just connect the pull-up resistors to the voltage you want for Vh (3.3 or 5V) for the output.

Another approach is to use specialized ICs, for example from MAXIM: (MAX337x, MAX339x)

MAX3372E, MAX3373E, MAX3374E, MAX3375E, MAX3376E, MAX3377E, MAX3378E, MAX3379E, MAX3390E, MAX3391E, MAX3392E, MAX3393E ±15kV ESD-Protected, 1µA, 16Mbps, Dual/Quad Low-Voltage Level Translators in UCSP

or there is a chip from TI: (SN74LVC2425)

Octal Bus Transceiver And 3.3-V To 5-V Shifter With 3-State Outputs - SN74LVC4245A - TI Product Folder

just an example, there are more possibilities to implement the level translator

STMicroelectronics - Level Translators

Petr
petrv is offline   Reply With Quote
Old 9th July 2008, 06:06 AM   (permalink)
Default

Petrv, it has already been covered! thank you for the extra info but I think the OP has figured it out hopefully
Krumlink is offline   Reply With Quote
Old 9th July 2008, 06:09 AM   (permalink)
Default

I know I just wanted to point out the additional possibilities. By having more choices it is possible to select the solution most suitable for the original problem

And perhaps it can help someone else who is dealing with a similar problem as logic level translation is a common issue, especially between 5V and 3.3V logic.

Petr
petrv is offline   Reply With Quote
Old 9th July 2008, 06:18 AM   (permalink)
Default

This is one of the best 5V-3V docs I found so far: http://www.microchip.com/stellent/gr...c/en026368.pdf
Boomslang is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
Digital Pot Help fiveten General Electronics Chat 10 12th December 2005 04:59 AM
Digitial wildlife surveillance camera mkohr Electronic Projects Design/Ideas/Reviews 0 29th January 2004 11:23 AM
Digital krishtriram General Electronics Chat 2 26th August 2003 10:28 AM
Need help, new to digital Chris_F General Electronics Chat 2 28th July 2003 05:21 PM
digital to analog - analog to digital converters for sale spencer General Electronics Chat 2 15th May 2003 07:17 AM



All times are GMT. The time now is 04:16 AM.


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