ManyapplicationsrequiredrivingLEDsalongwithan
interfacetoakeypad.Implementingsuchdesigns
usuallyinvolvesusingupsignificantamountsofthe
processorsI/Olines.Thisapplicationnotedescribesa
methodwhichusesonly16I/OpinsofaPIC16C5X
microcontrollertosamplea4x4keypadmatrix,and
directlydrivefour7-segmentLEDs(Figure1).AN529MultiplexingLEDDriveanda4x4KeypadSamplingdriveoftheLEDsispossible,becauseofthehighsinkAuthor:StanD’SouzaandsourcecapabilitiesofPIC16C5Xmicrocontroller,MicrochipTechnologyInc.thuseliminatingtheuseofanexternaldrivetransistor,andresultsinareductioninbothcostandcomplexityofINTRODUCTIONtheoverallcircuit.TypicallyapplicationshavingLEDsa
暂无评论