摘要在科学技术飞速发展的21世纪里,电子智能家居产业获得了迅速发展。
很多智能电器设备都趋于智能化、人性化,这些电器设备大部分都含有CPU控制器也有可能是单片机。
单片机以其高可靠性、高性价比、低电压、低功耗等一系列优势,近几年得到迅猛发展和大范围推广,普遍应用于工业控制系统、办公设备、交通出行、日常消费类产物和玩具等。
并且已经深入到各行业发展的各个环节以及人民日常生活的各个方面,如车间流水线控制、交通出行记录仪等。
智能家居的发展最得力于各种传感器技术的发展,传感器的发明解决了对被测对象的某一特定信息实施无人自动监测或检出功能,并能让其使用特定方式转化成与之对应的可接受信号源的元器件。
智能家居最主要就是减少人工投入,但能更加准确的服务于人们的日常生活。
纯水机控制面板系统利用单片机系统进行控制,实时传感器进行监控,外加信号传输电路和显示电路。
深度分析了纯水机的工作原理,这次毕业设计也阐述了单片机设计的优点与缺点,从而更加充分体现出用单片机能使小家电实用便携、操作简单的长处。
这次设计选用的Protues仿真软件是Labcenter公司设计出的集电子电路分析、电路仿真系统于一体的软件。
市面上有许多款电子仿真软件,像WEB软件、Multisim仿真软件等。
虽然这些软件都简单实用,但是它们不能与单片机进行很好的配合。
而PROTEUS软件就可以和单片机完美的结合,实现单片机及其电路的各种功能。
因此选择了PROTEUS软件。
关键词:单片机;传感器;纯水机;Protues仿真ABSTRACTIn the rapid development of science and technology in twenty-first Century, the smart home industry has been rapid development. Many intelligent electrical appliances tend to be intelligent, humane, most of these electrical appliances are contained in the CPU controller may also be a single chip. Single chip microcomputer to the high reliability, high price, low voltage, low power consumption, and a series of advantages, in recent years obtained rapid development and promotion of a wide range, widely used in industrial control system, office equipment, transportation, daily consumption class products and toys etc.. And has penetrated into all aspects of the development of various industries and people's daily lives, such as workshop assembly line control, traffic travel, etc..The development of smart home the most effective in the development of sensor technology, sensor of the invention solves the a particular information of an object to be measured in the implementation of unmanned automatic monitoring or detection function, and can make the use a specific way into corresponding acceptable signal source components. Smart home is the most important is to reduce labor input, but can be more accurate service to people's daily life.The pure water machine control panel system is controlled by a single chip microcomputer system, a real-time sensor is monitored, an external signal transmission circuit and a display circuit are used. Depth analysis of the principle of pure water machine, the graduation design also describes the single-chip design of the advantages and disadvantages, and thus more fully reflect with single chip to enable the strengths of small household electrical appliances, portable and practical, simple operation.This design chooses the Protues simulation software is the software which the Labcenter company designs the collection electronic circuit analysis, the circuit simulation system in one body. There are many electronic simulation software on the market, such as WEB software, Multisim simulation software, etc.. Although these software are simple and practical, but they can not be a good match with the microcontroller. And PROTEUS software can and the perfect combination of SCM, the realization of the various functions of SCM and its circuit. So select thePROTEUS software.Keywords: microcontroller; sensor; water machine; Protues simulation目录1 绪论 (1)1.1 纯水机发展现状以及发展趋势 (1)1.1.1产品现状 (1)1.1.2 产品发展 (1)1.2设计的内容 (2)2 设计思想和方案 (3)2.1 设计思想 (3)2.2 设计方案 (3)3 硬件系统的设计 (5)3.1 主要元器件介绍 (5)3.1.1 AT89C52单片机 (5)3.1.2 LED数码管 (5)3.1.3 蜂鸣器 (6)3.1.4 继电器 (6)3.2 硬件电路的设计 (7)3.2.1 AT89C52单片机最小系统 (7)3.2.2 按键模块电路 (8)3.2.3 蜂鸣器报警电路 (9)3.2.4 继电器驱动电路 (9)3.2.5 传感器模拟电路 (9)3.2.6 数码管显示电路 (10)4 软件系统的设计 (11)4.1 软件设计的描述 (11)4.2 系统软件程序设计 (11)4.2.1 系统的主程序设计 (11)4.2.2 按键模块程序设计 (12)4.2.3 传感器检测程序设计 (13)4.2.4 数码管刷新程序设计 (14)5 系统调试运行及结果分析 (15)5.1 系统的使用说明 (15)5.2 系统运行的结果 (15)5.2.1 系统开机 (15)5.2.2 净水功能 (16)5.2.3 强冲洗功能 (17)5.2.4 低压报警功能 (17)5.3 系统的误差及改进分析 (18)5.4 设计体会 (19)结束语 (20)参考文献 (22)致谢 (24)1 绪论纯水机现在逐渐已成为日常生活中的重要智能家居,随着社会的发展,人们生活消费水平逐步提高,对生活品质的追求也向着追求完美卓越的方向发展。
为了保证生活的舒适程度,对于纯水机技术的技术研发一直从未停止过探寻。
从最初简陋的纯水机开始,人类从一开始只是简单地物理纯水方式到利用水分子结构特点的高质量纯水一步一步稳步向前发展。
当更大的市场需求刺激了这个行业,行业发生了更大的翻天覆地的的变化。
而纯水机也开始普遍出现人们日常生活中,如商场、酒店,办公室等大型公共场所,纯水机的影踪随处可见。
智能家居也慢慢进入到普通老百姓的生活中。
1.1 纯水机发展现状以及发展趋势科学技术的快速发展也带来了各种环境问题比如水污染、空气污染等,给人们的身心健康带来巨大的考验,人们现在喝一杯干净放心的饮用水都成了一种奢望。
并且不只是国内饮用水水质状况堪忧。
全世界都在面临着饮水难的问题,试想如果现在处于国名消费水平并不高的时期,那时就算纯水机性能再优良,对于解决饮水问题再有效,但因为消费水平的不一样导致购买力不足,产业也很难得到壮大,产品制造水平也不会发展的这么快,但是根据现在国民平均水平的收入来看,消费纯水机这类的产品还是一件很简单的事情。
据有关部门统计,在我国有近四分之一的人口在饮用不良水资源,自然水与地下水严重污染的问题也日益严重,饮用水质不合格的的人数仍在指数式猛增,饮水安全成为人们无法忽视的头号问题,但同时也为纯水机行业迅速崛起与迅速发展提供契机。
1.1.1产品现状在最新的世界在组织报告中,全世界中近一半的国家的城市人口饮用水安全无法保障,所以世界各国都把改善饮用水的问题当时头等大事来解决。
国家在专题报告会上统计的数据显示近几年纯水机销售额的年复合增长率已经达到42%,未来发展前景一片大好。