纯水机控制电路Protues仿真
基于proteus的热式热水器温度控制系统的仿真研究毕业论文

本科生毕业设计(论文)资料第一部分设计说明书基于proteus的热式热水器温度控制系统的仿真研究摘要热水器在工业生产和家庭生活中的应用是非常普遍的,而热水器的核心技术之一就是温度控制方面,也就是说温度控制器的技术对热水器的发展起着至关重要的作用。
所以温度控制器的研究对于提高热水器产品的质量,是具有很重要的现实意义的。
本课题主要针对热式热水器中温度控制的特点及实现准确温度控制的意义,设计了一种基于单片机的控制系统,整个系统的设计内容包括硬件和软件两个部分。
硬件电路主要以AT89C51单片机为微处理器,详细设计了温度信号采集电路,温度数码显示电路,键盘设置温度电路,报警电路,光耦隔离输出电路,模拟加热电路。
软件部分主要针对加热装置的控制模式进行了编程。
温度传感器DS18B20采集到的温度转换成电压信号反馈到单片机,然后与温度的给定值进行比较,通过比较来控制加热装置,从而达到控制温度的目的。
关键词:单片机,热水器,温度控制,AT89C51,DS18B20ABSTRACTWater heater is common in industrial production and family life application,and the temperature control is one of the core technology of water heater,which means temperature control technology plays a vital role for the development of water heater. Thus, the research of temperature controller has very important practical significance for improving water heater quality.Regarding to the feathers and the significance of hot water heater temperature control, this subject designs a kind of system based on single-chip microcomputer control.The system includes hardware and software.Hardware circuit is designed the AT89C51 as main microprocessors, and the hardware circuit includes the temperature signal acquisition circuit,temperature digital display circuit, the keyboard set temperature circuit, alarm circuit, light coupling isolation output circuits, analog heating circuit.The softeware is mainly aimed at heating device programming.Temperature sensor DS18B20 collects the temperature and converse it into voltage signal, feedbacks to the microcontroller, then compared with the given temperature value, by which to controle the heating device, so as to control the temperature.Keywords:SMC,water heater,temperature control,AT89C51, DS18B20目录摘要 (I)ABSTRACT (II)第1章绪论 (1)1.1 课题背景 (1)1.2 系统任务 (1)1.3 设计思路 (2)第2章热式热水器温度控制系统的硬件设计 (3)2.1 AT89C51单片机简介 (3)2.1.1 AT89C51单片机资源简介 (3)2.2 数字温控芯片DS18B20介绍 (5)2.2.1 DS18B20的特性 (5)2.2.2 DS18B20的测温原理 (6)2.2.3 DS18B20与单片机接口电路 (7)2.3 显示驱动电路设计 (7)2.4 按键电路设计 (8)2.5 光耦隔离输出电路 (8)2.6 整体硬件电路 (9)第3章热式热水器温度控制系统的软件设计 (10)3.1 系统软件设计框图 (10)3.2 主程序模块 (11)3.3 温度采集模块 (12)3.4 报警及加热电路模块 (13)3.5 温度显示模块 (13)3.6 键盘扫描模块 (13)第4章热式热水器温度控制系统仿真 (15)4.1 proteus简介 (15)4.1.1软件功能特点 (15)4.2 仿真结果 (15)结论 (21)参考文献 (22)附录 (23)致谢 (29)第1章 绪 论本章内容主要叙述了热式热水器方面的行业背景概况,此课题要求的系统任务以及在确定系统任务之后的整体设计思路,重点是关于热水器温度控制系统的设计思路。
基于proteus水位自动控制系统的设计

72 | 电子制作 2020年01月约水资源。
为此,本文研究设计一种水位自动控制系统。
该系统采用电极检测水位,通过单片机控制电路[3],性能稳定,成本低等特点。
1 电路的设计本文采用STC89C52RC 为主控制器,多电极精确检测水位,自动控制水位并声光报警。
系统总体框图如图1所示。
图1 系统总体框图■1.1 硬件设计(1)水位检测电路通过设计电极的长短,检测水位的高低。
多电极水位检测如图2所示。
接通电源,系统开始实时检测水箱水位情况,若水箱中无水,声光报警,电磁阀吸合[4],开始进水,数码管显示“L”。
水位上升过程中,水位达到一级水位时,报警停止,数码管显示“1”,继续进水;当水位达到二级水位时,数码管显示“2”,继续进水。
当水箱水位到达高水位时,报警电路再次工作,电磁阀关闭,停止进水,数码管图2 多电极水位检测(2)电磁阀控制电路本系统用内部驱动和电磁阀组成,利用继电器实现弱电控制强电,通过单片机的P1.3控制电磁阀的工作。
当P1.3为低电平时,继电器吸合,电路闭合,电磁阀工作;当P1.3为高电平时,继电器断电,电磁阀不工作。
与此同时,单片机P1.4口控制发光二极管指示电磁阀工作状态。
(3)声光报警电路声光报警电路由蜂鸣器和发光二极管组成,单片机控制蜂鸣器工作,当P2.0为低电平时,蜂鸣器工作;当P2.0为高电平时,蜂鸣器停止工作,采用延时函数,使蜂鸣器发出“滴、滴…”声。
(4)显示电路本系统采用共阴极LED 数码管,功率低,性能稳定。
单片机P0的四种不同电平状态对应四种水位。
P0=0x38数码管显示“L”,为无水状态;P0=0x06数码管显示“1”,为一级水位,P0=0x5b 数码管显示“2”,为二级水位;P0=0x76数码管显示“H”为高水位。
(5)直流稳压电路本系统通过变压器降压、全波整流电路、电容滤波、稳压模块7812、7805,输出直流电压+12V、+5V。
为整个电路提供直流电源。
饮水机温度控制的系统设计与仿真

饮水机温度控制的系统设计与仿真摘要本文设计并实现了一种饮水机温度控制系统。
其硬件系统以AT89C52单片机为核心,用温度传感器DS18B20实现温度控制,用液晶屏显示实时温度、时间与预设温度,制作数字温度计,并可实现温度预警控制。
单片机系统的软件设计采用C语言进行编程,应用软件采用KEIL和PROTEUS仿真软件模拟实现控制过程。
该饮水机控制系统是基于单片机的计算机检测技术的软硬件开发的一种应用,不仅可以创造良好的经济效益,还可优化饮水机温度控制系统。
关键词:AT89C52单片机;DS18B20;温度控制The Design and Simulation of Drinking Machine Temperature Control SystemABSTRACTThis paper introduces a water dispenser temperature control system.This system hardware design takes AT89C52 as a core ,and realizes the temperature control with temperature sensor DS18B20.The actual temperature and the preinstall temperature are displayed with the LCD, the simple intelligent temperature control system digit thermometer is manufactured ,and may realize the temperature early warning control.The software programming uses c language to carry on the programming.The application software uses KEIL and the PROTEUS simulation software realizing the controlled process.The water dispenser control system is based on an application of the single chip computer hardware and software development of detection technology can not only create a good economic benefits ,but also optimize the fountains temperature control system.Key word :the microcontroller AT89C52 ;DS18B20;temperature control.目录1 绪论 (1)1.1 课题来源 (1)1.2课题发展现状及意义 (1)1.3本文设计思路 (2)1.4本文结构 (2)2系统的硬件设计 (3)2.1 系统工作原理与功能 (3)2.2硬件系统组成及各模块介绍 (3)3系统的软件设计 (10)3.1软件总体设计思路 (10)3.2主程序软件设计 (11)3.3键盘子程序软件设计 (12)3.4报警子程序软件设计 (13)3.5显示子程序软件设计 (14)4系统软件仿真 (15)4.1 Protues介绍 (15)4.2 Keil uVision4调试软件 (16)4.3 Proteus ISIS的仿真步骤与结果 (18)总结 (20)参考文献 (21)附录 (22)致谢 (28)。
Proteus的虚拟仿真工具

(6) 交、直流电源直流电源通常有单电池“CELL”和电 池组“BATTERY”两种,可任意改变其值。单相交流 电源为“ALTERNATOR”,可改变其幅值(半波峰值)和 频率。如图4-8所示。
B1
12V
BAT1
1.5V
图4-8 交、直流电源
精选版课件ppt
15
交、直流电源也可以通过点击Generator图标,选择相 关的交直流信号源。
精选版课件ppt
10
❖ 如“TRSAT2P2S2B”即Saturated Transformer with secondary and bias windings,意思是具有副边和 偏置线圈的饱和变压器。
图4-4 变压器拾取对话框
精选版课件ppt
11
❖ 变压器在调用时,由于对称按钮可能处于选中状态, 原、副边绕组的位置就颠倒了,使用时要注意,尤 其是原边和副边绕组数目相同的变压器,这涉及到 原、副边的匝比是升压或降压变压器的问题。
❖ 打开元件拾取对话框,选取“Inductors”大类下的子 类“Transformers”,如图4-4所示,在右侧显示出 变压器可选元件。常用的是前四种,名称前缀为 “TRAN-”,也可以直接输入这个前缀来搜寻变压器。 为了帮助大家记忆变压器的名称,以第一个变压器 “TRAN-1P2S”为例来说明它的含义。“TRAN”是 变压器的英文“TRANSFORMER”的缩写,“P”是 原边“PRIMARY”的意思,“S”是副边 “SECONDORY”的意思。而后面三个变压器都是 饱和变压器,
精选版课件ppt
6
图4-3 滑动变阻器元件属性对话框
精选版课件ppt
7
❖ “POT-HG”滑动变阻器的好处是可以直接用鼠 标来改变触头位置,精确度和调整的最小单 位为阻值的1%,比如一个1kΩ的电阻,精确 到10Ω,而一个100kΩ的电阻只能精确到1kΩ, 所以,当电阻较大时,考虑把它分成两部分 串联,一部分为较大阻值的固定电阻,另一 部分为较小阻值的滑动电阻,这样比较科学。
饮水机温度控制课程设计protues仿真及C语言程序

饮⽔机温度控制课程设计protues仿真及C语⾔程序附录A#include#include#define uchar unsigned char#define uint unsigned intuchar i;sbit lcdrs=P3^0;sbit lcdrw=P3^1;sbit lcden=P3^2;sbit P13=P1^3;sbit P14=P1^4;sbit P15=P1^5;sbit P16=P1^6;sbit P17=P1^7;sbit d1=P1^0;sbit d2=P1^1;uchar code t2[]="the highest "; uchar code t1[]=" is "; uchar code t0[]="the temperature "; uchar code t3[]="the lowest "; uchar code wendu[]="0123456789";sbit DQ = P3^7;uchar high=80;low=70;a=0;b=0;c=0;d=0;void delay(uint z){uint x,y;for(x=100;x>1;x--)for(y=z;y>1;y--);}void write_com(uchar com){lcdrs=0;P2=com;delay(5);lcden=1;void write_date(uchar date){lcdrs=1;P2=date;delay(5);lcden=1;delay(5);lcden=0;}void tmpDelay(int num) {while(num--) ;}void Init_DS18B20() { unsigned char x=0;DQ = 1;tmpDelay(8);DQ = 0;tmpDelay(80);DQ = 1;tmpDelay(14);x=DQ;tmpDelay(20);}unsigned char ReadOneChar() { unsigned char i=0;unsigned char dat = 0;for (i=8;i>0;i--){DQ = 0;dat>>=1;DQ = 1;if(DQ)return(dat);}void WriteOneChar(unsigned char dat) {unsigned char i=0;for (i=8; i>0; i--){DQ = 0;DQ = dat&0x01;tmpDelay(5);DQ = 1;dat>>=1;}}unsigned int Readtemp() { unsigned char a=0;unsigned char b=0;unsigned int t=0;float tt=0;Init_DS18B20();WriteOneChar(0xCC); WriteOneChar(0x44);Init_DS18B20();WriteOneChar(0xCC); WriteOneChar(0xBE);a=ReadOneChar();b=ReadOneChar();t=b;t<<=8;t=t|a;tt=t*0.0625;t= tt*10+0.5;void init_lcd(){lcden=0;lcdrw=0;write_com(0x38); write_com(0x01); write_com(0x0c); write_com(0x06); write_com(0x80);if(P13==1&&P14==1) { for(i=0;i<16;i++){write_date(t0[i]); delay(0);}write_com(0x80+0x40); for(i=0;i<16;i++){write_date(t1[i]); delay(0);}}if(P13==0){for(i=0;i<16;i++){write_date(t3[i]); delay(0);}write_com(0x80+0x40); for(i=0;i<16;i++){write_date(t1[i]);}if(P14==0)for(i=0;i<16;i++){write_date(t2[i]);delay(0);}write_com(0x80+0x40);for(i=0;i<16;i++){write_date(t1[i]);delay(0);}}}void display()unsigned int num,num1; unsigned int shi,ge,xiaoshu; if(c==0&&d==0){num=Readtemp();a=0;b=0;}if(c==1){num=low*10;a=1;b=0;}if(d==1){num=high*10;b=1;num1=num/10;if(c==0&&d==0){if(num1>high){d1=1;d2=1;}if(num1{d1=0;d2=1;}if(num1<=high&&num1>=low) {d2=0;}}shi=num/100;ge=num/10%10;xiaoshu=num%10;write_com(0x80+0x40+5); write_date(wendu[shi]); write_com(0x80+0x40+6); write_date(wendu[ge]); write_com(0x80+0x40+7);write_date(0x2e);write_com(0x80+0x40+8);write_date(wendu[xiaoshu]); }void main(){ TMOD=0x00;EA=1;ET0=1;ET1=1;loop:init_lcd();while(1){display();delay(10);if(P13==0){ c=1;d=0;goto loop;}if(P14==0){ TR0=1 ; delay(10); } if(P16==0) { TR1=1; delay(10); }if(P17==0){ c=0;d=0;goto loop; }}}void T0_int() interrupt 1{TR0=0;if(a==1){low=++low;}if(b==1){high=++high;}delay(100);}void T1_int(void) interrupt 3 { TR1=0;if(a==1){low=--low;}if(b==1){high=--high;}TR1=0;delay(100);19A L E 30E A31P S E N 29R S T9P 0.0/A D 039P 0.1/A D 138P 0.2/A D 237P 0.3/A D 336P 0.4/A D 435P 0.5/A D 534P 0.6/A D 633P 0.7/A D 732P 2.7/A 1528P 2.0/A 821P 2.1/A 922P 2.2/A 1023P 2.3/A 1124P 2.4/A 1225P 2.5/A 1326P 2.6/A 1427P 1.01P 1.12P 1.23P 1.34P 1.45P 1.56P 1.67P 1.78P 3.0/R X D 10P 3.1/T X D 11P 3.2/I N T 012P 3.3/I N T 113P 3.4/T 014P 3.7/R D17P 3.6/W R 16P 3.5/T 115U 180C 51D 714D 613D 512D 411D 310D 29D 18D 07E6R W 5R S 4V S S 1V D D 2V E E3L C D 1L M 016L 98.0D Q 2V C C 3G N D1U 2D S 18B 20R 110k +5V+5V+5VL O WH I G H增加减少确定D 2L E D -G R E E N C 120p fX 112M H zC 322u F R 210K+5VD 1L E D -R E D系统总⽅针电路图protues仿真图。
饮水机设计的超简单原理和仿真

饮水机温度控制的系统设计与仿真摘要本文设计并实现了一种饮水机温度控制系统。
其硬件系统以AT89C52单片机为核心,用温度传感器DS18B20实现温度控制,用液晶屏显示实时温度、时间与预设温度,制作数字温度计,并可实现温度预警控制。
单片机系统的软件设计采用C语言进行编程,应用软件采用KEIL和PROTEUS仿真软件模拟实现控制过程。
该饮水机控制系统是基于单片机的计算机检测技术的软硬件开发的一种应用,不仅可以创造良好的经济效益,还可优化饮水机温度控制系统。
关键词:AT89C52单片机;DS18B20;温度控制The Design and Simulation of Drinking Machine Temperature Control SystemABSTRACTThis paper introduces a water dispenser temperature control system。
This system hardware design takes AT89C52 as a core ,and realizes the temperature control with temperature sensor DS18B20.The actual temperature and the preinstall temperature are displayed with the LCD,the simple intelligent temperature control system digit thermometer is manufactured ,and may realize the temperature early warning control.The software programming uses c language to carry on the programming.The application software uses KEIL and the PROTEUS simulation software realizing the controlled process.The water dispenser control system is based on an application of the single chip computer hardware and software development of detection technology can not only create a good economic benefits ,but also optimize the fountains temperature control system.Key word :the microcontroller AT89C52 ;DS18B20;temperature control.目录1 绪论 (1)1。
基于Proteus的单片机水塔水位控制设机(1)要点

四川工业科技学院毕业作业(设计)作业题目基于proteus的单片机水塔水位控制学生姓名冯森林学号 201421070019 指导教师张艳专业机电一体化年级 2016级学院交通学院诚信承诺一、本毕业作业(设计)是本人独立完成;二、本毕业作业(设计)没有任何抄袭行为;三、若有不实,一经查出,请取消本人毕业作业(设计)成绩。
承诺人:2016年8月30日摘要水塔水位测量现在越来越重要,水塔水位的高低直接影响到老百姓的用水安全,对水位的监测显得非常重要,而现在的水塔设备一般都比较简单,整个系统都比较单调,而且如果现场没有人员在,很可能会发生危险。
因而在翻阅了大量的书籍的前提下,我设计了一种水塔水位测量系统。
本文以STC89C52单片机为核心,通过超声波测距模块,来实现对水位的测量,从而得到测量值,然后显示在1602液晶显示屏上面,最后通过按键来设定水位阀值,当超过阀值的时候就报警,使得工作人员能够及时的处理紧急情况。
本本所设计的系统对以往的水位监测系统进行了改进,能够直观的看到水位的信息,看水塔水位是否处于危险情况下。
从而可以对水位进行监控。
而且整个系统的设计比较安全,可靠性高。
关键词:STC89C52;1602液晶;水位测量;引言在社会经济快速发展的今天,水在整个社会的发展中越来越重要。
如果缺少水资源,一方面会给人们的生活带来极大的困难,如果缺水严重的话,有可能会危害到人们的生命健康和社会的动荡。
所以对水位监测系统的研究有着非常大的意义。
对水位高低的监测关系到人们的用水安全。
就现在社会的发展来看,很多系统都有自己的供水系统。
像水塔等一些蓄水装置,如何对其中的水位进行监测和管控,一直是一个问题,也是我今天要研究的课题。
在当代社会,各种智能装置都存在,而对于水塔水位的监测也向这个方向发展我国整个在水位检测这个领域的发展情况来说可以分为三个阶段:初级阶段、发展阶段和网络化阶段。
从1980年开始,我国开始对水位的检测开始信息化,开始有系统的进行记录和测量。
基于Proteus的液位自动控制系统的设计与研究 毕业论文

本科毕业论文学院物理电子工程学院专业电子科学与技术年级2008级姓名设计题目基于Proteus的液位自动控制系统的设计与研究指导教师职称讲师2012年 05 月 09 日目录摘要 (1)Abstract (1)1引言 (1)1.1 液位控制系统的研究背景及意义 (1)1.2 课题设计目标及主要工作 (2)2方案论证 (2)2.1简单的机械式控制方式 (2)2.2复杂控制器控制方式 (2)2.3通过水位变化上下限的控制方式 (3)3硬件电路设计 (4)3.1单片机最小系统 (4)3.2液位检测电路 (6)3.3报警电路和电机控制电路 (6)4软件设计 (7)4.1系统软件编译开发环境 (7)4.2系统主程序流程图 (8)5 Keilc与Proteus连接调试 (8)5.1 Proteus介绍 (8)5.2电路仿真 (9)6结束语 (9)参考文献 (10)致谢 (11)附录 (12)基于Proteus的液位自动控制系统的设计与研究学生姓名:冯峨宁学号:20085044001学院:物理电子工程学院专业:电子科学与技术指导老师:钟莉娟职称:讲师摘要:供水是一个关系国计民生的重要产业。
传统的人工供水方式,劳动强度大、工作效率低、安全性难以保障,为此很有必要对水塔水位进行自动控制。
本文对不同的液位控制方式进行了分析比较,利用Proteus和Keilc软件模拟了水位控制系统硬件电路以及控制程序设计,并进行了系统调试和仿真,且调试成功。
关键词:液位;自动控制;89C51;Proteus仿真Design and Research of Liquid Level Auto Control SystemBased on ProteusAbstract:Water supply is an importan t industry for the people’s livelihood. Traditional way of water supplying makes higher labor intensity, lower efficiency and poor security. So, it is necessary to control liquid level automatically. In this article several different liquid level control methods are demonstrated. Meanwhile liquid level control system’s hardware circuit and control procedures design are simulated by used of the software of Proteus and keilc, and system’s debugging and simulation are successfully finished.Key words:Liquid level;Automatic control;89C51;Proteus simulation1引言1.1液位控制系统的研究背景及意义液位控制一般指对某一液位进行控制调节,使其达到所要求的控制精度。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
摘要在科学技术飞速发展的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%,未来发展前景一片大好。