基于单片机的电子秤电路的设计摘 要随着微电子技术的应用,市场上使用的传统称重工具已经满足不了人们的要求。为了改变传统称重工具在使用上存在的问题,在本设计中将智能化、自动化、人性化用在了电子秤重的控制系统中。本系统主要由单片机来控制,测量物体重量部分由称重传感器及 A/D 转换器组成,加上显示单元,此电子秤俱备了功能多、性能价格比高、功耗低、系统设计简单、使用方便直观、速度快、测量准确、自动化程度高等特点。本系统以 AT89S52 单片机为主控芯片,外围附以称重电路、显示电路、键盘电路等构成智能称重系统电路板,从而实现自动称重系统的各种控制功能。可以说,此设计所完成的电子秤很大程度上满足了应用需求。本系统是针对是电子称的自动称重、自动计价、数据处理进行讨论的。为了阐明用单片机是如何对采样数据进行处理,对数据的采集和转换、计算问题进行了讨论。讨论了单片机控制系统中关键的中断、计算问题,结果表明通过软件设计实现更完善。本文在给出智能电子称硬件设计的基础上,详细分析了电子称的软件控制方法。由于单片机控制的电子称结构简单,成本低廉,深受人们的喜爱,本文将对此进行详细讨论.关键词:压力传感器;采样电路;A/D 转换器;LCD 显示器;The electronic scale design based on microcontrollerAbstractWith the application of micro-electronics technology , tradition pressure transducer used in market has been not satisfaction with human requirements already. In order to make up for the traditional apparatus shortcoming, we improve the apparatus's control system with intelligence and automation. This system is mainly controlled by microcontroller , the section of height measurement accomplish by supersonic sensor, the section of weight measurement accomplish by weight sensor and A/D transformer, this apparatus have many characteristic such as having more function, consume less energy, small and move easily , low price, measure precisely, the speed is quick, automatic work without people and so on。The system is mainly controlled by the microcontroller AT89S52, the periphery is consi...