I电子科技大学成都学院微电子技术系工程系统1设计报告题目名称简易电子秤小组成员:姓名江继维学号1440710425姓名夏天学号1440710410专业集成电路设计与集成系统指导教师林国伟2016年6月制ABSTRACTII摘要秤是一种在实际工作和生活中经常用到的测量器具。随着计量技术和电子技术的发展,传统纯机械结构的杆秤、台秤、磅秤等称量装置逐步被淘汰,电子称量装置电子秤、电子天平等以其准确、快速、方便、显示直观等诸多优点而受到人们的青睐。和传统秤相比较,电子秤利用新型传感器、高精度AD转换器件、单片机设计实现,具有精度高、功能强等特点。本课题设计的电子秤具有基本称重功能。该电子秤的测量范围为0-5Kg,测量精度达到1g,有高精度,低成本,易携带的特点。电子秤采用液晶显示数值,比传统秤具有更高的准确性和直观性。另外,该电子秤电路简单,使用寿命长,应用范围广。ABSTRACTIIIABSTRACTScaleisakindofmeasuringinstrumentwhichisoftenusedinpracticalworkandlife.Withthedevelopmentofmeasurementtechnologyandelectronictechnology,gradualeliminationoftraditionalpuremechanicalstructureofthesteelyard,scales,scales,weighingapparatus,electronicweighingapparatuselectronicbalance,electronicbalancetoaccurate,rapid,convenientandintuitivedisplayetc.manyadvantagesbypeople'sfavor.Comparedwiththetraditionalscale,electronicscaleusinganewtypeofsensor,highprecisionADconverter,MCUdesign,withhighprecision,strongfunctionandsoon.Theelectronicscaledesignedbythispaperhasthebasicfunctionofweighing.Themeasuringrangeoftheelectronicscaleis0-5Kg,themeasurementaccuracyis1g,withhighprecision,lowcostandeasytocarry.Electronicscaleusingliquidcrystaldisplayvalue,comparedwiththetraditionalscalehasahigheraccuracyandintuitive.Inaddition,theelectronicscalecircuitissimple,theservicelifeislong,andtheapplicationrangeiswide.目录III目录第1章课题整体框架...........................................................................................................11.1课题任务...................................................................................................................................11.2课题要求...................................................................................................................................11.3研究意义...................................................................................................................................1第2章设计方案...................................................................................................................22.1硬件系统框图............................................................................................................................22.2传感器模块................................................................................................................................32.3MCU控制...................................................................................................................................72.3.1电源模块................................................................................................................................92.3.2复位电路..............................................................................................................................102.3.3震荡电路..............................................................................................................................102.4软件设计.................................................................................................................................112.4.1软件工具..............................................................................................................................112.4.2模块流程图..........................................................................................................................11第3章实现功能.................................................................................................................123.1实现功能描述..........................................................................................................................123.2电路设计.................................................................................................................................12第4章调试与实现.............................................................................................................134.1调试中遇到的重点与难点......................................................................................................134.2解决方案.................................................................................................................................134.3实现展示(附上仿真图或实物照片)..................................................................................13第5章总结.........................................................................................................................14参考文献.........................................................................................................................................15致谢................................................................................................................................................16附录................................................................................................................................................17附录一:源代码.............................................................................................................................17第1章课题整理框架1第1章课题整体框架1.1课题任务设计能称量物体重量的简易数字电子秤。1.2课题要求本文主要设计的内容是简易电子秤,他用单片机处理作为核心,信号由压力传感器感受后经放大器和数模转换后输入到单片机,同时该电子秤具有LED显示,该电子秤具体实现的功能是能够测量一定质量内的物体。1.3研究意义电子秤不仅要向高精度、高可靠方向发展,而且更需向多种功能的方向发展。据悉,目前电子秤的附加功能主要有以下几种:1.电子秤附加了处理机构计算机