《毕业设计电子秤》由会员分享,可在线阅读,更多相关《毕业设计电子秤(23页珍藏版)》请在金锄头文库上搜索。
1、毕业设计电子秤 篇一:毕业论文-基于单片机的电子秤设计基于单片机的电子秤设计摘 要:本设计以51系列单片机STC89C52RC为控制关键,实现电子秤的基础控制功效。在设计系统时,为了更加好地采取模块化设计法,分步的设计各个单元功效模块,系统的硬件部分能够分为最小系统、数据采集、人机交互界面(键盘和显示)和系统电源四大部分。最小系统部分为STC89C52RC系统;数据采集部分由压力传感器、信号的前级处理和A/D转换部分组成,包含运算放大器OP07和A/D转换器ADC0809;人机交互界面为键盘输入和数码管显示,关键使用5X5键盘、CH423数码管控制芯片及13位数码管显示,能够方便的输入数据并直
2、观的显示重量、单价和总价。系统电源是以LM7805、 LM7812为关键设计电路以提供系统正常工作电源。软件部分应用单片机C51语言进行编程,实现了该设计的基础控制功效。该电子秤能够实现基础的称重功效 称重范围为010Kg,重量误差小于0.02Kg ,重量、单价、总价的计量能够准确到两位小数,键盘设置有数字键 09、. 、储存键、单价1单价8调用单价键、清除键、去皮键等;发挥部分有8种不一样物品的单价记忆功效、99种消费商品价格累计功效、;待发挥部分为讲电子秤和打印机连接,能打印消费统计 小票 ,超量程和欠量程的报警功效。本系统结构简单,使用方便,功效齐全,精度高,含有一定的开发价值。关键词:
3、单片机 采样电路A/D转换器 CH423数码管驱动芯片 数码管显示 工作电源the design of electronic scales based on Single-chipMicrocomputerABSTRACT :The design for the control of 51 computers STC89C52RC the core, to achieve the basic control functions of electronic scales. In designing the system, in order to better modular design, th
4、e design of each unit step function modules, the system can be divided into the minimum hardware system, data acquisition, man-machine interface (keypad and display) and the system power 4 most. Minimum system partly STC89C52RC system; data collection in part by the pressure sensor, signal processin
5、g and the first class A / D conversion components, including the operational amplifier OP07 and the A / D converter ADC0809; man-machine interface for the keyboard and digital display The main use of 5X5 keypad, CH423 digital control chip and 13 digital display, can easily enter data and visual disp
6、lay weight, unit price and total price. System power is based on LM7805, LM7812 as the core design of the circuit to provide normal power supply system. Software part of the application MCU C51 language programming, the design of the basic control functions. The electronic weighing scales can realiz
7、e the basic functions (weighing range of 0 10Kg, the weight of the error is not greater than 0.02Kg), weight, unit price, total measurement is accurate to two decimal places, the keyboard settings are the number keys ( 0 9,.), storage key, Unit 1 to Unit 8 Unit call key, clear key, peeled keys, etc.
8、; play a part in 8 different items priced memory, 99 kinds of consumer goods prices cumulative function; play a part to be about electronic scales and printers connected to print consumption records (small notes), over range and under-range alarm. The system is simple, easy to use, fully functional,
9、 high precision, has some value for development.Key words: microcontroller sampling circuit A/D converter CH423 digital tube driver chip digital display Power Supply目录第一章 绪 论 11.1引言 . 11.2 选题背景和意义 . 1第二章 系统方案的设计 . 22.1 电子秤的设计要求 . 22.1.1 基础要求 . 22.1.2 特色和创新 . 22.2试验原理及设计基础思绪 . 22.2.1系统工作原理 . 22.2.2 系统设计基础思绪 . 22.3 系统总体设计方案比较和论证 . 32.4单片机的选型 . 42.5 数据采集部分的方案确定 . 42.5.1 传感器 . 42.5.2 前级放大器部分 . 72.5.3 A/D 转换器 . 92.6人机交互部分 . 112.6.1 键盘输入 . 112.6.2 输出显示 . 112.7系统电源 . 122.8 详细实施方案介绍 . 13第三章 系统硬件设计 . 153.1 基于STC89C52RC的主控电路 . 153.1.1芯片介绍 . 153.2 系统电源 . 183.2.1 芯片介绍 .