Pages: [1]   Go Down
Author Topic: using 5v logic with 3.3v devices  (Read 513 times)
0 Members and 1 Guest are viewing this topic.
southern England
Offline Offline
Newbie
*
Karma: 1
Posts: 32
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

As I'm new to Arduino,I was wondering if there is any good reason why, when connecting the output from arduino @ 5v logic level, to 3.3v level devices I could not just use a resistor potential divider (say 3.3k in series with a 6.8k, Nearest preferred values ( 6.8k to neg.))  from the output pin to neg. and take the feed out across the 6.8k resistor?  This would save using level shifting IC's, etc.     
      Ive seen some designs where there is just a resistor in series with the output pin, but when it is coupled to a mosfet input device, the voltage at each end of the resistor is still 5v as no current is being drawn through it, possibly risking breaking down the input mosfet.
    Your experienced comments would be welcome  smiley
Logged

Offline Offline
Edison Member
*
Karma: 36
Posts: 1219
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Sure, a resistor divider is often used.
But sometimes a high frequency signal is needed, and a resistor divider can slow down the signal because of the impedance.
In many cases not only the output but also the input needs to be level shifted, that is why an IC can be handy.
For the I2C bus, a resistor divider can not be used, since the I2C bus uses a signal that is active when pulled low.

So in many cases a resistor divider is not the best solution.
One more thing, why would you want to save using a level shifter IC ? I can turn that question around : Why would you use resistors if you can save using resistors by using a level shifter IC ?
Logged

southern England
Offline Offline
Newbie
*
Karma: 1
Posts: 32
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

AhA!, I see it all now, (well some of it) I get your point but the reason I asked about resistors instead of I.C's is because I have literally thousands of resistors, and have to BUY I.C'S at a pound a go! that's a lot when you're only on a pension  smiley-cry
   Guess I'll have to get some though. Thanks for the explanation  smiley-grin
Logged

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 129
Posts: 8525
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Chips like 74HC125 or 126 make good level converters, usually < 50c for a quad pack.

_______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Pages: [1]   Go Up
Jump to: