{$cfg_webname}
主页 > 电子信息 > 单片机 >

基于单片机的电子硬币存钱罐的设计

来源:wenku163.com  资料编号:WK16314189 资料等级:★★★★★ %E8%B5%84%E6%96%99%E7%BC%96%E5%8F%B7%EF%BC%9AWK16314189
资料介绍

基于单片机的电子硬币存钱罐的设计(任务书,开题报告,外文翻译,论文14500字)
摘  要
该系统利用单片机STC89C52作为主控电路,利用5Kg标准的称重传感器作为输入电路,通过称量硬币质量的方法对硬币进行真伪辨别,硬币质量范围在0-999g;利用LCD1602液晶显示屏电路作为输出电路,液晶显示屏显示当前投入的金额,在第一行显示,数值精确到0.1元;同时,液晶显示屏在第二行显示自动计数得到的硬币总金额,数值精确到0.1元,范围可以是0.0-999.9元,也可以是0.0-99.9元,还可以是0.0-9.9元;利用语音模块电路作为另一个输出电路播报语音,若投入真币时则播报当前投入硬币金额,若投入假币时则播报当前币种为假币。该设计系统硬件模块采用ALTIUM DESIGNER软件进行设计,主要包含电源电路模块、单片机主控电路模块、硬币识别电路模块、语音电路模块和液晶显示电路模块五个部分;晶振电路和复位电路作为单片机最小系统的一部分也是必不可少的。该设计系统软件模块采用KEIL软件进行编写,采用C语言进行编程。因此该系统实现了对硬币的自动计数及真伪辨别功能。
关键词:单片机;自动计数;真伪辨别;语音播报 
Abstract
The system uses the microcontroller STC89C52 as the main control circuit, using a 5Kg standard load cell as the input circuit, through the method of weighing the quality of coins to identify the authenticity of the coin, the coin quality range 0-999g; using LCD1602 LCD circuit as Output circuit, liquid crystal display shows the amount of current investment, displayed in the first line, the value is accurate to 0.1 yuan; at the same time, the liquid crystal display shows the total amount of coins in the second line automatically counted, the value is accurate to 0.1 yuan, the range can be Is 0.0-999.9 yuan, but also can be 0.0-99.9 yuan, but also can be 0.0-9.9 yuan; use the voice module circuit as another output circuit broadcast voice, if you put in the real currency then broadcast the current investment amount, if you put counterfeit money The current currency is broadcast as counterfeit currency. The design system hardware module is designed with ALTIUM DESIGNER software and mainly includes five parts: power supply circuit module, single-chip microcomputer main control circuit module, coin identification circuit module, voice circuit module and liquid crystal display circuit module. The crystal oscillator circuit and reset circuit are used as the minimum system of the single-chip microcomputer. Part of it is also essential. The design system software module is written using KEIL software and programmed in C language. Therefore, the system realizes automatic counting and authenticity discrimination of coins.
Key Words:SCM; automatic counting; authenticity discrimination;voice broadcast

本文的整体结构采用的是总分结构。
第1章是绪论,主要介绍了基于单片机的电子硬币存钱系统的研究背景、目的、国内外电子硬币存钱罐的研究现状,而且叙述了电子硬币存钱罐的研究内容与预期目标。
第2章是方案论证,主要介绍了基于单片机的电子硬币存钱系统的总体设计方案与部分设计思路,然后确定了电子硬币存钱系统的核心处理器选择STC89C52芯片,根据电子硬币存钱系统所要求显示的数据最后确定选用的是LCD1602作为显示器。
第3章是硬件电路,介绍了Altium Designer软件及其使用方法。最主要介绍了基于单片机的电子硬币存钱罐硬件电路的设计,其中包括晶振电路和复位电路、语音电路、显示电路、电源电路和称重传感器电路的设计。
第4章是软件设计,介绍了KEIL软件及其使用方法。最主要介绍了基于单片机的电子硬币存钱系统的软件设计部分,包括了主程序流程图、液晶显示流程图。
第5章是制作与调试,主要介绍了系统的制作与调试方面的相关情况,包括软件调试,硬件调试,系统总体调试以及在调试过程中遇到的问题和解决方法。
第6章是总结与展望。
 

基于单片机的电子硬币存钱罐的设计
基于单片机的电子硬币存钱罐的设计
基于单片机的电子硬币存钱罐的设计
基于单片机的电子硬币存钱罐的设计


目录
摘要    I
Abstract    II
第1章绪论    1
1.1背景、目的及意义    1
1.2 国内外研究现状    1
1.3 研究内容与预期目标    2
1.4 前言    2
第2章方案论证    1
2.1 总体设计方案    1
2.2 部分设计思路    1
3.1 Altium Designer软件    2
3.1.1 Altium Designer软件介绍    2
3.1.2 Altium Designer软件使用方法    2
3.2 硬件模块    4
3.2.1电源接口电路    4
3.2.2硬币识别电路    4
3.2.3单片机控制电路    6
3.2.4语音电路    8
3.2.5液晶显示电路    9
3.2.6复位电路    10
3.2.7晶振控制电路    10
3.2.8 红外感应电路    10
第4章软件设计    11
4.1 KEIL软件    11
4.1.1 KEIL软件介绍    11
4.1.2 KEIL软件使用方法    11
4.2 软件模块    12
4.2.1 主程序    12
4.2.2 输入模块程序    14
4.2.3 输出模块程序    14
第5章制作与调试    16
5.1 系统的制作    16
5.2 系统的调试    17
第6章总结与展望    19
6.1总结    19
6.2展望    19
参考文献    20
附录A 系统原理图    21
附录B 元件清单    22
附录C 程序    23
致谢    33

推荐资料