基于单片机控制的电子秤的设计摘要:随着国内外的技术不断的进步,科研的实力也在快速的发展,在国家提出了先进的技术、减少成本的基础下,很多高新的科技、高保值的产品也开始了国产化的进程。本文所叙述的是电子秤的功能的实现和运用都是在这个研究背景下进行展开的。本文主要叙述了电子秤的种类和具体原理,应变片式的传感器的选型、数字技术在传感器的数值上输出应用、电子秤的应用程序以及电子秤数据接口等方面。传感器是电子秤的主要设备,因为它的自身的特性,温度,所处的整个环境、压力的影响,电子秤称重的误差都是来自于传感器的,所以传感器的特性的程序的开发都是非常重要的。本文都是针对传感器的温度,脚刹线性等特性,采用软件和硬件相互结合的方法,来给传感器的特性降低,从而得出输出数字。精度的影响,我们可以针对温度和茹变的影响,来对现在仅有的算法进行改良,特别是对于角度差的算法,提出了点,线,曲线法对于线性采用了软件的算法,并且与硬件相互结合,减少了调整线性的不确定性。整机测试后,结果。加入算法后的传感器数值的精度和稳定性都有很明显的提高。随着数字的应用,我们可以减少在生产过程中的。作用,这样可以降低了人力的成本来是产品的稳定性变得更加的。但考虑到以后用户的数据采集这个电子秤设计十分的方便在很大的限度上都是为用户的数据提供了需求。关键词:电子秤、传感器、传感器补偿、数据接口DesignofElectronicScaleBasedonMCUControlAbstract:Withthecontinuousprogressoftechnologyathomeandabroad,thestrengthofscientificresearchisalsodevelopingrapidly.Onthebasisofadvancedtechnologyandcostreductionputforwardbythestate,manyhigh-techandhigh-valueproductshavebeguntheprocessoflocalization.Thispaperdescribestherealizationandapplicationofthefunctionsofelectronicscalesarecarriedoutunderthisresearchbackground.Thispapermainlydescribesthetypesandprinciplesofelectronicscales,theselectionofstraingaugesensors,theapplicationofdigitaltechnologyinthenumericaloutputofsensors,theapplicationprogramofelectronicscalesandthedatainterfaceofelectronicscales.Sensoristhemainequipmentofelectronicscale,becauseofitsowncharacteristics,temperature,theinfluenceofthewholeenvironmentandpressure,theweighingerrorofelectronicscalecomesfromthesensor,sothedevelopmentoftheprogramofsensorcharacteristicsisveryimportant.Aimingatthetemperatureandlinearityofthefootbrakeofthesensor,thispaperadoptsthemethodofcombiningsoftwareandhardwaretoreducethecharacteristicsofthesensor,soastogettheoutputnumber.Fortheinfluenceoftemperatureandrut,wecanimprovetheexistingalgorithms.Especiallyforthealgorithmofangledifference,thepoint,lineandcurvemethodadoptssoftwarealgorithmforlinearity,andcombineswithhardwaretoreducetheuncertaintyofadjustinglinearity.Afterthewholemachinetest,theresults.Theaccuracyandstabilityofthesensor'snumericalvalueareimprovedobviouslyafteraddingthealgorithm.Withtheapplicationofdigitaltechnology,wecanreducetheproductionprocess.Thisreducesthecostofmanpowertomaketheproductmorestable.However,consideringthefutureuserdataacquisition,thiselectronicscaledesignisveryconvenient,inalargeextent,itprovidesuserswithdataneedsKeywords:ElectronicScale,Sensor,SensorCompensation,DataInterface目录目录..................................................................................................................................................4第一章绪论..............................................................................................................................61.1.研究背景和意义....................................................................................................