简单DIY制作——分光计(五)
Step5DetectingthelightAmplificationcircuitTodetectthelightthatpassesthroughthesample,weregoingtouseanLDR,orLight-DependentResistor.Thoughitwouldbepossibletoobtainreadingsbyconnectinganohm-meterstraighttotheLDR,itprobablyisabetterideatocon
发表于 2011/5/28 上午11:26:49
阅读(1733)
简单DIY制作——分光计(三)
Step3DiffractionSplittingthelightTobeabletoselectacertainwavelength(thecoloroflightdependsonitswavelength)wefirstneedtosplitthelightintoaspectrum.Thiscanbeaccomplishedbyadiffractiongrating.Sincemostpeopledonthavediffractiongratingslyingaroundth
发表于 2011/5/27 下午11:39:37
阅读(3451)
简单的DIY制作——分光计(一)
AsimpleDIYspectrophotometerWhatsallthis?Thisinstructablewillexplainhowtobuildafairlybasicbutworkingspectrophotometeroutofeasilysourceableparts.Ofcourse,thisdeviceisnothingcomparedtoacommercialspectrophotometer,butitwillallowthebuildertoun
发表于 2011/5/27 下午10:35:44
阅读(9579)
单片机控制诺基亚2600彩屏(九)
Step11TheCode-ForAVRStudio4(AVR),KeiluVision4(8051)IhavepostedexamplecodeforbothAVRand8051microcontrollersasIhaveusedtheLCDwithboth.ThecodewasoriginallywrittenforATMega168basedontheSparkFunexamplesforboththeLCDandArduinoLCDSh
发表于 2011/5/25 下午8:22:10
阅读(1763)
单片机控制诺基亚2600彩屏(八)
Step9DrawingOptimizationsWhendrawingmovingobjectsontheLCD,youcangreatlyspeeduptheframerateandeliminatescreenglitchesbyonlyredrawingthemovingpartsofanobjectratherthanredrawingtheentirescreenorentireobject.Forinstance,ifaballismovingacrosst
发表于 2011/5/25 下午8:16:14
阅读(1986)
单片机控制诺基亚2600彩屏(六)
Step6DrawingRectanglesRectanglesareincrediblyuseful.Youcandrawonebigrectangletoclearthescreen,usethemformenuelements,indicators,checkboxes,frames,textbackgrounds,andmuchmore.ThankfullytheyareeasytodrawontheNokiaLCDs.Allyouneed
发表于 2011/5/24 下午8:43:13
阅读(1811)
单片机控制诺基亚2600彩屏(五)
Step5AVR-Outputting9-bitSPIwithInlineAssemblyToimplementthe9-bitprotocolusinganAVR,IfoundaniceASMfunctionintheSparkFunexamplecode.ImodifiedthecodesometocleanitupandadaptitforthePhillipscontroller.ThisASMcodeismoreefficientthanusingr
发表于 2011/5/24 下午8:41:37
阅读(1902)
单片机控制诺基亚2600彩屏(四)
Step3LCDProtocol-Initialization(PhillipsPCF8833Only!)TheLCDhasmanyfunctionsthatareavailablebysendingcommandsovertheSPIinterface.TheimportantonesareexplainedhereandwillallowyoutogetyourLCDupandrunning.AfullsetofcommandsislistedintheP
发表于 2011/5/24 下午8:40:05
阅读(2005)
单片机控制诺基亚2600彩屏(三)
Step2ElectricalInterfacingAfteryouhaveabreakoutboardfortheLCDconnector,youmustconnectittoyourcircuit.Thereare10pinsontheconnector,oneisunused.TheLCDhasfourcontrolsignals(Clock,Data,Reset,ChipSelect),two3.3Vinputs,twogrounds,an
发表于 2011/5/23 下午10:08:28
阅读(2869)
无线自行车里程计(十二)
Step13Resources最近转的文章比较短,所以呢,这篇到此就结束了。。。CycleComputerVersion0.1ArduinoCode&ProcessingCodeHeresalistofthingsandplacesIfoundusefulthroughoutbuildingthisproject:AdamOHern/CADJunkieOriginalCode16
发表于 2011/5/22 下午3:24:19
阅读(41434)
无线自行车里程计(九)
Step9AddtheXbeeModulesTheAdafruitadapterandXbeemodulefitsnuglyjustbehindtheUSBsocketonthearduino.Inthepicture,hopefullyyoucanseethefoldedcardinsertinsulatingthemodulefromothercomponents.TheXbeeadaptermakesiteasytoconnecttotheArduinowitha5vsuppl
发表于 2011/5/22 下午3:06:17
阅读(1838)
无线自行车里程计(八)
Step8InstallingtheSensor/ReedSwitchThesensorisjustareedswitchthatclosesthecircuitwhenamagnetpassesinfront.TheArduinomonitorswhenthesensorpingoesHIGH(magnetpresent)andsendsoutapulseoverserialofspeeddataetc.ConnectonewirefromthesensortoArduino+3.
发表于 2011/5/21 下午9:39:41
阅读(1760)
无线自行车里程计(七)
Step7WiringuptheLCDIchosetouseCat5cabletowireupthe16x2displaytotheArduino.AdvantagesofCat5ColourcodedNottoobulkyFlexibleforclosingthelidHighqualitycoppergreatforsoldering1)StartbysolderingthewiretothepadsonthebackoftheLCD.Itdoesntreallyma
发表于 2011/5/21 下午9:25:39
阅读(2424)
无线自行车里程计(六)
Step6AddtheArduinoBeforeinstallingtheArduinointhecase,youllwanttouploadthecodefirst.OtherwiseitsgoingtobealittlebitdifficulttoconnecttheUSBconnectorwhenitsintheAltoidstin.GettheArduinoCodeHere!Besuretochangethewheelcircumferenceinmi
发表于 2011/5/21 下午9:19:52
阅读(1766)
无线自行车里程计(三)
Step2Mark&DrillHolesWellstartoffbymarkingholesintheAltoidstinthatisgoingtobefittedtothebikeitself.WiththeAltoidsgraphicsonthetopofthetinfacingyou,usingamarkerpen...LeftSide-mark2x5mmholesabout10mmapart.Thesewillbeforthecablesthatconnecttoth
发表于 2011/5/21 下午3:28:44
阅读(1772)
