基于单片机的数字电能表的设计
基于单片机的数字电能表的设计(论文10500字)
摘要:随着时代的进步与社会的发展,测量电能的方法变得越来越方便简单化。此中,数字电能表作为丈量电能的首要仪器,也在不断地转变。本文围绕单片来做设计,使得电能表具备高精度、高准确性等长处。为了更好的了解本专业的各种知识技能,争取做到熟练引用专业知识。本文设计的电能表是一款以该单片机为核心,搭配各种器件如显示器、A/D转换器、电流互感器的数字电能表。该电能表可以将电路里面的电压电流准确测出,并通过转换器,将其转换成电路所消耗的功率以显示。而且为了防止显示屏的损坏,增加了蓝牙模块,这样数据也可以在手机上显示。
关键词:数字电能表;单片机;液晶显示屏
Design of Digital Electric Energy Meter Based on Single Chip Microcomputer
Abstract:With the progress of the times and the development of society, the method of measuring electric energy becomes more and more convenient.Among them, the digital electric energy meter is the primary instrument for measuring electric energy andis constantly changing.This paper focuses on single chip design,which gives the electric energy meter many advantages such as high accuracy, high precision.In order to understand the various knowledge and skills of this major better, strive to be skilled in citing professional knowledge.The electric energy meter designed in this paper is a digital electric energy meter which takes the single chip computer as the core and matches various devices such as display, A/D converter and current transformer.The meter can accurately measure the voltage and current in the circuit, and convert it into the power consumed by the circuit through a converter for display.In order to prevent the damage of the display screen, the Bluetooth module is added, so that the data can also be displayed on the mobile phone. [资料来源:http://doc163.com]
Key word:Digital watt-hour meter;Single chip;LCD Display Screen
[资料来源:Doc163.com]
目 录
1、绪论 1
1.1选题的目的和意义 1
1.2国内研究现状 1
1.3研究内容 1
1.4单片机的发展与选择 2
1.5电能表的分类与选择 3
2、硬件介绍 3
2.1STC89C52单片机 3
2.1.1主要参数 4
2.1.2引脚功能 4
2.2数字电能表 5
2.2.1电能测量原理 6
2.2.2基本性能 6
2.2.3工作原理 7
2.3 LCD12864液晶显示屏 7
2.3.1主要参数 7
2.3.2引脚功能 8
2.3.3工作内容及原理 8
3、原理图的设计与介绍 9
3.1单片机最小系统模块 9
3.2下载模块 11
3.3显示屏模块 11
3.4电能模块 11
3.5电源模块 12
3.6蓝牙模块 12
4、软件设计 13
4.1总程序 13
4.2显示屏程序 14
4.3蓝牙程序 15
5、 实物演示 15
6、设计总结 16
参考文献 17
致谢 18 [资料来源:http://Doc163.com]