NOT, AND, OR Gates Using NAND Gates - Instructables

文章推薦指數: 80 %
投票人數:10人

In this instructable, we are going to construct NOT, AND, OR gates using NAND gates only. In the next steps, we will get into boolean algebra and we will ... Introduction:NOT,AND,ORGatesUsingNANDGatesByEngineeringLeadFollow Morebytheauthor: About:Movingfastandbreakingthings! MoreAboutEngineeringLead»Inthisinstructable,wearegoingtoconstructNOT,AND,ORgatesusingNANDgatesonly.Inthenextsteps,wewillgetintobooleanalgebraandwewillderivetheNAND-basedconfigurationsforthedesiredgates.NANDandNORgatesare"universal"gates,andthusanybooleanfunctioncanbeconstructedusingeitherNANDorNORgatesonly.Herearetwolinksfortheinstructablescoveringthefundamentalsofdigitallogicgates:1.DigitalLogicGates(Part1)2.DigitalLogicGates(Part2)Pleasefeelfreetopostanyquestionsregardingthisinstructableinthecommentssectionbelow.Enjoy!AddTipAskQuestionCommentDownloadStep1:BooleanAlgebraBooleanalgebraisabranchofmathematicallogic,wherethevariablesareeithertrue(1)orfalse(0).InordertoconstructNOT,AND,ORgatesfromNANDgatesonly,weneedtobefamiliarwiththefollowingbooleanalgebralaws:1.InvolutionLaw2.Idempotency(Idempotent)law3.DeMorgan'sLawThethreelawsareexplainedinFigure1.Also,wearegoingtousethe74LS00ICchiptoconstructthederivedNAND-basedconfigurationsonabreadboardinordertoconfirmtheresults.NotethatPin#7isconnectedground,andPin#14isconnectedtothesupplyvoltage(5V).Partsneeded:Breadboard9VbatteryBatteryconnector5VregulatorICChip:74LS00OneLED(anycolor)One330OhmresistorWiresasneededAddTipAskQuestionCommentDownloadStep2:NOTGateTheNAND-basedderivationoftheNOTgateisshowninFigure1.Also,itisimportanttonotethattheinputsoftheNANDgatesareconnectedtogether;thesameinput.InFigure2&3,theNAND-basedconfigurationwasderived,thetwopossibleinputs,zeroandone,weretested,andtheresultswereobserved.Thus,fromtheresults,wecanconcludethatinsertingthesameinputthrougha2-inputNANDgatewillresultinthecomplimentoftheinput;logicalnegationisimplementedwhichagreestothetruthtableofaNOTgateshowninFigure4.AddTipAskQuestionCommentDownloadStep3:ANDGateTheNAND-basedderivationoftheANDgateisshowninFigure1.Forthebreadboardpartofthisstep,thebluewirerepresentsInput1(A),wire2representsInput2(B),andtheLEDrepresentsthefinaloutput.Finally,fromtheresults,wecanconcludethatthederivedconfigurationoftheNANDgatesiscorrectandindeedisequivalenttoanANDgatebecausetheresultsagreewiththetruthtableoftheANDgateshowninFigure6.AddTipAskQuestionCommentDownloadStep4:ORGateTheNAND-basedderivationoftheORgateisshowninFigure1.Forthebreadboardpartofthisstep,thebluewirerepresentsInput1(A),wire2representsInput2(B),andtheLEDrepresentsthefinaloutput.Finally,fromtheresults,wecanconcludethatthederivedconfigurationoftheNANDgatesiscorrectandindeedisequivalenttoanORgate,becausetheresultsagreewiththetruthtableoftheORgateshowninFigure6.AddTipAskQuestionCommentDownload BetheFirsttoShare Didyoumakethisproject?Shareitwithus!IMadeIt!RecommendationsPlugIt-OpenSourceSmartPlug byThomasHuyghebaert inGadgets 272 31K GiantCardboardKnifeSwitch byBrownDogGadgets inElectronics 13 2.5K BuildaSuper-sizedExpandableSevenSegmentDisplay byDIYMachines inElectronics 28 4.0K Color-ChangingPromDressWithMagicWand bykellechu inWearables 91 14K DigitalFabricationStudentDesignChallengeFruitsandVeggiesSpeedChallengeTinkercadtoFusion360Challenge10Comments0rajsingh7308Question 1yearago onIntroductionAnswerUpvoteHowtoderiveexpressionforAND,OR,NOTbyusingNANDgate0muhammad.mati00Question 2yearsago onStep4AnswerUpvoteNANDgateasX-ORgate??0arpanmalewarQuestion 2yearsago onIntroductionAnswerUpvoteIfweconnecttheoutputofORgatetobothinputsofnandgate,whichgatewillbeobserved0SHOE0007 3yearsago ReplyUpvoteHereablinkerwithaNANDgatefromthe130in1.0AvinashM38Question 3yearsago AnswerUpvoteTruthtable...ofConversionofNANDtoAND 1 answer 0EngineeringLeadAvinashM38 Answer 3yearsago ReplyUpvoteNAND=NOTANDYoucanrefertothislinkformoreinformation.0RandyA57 3yearsago ReplyUpvoteAwesome!Thiswasahugehelp.Manythanks. 1 reply 0EngineeringLeadRandyA57 Reply 3yearsago ReplyUpvoteGladyoufoundithelpful!0westjim 6yearsago ReplyUpvote1971IworkedforHoneywellComputer.theirmainframecomputerwasmadeupalmostentirelyofNANDgates.theyweremountedon1ftsquarewirewrapboards.andthelogicwasconstructedbyautomatedwirewrapmachines. 1 reply 0EngineeringLeadwestjim Reply 6yearsago ReplyUpvoteOneofIntel'sfirstmemorycellsconsistedofaclockedJKflipflop,whichbasicallycomprisedofaclockedcross-coupledNANDgates.Itistrulyamazinghowacomplexmachinecanbebrokendownintobasicprinciples.Thankyouforsharingyourvaluableexperience!PostComment



請為這篇文章評分?