Soif I goand I lookatthecurrent, uh, if I switchmymymultimeteroverheretolookatcurrentand I lookatthecurrentherewheretheledwouldgo, um, I needtobeonDCmilliamps.
Youcanseeit's switchingfrom 2.3 millions, Notnot a wholelot.
So I havethis 0.3 millioncurrentthatswitchingonandoff, and I wanttousethattodrivingled.
Butofcourse, if I puttheleddirectlyinthereaswesawbefore, theladyisnotverybrightatall, becausewejustdon't haveenoughcurrenttodriveitsoButwecantakethatcurrent.
Let's lookatjustthebasiccircuitwehad, whichwas a downherewehave a fiveoldsupplythatisabletoprovideplentyofcurrent, um, withthefivevoltsgoingthroughtheledthroughtheresistorandthenbacktogroundintheconventionalflow.
Soif I wanttoput a transistorintothiscircuitthatwillswitchthiscircuitonandoffbasedonthecurrentthatmayormaynotbeflowingonthissignalwires, let's seehowwewoulddothat.
Andso I justneedtoputitinSiri's withthetheledcircuitso I canhavemyfiveoldsupplyuphereandactuallyletmedothis.
Letmejustdothisinyellow.
I coulddomyfiveoldsupplyuphere, andthen I'm goingthroughmyledandthen I havemyresister, ofcourse, because I'm I alwaysnormallywant a resistorwithanled, andthisresistorhappenstobe 220 homes.
Andthen I willtakethisandgothroughthetransistorbefore I gotoground.
Andsorightnow, if I lookatthecircuitthat I havehookedup, I havethispartandithooksdirectlytoground, Sothetransistorisnotthere.
Sowhat I what I wanttodoisinsertthistransistorsothatthetransistorcanthenswitchthiscircuitonandoff.
That's becausethecurrentflowthroughthelediscomingfromournicefivevoltpowersupplythroughtheledthroughtheresistorthroughthetransistor, butonlywhenthetransistorisalsoseeing a smallamountofcurrentflowingfromitsbasetoitsemitter.
Andsohopefullyyoucanseeallofthat.
I'llzoominjust a littlebitincaseyoucan't justtotake a closerlookatthecircuitwhenyouslidethingsoverheresoyoucansee.
Andofcourse, I'llgetridof, well, actuallygetridofallthestuffwehaduponthetophere, justsowearen't confusedwithwhatwe'relookingatandzoomin a littlebitmore.