LED光立方制作全过程(三十)
Step49Software:IntroductionThesoftwareiswritteninCandcompiledwiththeopensourcecompileravr-gcc.ThisisthemainreasonweuseAtmelAVRmicrocontrollers.ThePICseriesfromMicrochipisalsoanicechoice,butmostoftheCcompilerscostmoney,andthefreeversionshavelimitation
发表于 5/11/2011 12:30:27 AM
阅读(2183)
LED光立方制作全过程(二十九)
Step47TestthecubeThetestcodeyouprogrammedinthepreviousstepwillletyouconfirmthateverythingiswiredupcorrectly.Itwillstartbydrawingaplanealongoneaxis,thenmovingitalongall8positionsofthataxis.(byplanewemeanaflatsurface,notanairplane:p)Thetestcodewilltrav
发表于 5/9/2011 11:20:21 PM
阅读(2533)
LED光立方制作全过程(二十八)
Step45ProgramtheAVR:SetthefusebitsTheATmega32hastwofusebytes.ThesecontainsettingsthathavetobeloadedbeforetheCPUcanstart,likeclocksourceandotherstuff.YouhavetoprogramyourATmegatouseanexternalhighspeedcrystaloscillatoranddisableJTAG.Wesetthelowerfuseby
发表于 5/9/2011 12:56:18 AM
阅读(1835)
LED光立方制作全过程(二十七)
Step43Buildthecontroller:ConnecttheboardsThetwoboardsareconnectedbytwocables:AribboncablefortheDATAandAddressBUS.A2wirecableforGNDandVCC.Afterconnectingthesetwocables,yourboardiscomplete.Step44Buildthecontroller:ConnectthecubeConnecttheribboncablesac
发表于 5/8/2011 11:20:10 AM
阅读(2122)
LED光立方制作全过程(二十六)
Step42Buildthecontroller:MakeanRS-232cable(这篇的图有些多了~)ToconnecttheLEDcubetoaserialportonyourcomputer,youneedtomakeaserialcablewithafemaleD-Sub9pinconnector.Ouremployerdeployed70Ethernetswitcheswithmanagementlastyear.WitheachswitchcomesanRS23
发表于 5/8/2011 12:15:11 AM
阅读(1965)
LED光立方制作全过程(二十五)
Step41Buildthecontroller:RS-232Togetthetrulyamazinganimations,weneedtoconnecttheLEDcubetoaPC.ThePCcandofloatingpointcalculationsthatwouldhavetheAVRworkinginslowmotion.TheATmegahasabuiltinserialinterfacecalledUSART(UniversalSynchronousandAsynchronouss
发表于 5/7/2011 11:00:17 AM
阅读(2606)
LED光立方制作全过程(二十四)
Step40Buildthecontroller:ButtonsandstatusLEDsimagenotfoundStartthecubeinautonomousmodechriYoucanmakeaLEDcubewithoutanybuttonsatall,butitsnicetohaveatleastonebuttonandsomestatusLEDsfordebugging.WeaddedoneawesomelookingbuttonwithtwobuiltinL
发表于 5/6/2011 12:48:58 PM
阅读(31518)
LED光立方制作全过程(二十三)
Step39Buildthecontroller:TransistorarrayimagenotfoundPullupresistors.Thistypeofresistoriscalledaresistornetwork.Itjusthasabunchofresistorsconnectedtoacommonpin.chrTwoandtworesistorsworktogether.chriimagenotfoundiimagenotfound&
发表于 5/6/2011 12:47:10 PM
阅读(2692)
LED光立方制作全过程(二十二)
Step38Buildthecontroller:AVRboardimagenotfoundiimagenotfoundiimagenotfoundiimagenotfoundIncircuitserialprogrammingheader.chriBraaaaainzz!!!ThisboardisthebrainoftheLEDcube.ThemaincomponentisanAtmelAVRATmega32.
发表于 5/5/2011 12:06:40 AM
阅读(2768)
LED光立方制作全过程(二十一)
Step36Buildthecontroller:ConnecttheICs,8bitbus+OEimagenotfoundiInthepicture,youllnoticealotofwireshavecomeintoplace.Allthetinybluewiresmakeupthe8+1bitbusthatconnectsallthelatchICs.8bitsarefordata,andthe+1bitistheoutputenableline.Att
发表于 5/4/2011 8:49:43 AM
阅读(6760)
LED光立方制作全过程(二十)
Step35Buildthecontroller:PowerrailsandICpowerimagenotfoundVCCcrossesGNDonceforeachrowofICschriimagenotfoundGNDandVCCrunsalongthelengthoftheboard.chriRememberthatprotoboardsolderingtrickweshowedyouinapreviousstep?Wetoldyouitwouldcome
发表于 5/3/2011 1:01:30 PM
阅读(1811)
LED光立方制作全过程(十九)
Step34Buildthecontroller:ICsockets,resistorsandconnectorsimagenotfoundInputsidenotsolderedyet.chrResistorsolderedtoICchrResistorsolderedtoconnectorchriimagenotfoundiInthisstepyouwillbesolderinginthemaincomponentsofthemultiplexerarra
发表于 5/3/2011 10:44:43 AM
阅读(1813)
LED光立方制作全过程(十八)
Step33Buildthecontroller:PowerterminalandfilteringcapacitorsThecubeiscomplete,nowallthatremainsisamonstercircuittocontrolthething.Letsstartwiththeeasiestpart,the"powersupply".ThepowersupplyconsistsofascrewterminalwhereyouconnecttheGNDandVCC
发表于 5/3/2011 10:39:01 AM
阅读(2202)
LED光立方制作全过程(十七)
Step31Buildthecontroller:clockfrequencyWeuseanexternalcrystalof14.7456MHztodrivetheATmegasystemclock.Youmaybethinkingthatthisisanoddnumbertouse,andwhywedidntruntheATmegaatthe16MHzitisratedfor.WewanttobeabletocontroltheLEDcubefromacomputer,using
发表于 4/29/2011 11:16:19 AM
阅读(3979)
LED光立方制作全过程(十六)
Step29Buildthecube:attachcables64+8wireshavetogofromthecontrollertotheLEDcube.Weusedribboncabletomakethingsalittleeasier.Thegroundlayersusean8-wireribboncable.Thecathodesareconnectedwith416-wireribboncables.Eachoftheseribboncablesaresplitintwoateithe
发表于 4/27/2011 10:01:47 PM
阅读(2532)
