单片机控制诺基亚2600彩屏(六)
Step6DrawingRectanglesRectanglesareincrediblyuseful.Youcandrawonebigrectangletoclearthescreen,usethemformenuelements,indicators,checkboxes,frames,textbackgrounds,andmuchmore.ThankfullytheyareeasytodrawontheNokiaLCDs.Allyouneed
发表于 5/24/2011 8:43:13 PM
阅读(1749)
单片机控制诺基亚2600彩屏(五)
Step5AVR-Outputting9-bitSPIwithInlineAssemblyToimplementthe9-bitprotocolusinganAVR,IfoundaniceASMfunctionintheSparkFunexamplecode.ImodifiedthecodesometocleanitupandadaptitforthePhillipscontroller.ThisASMcodeismoreefficientthanusingr
发表于 5/24/2011 8:41:37 PM
阅读(1852)
单片机控制诺基亚2600彩屏(四)
Step3LCDProtocol-Initialization(PhillipsPCF8833Only!)TheLCDhasmanyfunctionsthatareavailablebysendingcommandsovertheSPIinterface.TheimportantonesareexplainedhereandwillallowyoutogetyourLCDupandrunning.AfullsetofcommandsislistedintheP
发表于 5/24/2011 8:40:05 PM
阅读(1930)
单片机控制诺基亚2600彩屏(三)
Step2ElectricalInterfacingAfteryouhaveabreakoutboardfortheLCDconnector,youmustconnectittoyourcircuit.Thereare10pinsontheconnector,oneisunused.TheLCDhasfourcontrolsignals(Clock,Data,Reset,ChipSelect),two3.3Vinputs,twogrounds,an
发表于 5/23/2011 10:08:28 PM
阅读(2803)
单片机控制诺基亚2600彩屏(二)
Step1LCDConnectorandBreakoutBoardIfyoudonthaveabreakoutboard,youneedtofirstmakesomesortofconnectorfortheLCD.Myfirstattemptwastosolderthinmagnetwiretoeachlegoftheconnectorwithafine-tipsolderingiron.ThistookseveraltriesbuteventuallyIg
发表于 5/23/2011 10:05:13 PM
阅读(2253)
单片机控制诺基亚2600彩屏(一)
HowToUseaNokiaColorLCD!NokiamanufacturesawidevarietyofcellphonesandmanyoftheircheaperphonescontainsimpleLCDswhichmaybeusedinmicrocontrollerprojects.ThereisoneparticularLCDmodelthatisusedinawidevarietyoftheirphonesandisoftenreferredt
发表于 5/23/2011 10:00:54 PM
阅读(2484)
无线自行车里程计(十二)
Step13Resources最近转的文章比较短,所以呢,这篇到此就结束了。。。CycleComputerVersion0.1ArduinoCode&ProcessingCodeHeresalistofthingsandplacesIfoundusefulthroughoutbuildingthisproject:AdamOHern/CADJunkieOriginalCode16
发表于 5/22/2011 3:24:19 PM
阅读(41356)
无线自行车里程计(十一)
Step12FinishedMaking!Nowthatweredonemaking,powerupyournewArduinobasedcyclecomputer!OpenuptheProcessingsketch,movethefrontwheelsothatthemagnetpassesthesensorandyoushouldseethegraphcometolife!Youcurrentspeedwillalsobedisplayedonthe16x2lcd!NOTE:Ic
发表于 5/22/2011 3:22:01 PM
阅读(1415)
无线自行车里程计(十)
Step10SecuretotheBikeIveusedsomevelcrotiestomountthealtoidscaseandthe9vbatterytothebikeframe.YoumightbeabletodosomethingsimilarwiththeLCD.Itreallydependswhatyourbikehandlebarsarelike.Iusedsomehotgluetofixthedisplaytoapre-existingclamp.&nb
发表于 5/22/2011 3:10:14 PM
阅读(1461)
无线自行车里程计(九)
Step9AddtheXbeeModulesTheAdafruitadapterandXbeemodulefitsnuglyjustbehindtheUSBsocketonthearduino.Inthepicture,hopefullyyoucanseethefoldedcardinsertinsulatingthemodulefromothercomponents.TheXbeeadaptermakesiteasytoconnecttotheArduinowitha5vsuppl
发表于 5/22/2011 3:06:17 PM
阅读(1765)
无线自行车里程计(八)
Step8InstallingtheSensor/ReedSwitchThesensorisjustareedswitchthatclosesthecircuitwhenamagnetpassesinfront.TheArduinomonitorswhenthesensorpingoesHIGH(magnetpresent)andsendsoutapulseoverserialofspeeddataetc.ConnectonewirefromthesensortoArduino+3.
发表于 5/21/2011 9:39:41 PM
阅读(1670)
无线自行车里程计(七)
Step7WiringuptheLCDIchosetouseCat5cabletowireupthe16x2displaytotheArduino.AdvantagesofCat5ColourcodedNottoobulkyFlexibleforclosingthelidHighqualitycoppergreatforsoldering1)StartbysolderingthewiretothepadsonthebackoftheLCD.Itdoesntreallyma
发表于 5/21/2011 9:25:39 PM
阅读(2354)
无线自行车里程计(六)
Step6AddtheArduinoBeforeinstallingtheArduinointhecase,youllwanttouploadthecodefirst.OtherwiseitsgoingtobealittlebitdifficulttoconnecttheUSBconnectorwhenitsintheAltoidstin.GettheArduinoCodeHere!Besuretochangethewheelcircumferenceinmi
发表于 5/21/2011 9:19:52 PM
阅读(1700)
无线自行车里程计(五)
Step4AltoidsSurfacePreparationAsiconicastheAltoidsgraphicsare,IfoundthatIquitelikedthebrushedmetallook.>>Takesomesandpaperandbeginwearingawaythetoplayerofpaint.Thefinerthegradeofabrasionyouhave,thesmootherthefinishwillbe.Step5CutPVC
发表于 5/21/2011 3:35:58 PM
阅读(1392)
无线自行车里程计(四)
Step3AttachAntennaSocketTheexternalantennasocketwillmountonthebackleftholethatwemadeearlier...>>Pushthesocketthroughfromtheinsideofthetinandtightenthenutontheoutsideofthetinwithapairofneedle-nosepliers.Ifyourconnectorhasalockingwasher,kee
发表于 5/21/2011 3:32:07 PM
阅读(1538)
