下载后可任意编辑基于单片机控制的电子称的设计 摘 要 本文设计的电子秤以单片机为主要部件,用 C 语言进行软件设计,硬件则以传感器、放大系统、A/D 转换系统、CPU 控制系统、LCD显示系统、报警系统及键盘控制系统七个部分组成
通过对电路输出电压和标准重量的线性关系,建立具体的数学模型,将电压量纲(V)改为重量纲(g)即成为一台原始电子秤,在此基础上增加了LCD 显示、键盘控制及阈值报警功能,随时可改变上限阈值,调节单价,去皮处理,显示总价格的功能,使本产品智能化,符合现代社会电子信息化的要求
关键词:单片机,传感器,A/D 转换,LCD 显示,阈值报警I下载后可任意编辑 THE DESIGN OF MCU-BASED ELECTRONIC WEIGHER ABSTRACTIn this paper, SCM was chosen as the main component of the electronic weigher
Software program was designed by using C language, and the hardware contains 7 parts: sensor, amplification system, A/D conversion system, CPU, LCD display system, alarm system and keyboard control system circuit
By examining the linear relationship between the output voltage and the standard weight, a specific mathematical model was established, and then we should change the