Abstract1.11.1.11.1.2://www.517art.com/1.1.4://www.517art.com/2.12.1.1704.0801-=WGH306.0203-=WGM100.02.53-=WGL2.2.2A://www.517art.com/g2-1f(Hz)18gC12g14g50ms2.22.2.12-12.2.22-2://www.517art.com/2.4100g-687096%RH-407096%RH20g1kHzf(Hz)2-4://www.517art.com/3-13-2://www.517art.com/3-3ADXL50://www.517art.com/3-4://www.517art.com/3-6://www.517art.com/://www.517art.com//://www.517art.com/://www.517art.com/3-14MAX232://www.517art.com/133-15ADXL50RS232651265/PCF8563P87LPC769At24C256181716LM35AHHIH3610RXD1T0SCLAD0AD1AD2SCLSCL311910MAX232TXD1,,RS232,,MAX232LPC769,/,RS2323.4.1I2CI2CAI2CI2CI2CPHILIPSSPIMicroWireSDASCLI2CI2CV1.0V2.0V2.1100kb/sS1992400kb/sF1999Hs3.4Mb/sRAMEEPROMFLASHLCDIC3-16I2CSDASCL://www.517art.com/At24C256/PCF8563SCLSDA3.4.23-18P87C769R1C1LEDC4C5Y13-18P87LC7693-17I2C,RS232S1S2P87C769P0.318P0.417P0.614P0.516P1.63D/AP1.63TXD12RXD11MAX2323-19RS2323.4.31://www.517art.com/3-19://www.517art.com/4.2://www.517art.com/4-2://www.517art.com/EEPROM4-3(a)(b)(ByValdwMillisecondsAsLong)ConstXon=&H11ConstXoff=&H13PrivateSubComCount_Click()Dimcommand(4)AsByteDimStrDimcountAsLongOnErrorGoToHaveErrIfMSComm1.PortOpen=FalseThenMsgBox,vbInformation,ExitSubEndIfcommand(0)=&H724-5(1)=&H70command(2)=&H67command(3)=&HAcommand(4)=&HDMSComm1.OutBufferCount=0MSComm1.Output=commandSleep200'MSComm1.InBufferCount=0MSComm1.InputMode=comInputModeBinaryStr=MSComm1.InputIfStr(2)=&H6FAndStr(3)=&H6BThencount=Str(0)count=count*256+Str(1)TCount.Text=countACount.Text=countElseTCount.Text=0ACount.Text=0MsgBox,vbInformation,EndIfMSComm1.InputMode=comInputModeTextExitSubHaveErr:MsgBox!,,vbInformation,EndSubPrivateSubComExit_Click()IfMSComm1.PortOpen=TrueThenMSComm1.PortOpen=FalseEndIfUnloadMe'frmSplash.ShowEndSubPrivateSubComMONTH_Change()EndSubPrivateSubComOpenPort_Click()'------------------------------------------------------------':'------------------------------------------------------------+1MSComm1.CommPort=iIfMSComm1.PortOpen=FalseThenMSComm1.PortOpen=TrueEndIfComOpenPort.Caption=&C.ElseMSComm1.PortOpen=FalseComOpenPort.Caption=&O.EndIfMSComm1.OutBufferCount=0'MSComm1.InBufferCount=0'EndSubPrivateSubComRead_Click()Dimcommand(7)AsByteDimindexAsIntegerDimStrAsStringDimstr2AsString'DimiAsIntegerCallComCount_ClickOnErrorGoToHaveErrIfMSComm1.PortOpen=FalseThenMsgBox,vbInformation,ExitSubEndIfindex=Val(TCount.Text)TIncept.Text=Fori=0Toindexcommand(0)=&H72command(1)=&H64command(2)=&H74command(3)=&H3Acommand(4)=iAnd&HFF00command(4)=command(4)/256command(5)=iAnd&HFFcommand(6)=&HAcommand(7)=&HD'MSComm1.OutBufferCount=0'Fori=0To5'TIncept.Text=TIncept.Text&Hex(ttemp(i))&H'NextiTIncept=TIncept&Hex(ttemp(3))&ttemp(2)=ttemp(2)And&H3FTIncept=TIncept&Hex(ttemp(2))&TIncept=TIncept&Hex(ttemp(1))&ttemp(2)=ttemp(2)And&H3FTIncept=TIncept&Hex(ttemp(0))&TIncept=TIncept&(&Oct(ttemp(4))&)TIncept=TIncept&(&Oct(ttemp(5))&)TIncept=TIncept&vbCrLfTIndex=iNextiMSComm1.InputMode=comInputModeTextExitSubHaveErr:MsgBox!,,vbInformation,EndSubPrivateSubComReadA_Click()Dimcommand(7)AsByteDimStrAsStringDimstr2AsString'DimttempAsVariantDimindexAsIntegerDimiAsIntegerCallComCount_ClickOnErrorGoToHaveErrIfMSComm1.PortOpen=FalseThenMsgBox,vbInformation,ExitSubEndIfindex=Val(TCount.Text)TIncept.Text=Fori=0Toindex(0)=&H72command(1)=&H64command(2)=&H67command(3)=&H3Acommand(4)=iAnd&HFF00command(4)=command(4)/256command(5)=iAnd&HFFcommand(6)=&HAcommand(7)=&HD'MSComm1.OutBufferCount=0MSComm1.Output=commandSleep100MSComm1.InputMode=comInputModeBinaryttemp=MSComm1.Input'Fori=0To5'TIncept.Text=TIncept.Text&Hex(ttemp(i))&H'NextiTIncept=TIncept&Hex(ttemp(3))&ttemp(2)=ttemp(2)And&H3FTIncept=TIncept&Hex(ttemp(2))&TIncept=TIncept&Hex(ttemp(1))&TIncept=TIncept&Hex(ttemp(0))&TIncept=TIncept&(&Oct(ttemp(4))&)TIncept=TIncept&vbCrLfTIndex=iNextiMSComm1.InputMode=comInputModeTextExitSubHaveErr:MsgBox!,,vbInformation,EndSubPrivateSubComSave_Click()DimfilenameAsStringOnErrorResum