摘要
随着生活水平的提高,出现了商品住宅楼,这让购买了商品房的人们面临着楼道内路灯收费问题。针对这一问题,提出了基于单片机的用电分配系统。系统的功能是将商品楼的路灯所使用的电量自动的平均的分配到居住在商品楼内的居民的电表中。在系统的开发过程中,我负责的用电量分配系统的软件设计以及软件的实现。软件设计根据硬件电路的使用过程中可能出现的误操作以及如何避免误操作的出现等问题对软件进行了相应的设置,确保了系统的正确运行,同时也确保了楼道内路灯电费的正确分配。
关键词:单片机 ; 用电分配 ; 系统
Abstract
Along with the exaltation of the life level, appeared the merchandise residence building, this negotiation buys the people of the merchandise building to face the building street lamp inside the way to charge the problem. Aim at this problem, put forward according to a machine of assign the system with the electricity. The function of the system is live in the equally assign of the electricity quantity auto that the street lamp of the merchandise building use to the residents' electricity in the merchandise building in. In the development process of the system, I am responsible for with the electricity quantity to assign the realization of the software of the system design and software. The software design according to the usage process of the hardware electric circuit mistake operation of possible emergence and how avoid the emergence of the mistake operation etc. the problem carries on the homologous constitution to the software, insuring the right movement of the system, also insuring right allotment of the street lamp electricity charges inside the building way.
Keyword: A machine; Use the electricity allotment; System
目录
基于单片机的用电量分配系统 II
摘要 II
关键词 II
According to a machine of with electricity quantity allotment system III
Abstract: III
Keyword: III
目录 IV
基于单片机的用电量分配系统 1
1 基于单片机的用电量分配系统的可行性分析 1
1.1 提出基于单片机的用电量分配系统的现实意义 1
1.2 基于单片机的用电量分配系统的可行性 1
1.2.1 电费分摊模型 1
1.2.2 基于单片机的用电量分配系统的电费分摊模型 1
2 基于单片机的用电量分配系统的需求分析 2
2.1 基于单片机的用电量分配系统要考虑的因素 2
2.1.1 成本因素 2
2.1.2 功能因素 2
2.1.3 性能因素 2
2.2 基于单片机的用电量分配系统的设计标准 2
3 基于单片机的用电量分配系统的可靠性分析 2
3.1 看门狗电路 3
3.2 长期运行必须考虑的安全问题 3
4 基于单片机的用电量分配系统的硬件 3
4.1 电路设计及其模型分析 3
4.2 主系统设计及其分析 4
4.3 执行分配的继电器电路设计及其分析 6
4.4 系统供电电源电路设计及其分析 6
4.4.1 主系统电源电路 6
4.4.2 继电器工作电源 7
4.4.3 系统供电电源电路图 7
4.5 基于单片机的用电量分配系统 7
5 基于单片机的用电量分配系统的软件设计 8
5.1 用电量分配系统的设计总述 8
5.2 用电量分配系统的主程序 8
5.3 基于单片机的用电量分配系统的INT0中断子程序 9
5.4 基于单片机的用电量分配系统的延时程序 10
5.5 基于单片机的用电量分配系统的程序清单及说明 12
6 软件测试及结果 14
6.1 测试软件 14
6.2 测试结果 15
7 总结 15
致谢 16
参考文献 16
1基于单片机的用电量分配系统的可行性分析
1.1提出基于单片机的用电量分配系统的现实意义
随着人民生活水平的提高和住房制度改革的深入,出现了商品房。越来越多的居民买了商品房,住进了商品楼。这些改变提高了广大居民生活的环境条件。随之而来的问题是,原来单位住宅楼是由单位安装路灯并由单位负责缴费的,楼内居住的单位职工不用担心没有路灯和收缴费用的问题;而商品楼内的住房来自不同的单位,要不要安装路灯?装了路灯后费用如何收取?这就出现了所谓的路灯收费问题。

您当前的位置:
