摘要:电子秤具有体积小、秤量精确、方便携带、操作简单、称量速度快,称量并计算价格等优势,可以满足商业贸易和居民家庭的使用需求,具有广阔的发展前景和市场应用价值。本文设计了一种基于51单片机的电子秤,主要有校准、去皮、计价、单价设定及清除、超量程报警等功能。它主要由电源、称重传感器、HX711模块、单片机、键盘/开关、LCD1602液晶显示模块等部分组成。主要介绍了一些基本的元器件,讲述了仪器的工作原理以及主要硬件构成,并给出了仪器电路设计与软件流程,进行了proteus的仿真。仪器。最后经实验表明实现了校准、去皮、计价、单价设定及清除、超量程报警的功能。94728

毕业论文关键词:电子秤,51单片机,软件设计,proteus仿真

Abstract:The electronic scale has the advantages of small volume, convenient carrying, accurate weighing, simple operation, quick weighing, weighing and calculate the price and other advantages, can meet the commercial trade and household use demand, has broad development prospects and market value。 In this paper, we design a kind of electronic scale based on 51 single chip microcomputer, which has the functions of fine adjustment, peeling, pricing, price setting and clearance, over range alarm and so on。 It is mainly composed of power supply, weighing sensor, HX711 module, MCU, keyboard / switch, LCD1602 LCD module and other components。 This paper introduces some basic components, describes the working principle of the instrument and the main hardware structure, and gives the instrument circuit design and software flow, the Proteus simulation。 Instrument。 Finally, the research shows that the functions of calibration, peeling, pricing, price setting and clearance, over range alarm are realized。

Keywords:  Electronic scale,51 MCU , software design,proteus simulation

目录

1  前言 7

1。1  电子秤的发展现状和发展趋势 7

1。2  电子秤的重要意义 7

1。3  设计功能 8

2  电子秤的构成 8

2。1  称重传感器 9

2。2  HX711模块 10

    2。3  LCD1602液晶屏幕介绍 10

2。4  蜂鸣器 11

3  电路设计 12

3。1  STC89C51简介 12

3。2  单片机最小系统 13

3。2。1  时钟电路 13

3。2。2  复位电路 14

3。3  LCD1602电路设计 14

3。4  声光报警电路设计 15

4  仪器软件设计 15

4。1  主程序流程图 16

4。2  键盘扫描流程图 16

    4。3  声光报警电路设计流程图 18

5  proteus仿真 18

5。1 实物测试 21

    结  论 26

参考文献 26

附录一

上一篇:嵌入式系统的考勤指纹识别系统设计
下一篇:AT89S52单片机的计算器制作+电路图+程序

单片机数字红外测距系统设计+电路图+程序

基于51单片机自动门智能控制系统设计

STC89C52单片机智能温度监测系统设计

STC89C52单片机盲人用时钟的设计+电路图+程序

粉料称重装置的单片机控...

基于TI-DSP平台的电力电子测控平台设计

STM32单片机的无刷直流电机控制系统设计

《醉青春》导演作品阐述

辩护律师的作证义务和保...

浅谈传统人文精神茬大學...

多元化刑事简易程序构建探讨【9365字】

浅谈新形势下妇产科护理...

中国古代秘书擅权的发展和恶变

谷度酒庄消费者回访调查问卷表

高校网球场馆运营管理初探【1805字】

国内外无刷直流电动机研究现状

拉力采集上位机软件开发任务书