所需E币: 5
时间: 2020-1-3 18:06
大小: 69.06KB
LightEmittingDiodes,orLED's,arediscretecompo-nentsabletoproducelightwhenacurrentpassesthroughthem.MostmicrocontrollerdesignsuseoneormoreLED's.ThisapplicationhighlightstheutilityofdrivingmultipleLED'swithaminimumnumberofI/Opins.Typically,eachI/OdrivesorsourcesasingleLED.Todrivemorethanone,ahighI/Ocountisrequired.InordertoreduceI/Orequirements,LED'saremulti-plexedinamatrix(asfoundonakeyboard).Thecom-plementaryLEDdrivemethodproposestoimplementevenmoreLEDswhileusingfewerI/O.LEDsarepolarizedandcanonlyoperatewhencurrentflowsfromanodetocathode(unlikeaswitch).Wecanthereforetakeadvantageofthisfact.Table1showsthenumberofpossibleLEDswithrespecttothenumberofI/Opinsrequired.Fifty-sixLEDscanbedrivenusingonly8pins.TheonlydrawbackisthatonlyoneLEDcanbedrivenatatime.MTB029ComplementaryLEDDriveTHEORYOFOPERATIONAuthor:Jean-ClaudeRebicPioneer-StandardSomemicrocontrollersavailabletodaycansinkhighcurrent,whileothersofferalimitednumberofpinstosourcehighcurrent.MicrochipmicrocontrollershaveaINTRODUCTIONveryexiblepinstructure.Whenapinisconguredasaninput,th……