第一范文网 - 专业文章范例文档资料分享平台

基于单片机的语音报价电子称的设计

来源:用户分享 时间:2025/8/26 2:32:52 本文由loading 分享 下载这篇文档手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:xxxxxxx或QQ:xxxxxx 处理(尽可能给您提供完整文档),感谢您的支持与谅解。

西北民族大学 2011级毕业设计(论文)

基于单片机的语音报价电子称的设计

年 级: 2011级 学 号: 姓 名: 专 业: 电气工程及其自动化 指导老师:

二零一五年六月

西北民族大学本科毕业设计(论文)

摘 要

本文设计的内容是一款基于单片机的语音报价电子秤,语音报价是本设计的一个特色,语音报价能够实现播报总价和总量的功能,本设计的总体功能是实现物体重量的测量,在显示屏上显示并进行语音播报,它是用压力传感器采集压力这种物理量并把采集到的数据转换成电压信号,再采用专门的用在称重领域的24位AD转换器HX711把电压信号经过滤波、放大、采样转换成数字信号的称重计量装置,当秤台上不放置任何物体时可以按下清零键来清零,即初始化。除了这些功能之外还可以通过矩阵键盘来设置单价,用单价乘以总量便可以计算得出货物的总价,并将总重量和总价的数据发送给液晶屏LCD1602上进行显示,该系统除了上述功能之外还可以对当前的总重量和总价格进行语音播报。

关键词:单片机; 语音播报; 模数转换模块HX711; 压力传感器

第II页 共53页

西北民族大学本科毕业设计(论文)

Abstract

This paper introduced a design of a voice electronic scale based on the micro controller.voice offer is a feature of this paper that can broadcast the total weight and total price.The basic function of this paper is to achieve weight and displayed on the LCD screen ,in addition to broadcast total price and total weight .which converted the weight into a voltage signal by a pressure sensor, and then converted the voltage signal into digital signal by 24 bit AD converter HX711.When there is no object on the weighing platform,press the clear button to reset the current weight.In addition,users can also set up the price of per kilogram through button.After putting on the object,the weight can be measured, and total price could be converted automatically in a way of the weight is multiplied by the unit price and displayed on the LCD1602 screen, the system can also broadcast the current total weight and total price.

Key Words:Single chip microcomputer ; Voice broadcast ; AD analog-to-digital converter HX711; Pressure sensor

第III页 共53页

西北民族大学本科毕业设计(论文)

目 录

摘 要 ............................................................... II Abstract .............................................................. III 第一章 绪论 ............................................................ 1

1.1 目的和意义 ............................................................................................................. 1 1.2 研究概况及发展趋势 ............................................................................................. 2 1.3 本设计主要内容 ..................................................................................................... 3 1.6 本章小结 ................................................................................................................. 3 第二章 总体方案选型与设计 .............................................. 4

2.1 主控模块的选型 ..................................................................................................... 4 2.2 显示模块的选型 ..................................................................................................... 4 2.3 模数转换模块的选型 ............................................................................................. 5 2.4 语音播报模块的选型 ............................................................................................. 5 2.5 系统整体设计概述 ................................................................................................. 5 2.6 本章小结 ................................................................................................................. 6 第三章 系统硬件电路设计 ................................................ 7

3.1 主控模块 ................................................................................................................. 7

3.1.1 单片机STC89C52主要特性 ................................................................................. 8 3.1.2 单片机STC89C52的中断系统 ............................................................................. 9 3.1.3 单片机最小系统设计 ............................................................................................... 9 3.2 液晶显示器LCD简介 ......................................................................................... 10

3.2.1 液晶原理介绍 .......................................................................................................... 10 3.2.2 液晶模块简介 .......................................................................................................... 11 3.2.3 液晶显示部分与STC89C52的接口 ................................................................. 11 3.3 矩阵键盘模块设计 ............................................................................................... 12 3.4 称重模块的设计 ................................................................................................... 13 3.5 信号采集模块设计 ............................................................................................... 14

3.5.1 模数转换模块HX711芯片介绍 ......................................................................... 14 3.5.2 模数转换模块HX711电路的设计 .................................................................... 15 3.6 语音模块设计 ....................................................................................................... 15 3.7 本章小结 ............................................................................................................... 16 第四章 系统软件设计 ................................................... 17

第IV页 共53页

搜索更多关于: 基于单片机的语音报价电子称的设计 的文档
基于单片机的语音报价电子称的设计.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.diyifanwen.net/c42iqe7vhle20sz532alg3gznb0gsy200bpp_1.html(转载请注明文章来源)
热门推荐
Copyright © 2012-2023 第一范文网 版权所有 免责声明 | 联系我们
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:xxxxxx 邮箱:xxxxxx@qq.com
渝ICP备2023013149号
Top