Professional Documents
Culture Documents
HowtoBuildaSimpleLEDDriverCircuit
BuildaSimpleLEDDriverCircuit
Inthisproject,wewillshowhowtobuildasimpleLEDdrivercircuit.
ALEDdrivercircuitisacircuitwhichcanpoweronandlightanLED>
Wewillsimplyuseatransistorandafewresistorstobringaboutacircuit
which,withminimalcurrent,canproduceenoughcurrenttodriveandlightan
LED.
Thepointofthiscircuitistodemonstratethatifyoudonothavesufficient
currentpowerfulenoughtodriveanLED,youcanconnectatransistortothe
circuitsothatitprovidesenoughcurrentamplificationtodriveit.
Ofcourse,ifyou'repoweringanLEDandyoucanconnecttheLEDdirectlyto
apowersource,youwon'tneedaverysophisticateddrivercircuit.Therewill
beenoughpowerfromthatpowersourcetolightuptheLEDwithouttheneed
foratransistor.However,sayyouhaveacircuitthatisoperatingoffthepower
suppliedbyachipandthechipcanonlyoutputaverylowamountofcurrent.
ThiscurrentmaynotbeenoughtodriveanLED.Oryoumayhaveachipthat
allowsforenoughcurrenttolightanLEDbutyoumaywanttolightseveral
LEDsinparallel.ForeachLEDthatyouwanttolightinparallel,about15mAof
currentareneededmoreperLED.AchipsuchastheAtmega168or
Atmega328allowsforaboutamaximumof20mAofcurrentoutputperoutput
pin.Thus,youcoulddriveasingleLEDonanoutputpin.However,ifyou
wantedtodrive2LEDsinparallel,youwouldneedadrivercircuittogetmore
current.Thus,drivercircuitsusingtransistors,areverycommon.
Thiscircuitexploitsthefactthattransistorscanfunctionascurrentamplifiersin
circuits.Weusethetransistortosupplytheamplificationnecessarysothatthe
LEDcanbedriven.
http://www.learningaboutelectronics.com/Articles/LEDdrivercircuit.php
1/4
11/8/2016
HowtoBuildaSimpleLEDDriverCircuit
Thepartsweneedtorunthiscircuitareshownbelow.
Parts
NPN2N2222transistor(orsimilar)
SPSTSwitch
LED
3AABatteriesorDCpowersupply
330Resistor
1KResistor
Forthetransistor,wesimplyuseanNPNtransistor.Thiswillbesufficientfor
providingamplification.
TopowertheLEDandthecollectorofthetransistor,weprovide3voltsof
power.Thisvoltageisnecessaryforthetransistortowork.NPNtransistors
alwaysneedpositivevoltageappliedtothecollectorinordertowork.Thisis
calledreversebiasvoltagesothatthecurrentinthetransistorcanflowfrom
emittertocollector.This3voltscancomeeitherfrom2AAbatteriesconnected
inseriesorfromaDCpowersupply.
LEDDriverCircuit
TheschematicoftheLEDdrivercircuitwewillbuildisshownbelow:
http://www.learningaboutelectronics.com/Articles/LEDdrivercircuit.php
2/4
11/8/2016
HowtoBuildaSimpleLEDDriverCircuit
Whentheswitchofthecircuitisopen,nocurrentflowstothebaseofthe
transistor.Therefore,thetransistorcannotturnon.Bipolarjunctiontransistors
needbasecurrentandsufficientpositivevoltagetothecollectorinorderto
provideamplification.Sowithnocurrent,thetransistornortheLEDturnson.
Whentheswitchisclosed,basecurrentflowsthroughthetransistor,turningit
on.Thetransistornowprovidesamplificationtothecurrent,turningtheLED
on.
IftheLEDwasjustconnectedstraighttothe10Kresistor,withoutany
transistor,itwouldnotproducesufficientcurrenttodrivetheLED.Thecurrent
throughtheLEDwouldbeI=V/R=1.5V/3K=0.5mA.Thisisnotsufficientto
driveanLED.AnLEDtypicallyneedsabout15mA.WiththeNPNtransistorin
thecircuit,amplificationisusuallytothedegreeofabout100to150.Therefore,
thecurrentwillbeamplifiedby100,whichis0.5mA*100=50mA.50mAisnow
sufficienttodriveandlighttheLED.
SoyouseehowthetransistorallowsacircuittobeanLEDdriver.Withoutit,
therewouldn'tbeenoughpowertodriveit.Thepointofthiscircuitisthatifyou
haveinsufficientcurrentoutput,youcancreateadriving,oramplifying,sothat
youcanhavesufficientcurrent.LEDsarecurrentdrivendevices.Therefore,an
http://www.learningaboutelectronics.com/Articles/LEDdrivercircuit.php
3/4
11/8/2016
HowtoBuildaSimpleLEDDriverCircuit
LEDdrivercircuitisonethatsuppliessufficientcurrenttodrivethem.Thiscan
bedonewithasimpletransistor,asshownabove.
http://www.learningaboutelectronics.com/Articles/LEDdrivercircuit.php
4/4