1、 第 I 页 共 59 页 电子秤售药系统设计电子秤售药系统设计 摘要电子秤售药系统是以 AT89C52 为核心设计的。利用高灵敏度的压力传感器来提取信号,系统中通过称重传 感器输出的模拟信号经放大器放大处理后送入 8 位模数转换器 AD0809 中转换。转换的重量数据由单片机 AT89C52 处 理并显示,再通过 44 键盘输入单价,且要计算总金同时显示。 关键词电子秤 键盘/显示 称重传感器 A/D 转换器 第 II 页 共 59 页 The design is a system of electronic scale for selling medicine caomeng (Grade
2、04,Class041,Major Observation and control technology and instrument,School of Mechanical engineering.,Shaanxi University of Technology,Hanzhong 723003,Shaanxi) Supervisor: Liu Chunrong Abstract AT89c52 is the kernel in the system of electronic scale for selling medicine. We get the signal from the s
3、ensitive pressure sensor and amplify it.The output of weighing sensor analog signals,are amplified ane the processed into 8 bit AD0809 Analog to Digital Conversion.The date, is conveied after BCD by AT89C52, handling and display, ane then through the 44 key board input price also showed that and to
4、calculate the total shows. Key word The electronic scale Key board/Display Weight sensor A/D converter 目目 录录 第 III 页 共 59 页 引言引言 错误!未定义书签。 1 电子秤介绍 . 2 1.1 电子秤的工作原理及使用. 2 1.1.1 什么是电子秤 2 1.1.2 电子秤的工作原理 2 1.1.3 电子秤的发展趋势 2 1.2 中药材售药电子秤系统设计背景及应用前景 3 1.2.1 中药材电子秤的设计背景 . 3 1.2.2 中药材电子秤的应用前景. 3 2 方案论证4 2.1.1 利用 V/F 变换芯片 LM331 . 4 2.1.2 选用常用的 8 位逐次比较式的 AD0809 芯片 5 3 3 系统的硬件设计系统的硬件设计 5 5 3.1 电子秤售药系统各模块的设计 5 3.1.1 单片机的选择 5 3.1.2 电子秤售药系统的各模块的设计 . 6 3.1.2.1 称重传感器及其放大