5
In present day electronic we find many sensors or modules working in 3.3V logic levels.In other terms LVTTL devices (Lowvoltage TTL). But even now we mostly use 5V TTL logic level uC or other devices with them. Hence, we need to change logic levels between 3.3V <> 5V when interfacing both of them together. There are many dedicated chips for this and there was none available in the country. So I decided to build some simple circuits to do this conversion using transistors. Here,you can use any general purpose NPN transistors available in your country such as 2N39042SC828,BC547…etc. You need to supply 3.3V & 5V as shown in the schematics as Vcc. This won’t be a problem as you may already have these two power rails in your circuit as you use both for chips as Vcc. I have tested this on my 3.3V Bluetooth module interfaced with 5V PIC16F887.It worked well. [http://lh6.ggpht.com/L1TE_3QgX0/USjqZbrcOII/AAAAAAAAAKY/PrLbyWPCGNg/s1600 h/to5%25255B4%25255D.jpg] Simple 3.3V–5V level shifter

Simple 3.3V-5V Level Shifter

Embed Size (px)

DESCRIPTION

Arduino experiment - voltage level shifter

Citation preview

  • 3/24/2015 Simple3.3V5Vlevelshifter|IncredibleDIY

    http://www.incrediblediy.com/2013/02/simple33v5vlevelshifter.html 1/5

    In present day electronicwe findmany sensors ormodulesworking in 3.3V logic levels.In other termsLVTTLdevices (LowvoltageTTL).Butevennowwemostlyuse5VTTL logic leveluCorotherdeviceswith them.Hence,weneedtochange logic levelsbetween3.3V5Vwhen interfacingbothof themtogether. There are many dedicated chips for this and there was none available in the country. So Idecided to build some simple circuits to do this conversion using transistors. Here,you can use anygeneral purpose NPN transistors available in your country such as 2N39042SC828,BC547etc. Youneedtosupply3.3V&5VasshownintheschematicsasVcc.ThiswontbeaproblemasyoumayalreadyhavethesetwopowerrailsinyourcircuitasyouusebothforchipsasVcc.Ihavetestedthisonmy3.3VBluetoothmoduleinterfacedwith5VPIC16F887.Itworkedwell.

    [http://lh6.ggpht.com/L1TE_3QgX0/USjqZbrcOII/AAAAAAAAAKY/PrLbyWPCGNg/s1600h/to5%25255B4%25255D.jpg]

    Simple3.3V5Vlevelshifter

  • 3/24/2015 Simple3.3V5Vlevelshifter|IncredibleDIY

    http://www.incrediblediy.com/2013/02/simple33v5vlevelshifter.html 2/5

    [http://lh3.ggpht.com/oassyeE_ypQ/USjqbnLAwzI/AAAAAAAAAKo/gtX7IkdiK8/s1600h/from5%25255B3%25255D.jpg]

    Posted23rdFebruary2013byBuddika

    Labels:I/O,LevelShift,LVTTL,Microcontroller,TTL

    Replies

    19 Viewcomments

    Pradeepa February25,2013at12:27PMWhyR1infirstfigure?Reply

    February25,2013at3:42PM

    R1&R5canbeomitted,ijustbuilttwoNOTgateshereinunisontomakeabufferReply

    Pradeepa March2,2013at8:57AMMakessense:)Reply

    DeclanJordan March14,2013at4:11AMCan anyone explain to me how the 3.35V level shifter circuit shown above actually works? Pleaseexplainthecircuitandhowthevoltagesacrossthecollectorsandemitterschangeandwhy,thankyouReply

  • 3/24/2015 Simple3.3V5Vlevelshifter|IncredibleDIY

    http://www.incrediblediy.com/2013/02/simple33v5vlevelshifter.html 3/5

    Reply

    Replies

    Reply

    Replies

    March14,2013at9:37AM

    It'slikethis,Wheninputis0V,Q1isOFFandQ1'scollectorwillbe5V,thenQ2willbeON,andQ2'scollectorisat0V(asVceofQ2=0)When input is3.3V,Q1 isONandQ1'scollectorwillbe0V(asVceofQ1=0),thenQ2willbeOFF,andQ2'scollectorisat5V,It'ssimpletwoNOTgatescombined:D

    DeclanJordan March17,2013at12:07AMHowwouldIconnectanOmronG2R1E5VRealytothatcircuit?

    DeclanJordan March17,2013at3:12PMAnyone?????

    March17,2013at8:14PM

    I haven't used that particular relay,You can connect is using a simple transistor relay drivewithatransistor,resistorandadiode:DThislinkmayhelpyou(checkforrelaydrives)http://www.rentron.com/rf_remote_control.htm

    DeclanJordan March14,2013at4:13AM

    ReplyThiscommenthasbeenremovedbytheauthor.

    JohnFaik July1,2013at12:58AMCanthiscircuitusedbetweenarduinodue3.3vto5vcharacterlcd??Reply

    July1,2013at2:17PM

    Thisshouldwork,I'musing this to intefacemy3.3VBluetoothmodule tomicrocontrollers. Ihaveusedjustsomezenerdiodesformy3.3Vgraphiclcd,I'llwriteaboutitonnextpost

    LucaTesta July15,2013at1:33PMWhen input goes low, Q1 should turn off and its collector voltage should increase. I observe thisbehavior,butwithanissue:ittakesalongtimeforQ1toturnoff(butitturnsonrapidly).Thislimitsitsuseto1MHz....anysolution?Whyisthat?Thanks.Reply

  • 3/24/2015 Simple3.3V5Vlevelshifter|IncredibleDIY

    http://www.incrediblediy.com/2013/02/simple33v5vlevelshifter.html 4/5

    Reply

    Replies

    Reply

    July17,2013at6:02PM

    I didn't use this in such speeds,may be you need a faster switching transistor then,Thosedatawillbeonthetransistordatasheet:D

    jimbuzz August14,2013at7:35PMStickaresistorbetweenthebaseoftheinputtransistorQ3andground,thiswillspeeduptheturnoffofthis transistor, that is what is limiting the switching speed. Use a 1K resistor as this is what you areusingeverywhereelse.Reply

    jimbuzz August14,2013at7:37PMSorryImeantQ1transistor.

    August14,2013at7:39PM

    Thanksfortheidea:DItgivesthe"pulldown"toQ1,shouldspeedup:)

    SMGTHEGREAT February24,2014at11:59AMHelloall , Ihave tocodea levelconverter Inverilogand implement it inFPGAandshowtheoutput..!!Pleaseit'smyassignmentandIhandtofinishitasap..!!pleasesomeonereplyifyouhaveanybriefideaaboutthatReply

    UmarKhan April19,2014at7:44PMIhaveaproteusfileinthisregard..!howcanIuploadithere?!Reply

    ShafiqAhmadChohan November1,2014at10:37PMThisisn'tworkingasalevelshifteritsworkingasvoltageregulatorReply

  • 3/24/2015 Simple3.3V5Vlevelshifter|IncredibleDIY

    http://www.incrediblediy.com/2013/02/simple33v5vlevelshifter.html 5/5

    Enteryourcomment...

    Commentas: GoogleAccount

    Publish Preview