Pages: [1]   Go Down
Author Topic: Logic Level Converter 3> 5 > 3  (Read 949 times)
0 Members and 1 Guest are viewing this topic.
West palm beach, FL
Offline Offline
Sr. Member
****
Karma: 1
Posts: 325
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Assuming  I have some sort of 3.3v Cmos device which I must use with other 5v devices , lets say via I2C , would i simply, very crudely , just have to drop each connection of the I2C to 3.3v and step up to  5.5v when going the other way. If for some reason i just wanted to make a level converter with separate components instead of an IC designed for that purpose, I am just trying to get an idea of what is going on in there.
Logged

I could print the Arduino logo on a box of cereal and sell it as "Arduin-O's"

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 602
Posts: 33362
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

No, I2C just uses pull down signaling, so you need to only use pull up resistors to 3V3 and to change a line in the wire library to stop the internal pull ups being enabled.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 12
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

http://www.rocketnumbernine.com/2009/04/10/5v-33v-bidirectional-level-converter

If you want true level shifted bi-directional coms that circuit will do it for you.  The chances are that the 3.3v signals will trigger the 5v side just fine but I like that circuit, it's simple and effective.  Made up a few little PCBs that can breadboarded easily and have two channels each.  Perfect for I2C. 
Logged

Pages: [1]   Go Up
Jump to: