基于单片机的红外自动淋浴器毕业设计论文 联系客服

发布时间 : 星期二 文章基于单片机的红外自动淋浴器毕业设计论文更新完毕开始阅读c8ebd124eef9aef8941ea76e58fafab069dc44af

基于单片机的红外自动淋浴器设计

摘要:目前我国国有企业、事业单位、学校等都有许多公共浴室,其中大多是

传统淋浴设备,这些设备陈旧,造成大量淡水资源的浪费,针对我国淡水资源浪费的现状,本文设计了一种能自动感应人的来去的红外自动淋浴系统。系统主要以STC89C52单片机为核心,以RE200B传感器为红外接收模块,蜂鸣器报警模块,LCD显示模块及电磁阀控制模块,并辅有一些外部元件组成。单片机接收到的红外信号后打开电磁阀,此时开始淋浴,同时通过LCD液晶显示淋浴时间或定时时间,当定时时间快到时,通过蜂鸣器进行声音报警,并一分钟后关闭电磁阀,从而达到淋浴节水效果。

关键词:Pro tel DXP; 电路设计; Wo rd 文档; 仿真性能

Design of Infrared Automatic Shower Based on MCU Abstract: Altium's Protel DXP2004 was launched in 2004, the latest version of

the circuit design software, which enables from conceptual design, level design and production data until the output of all this analysis between the validation and design data management. The current popular Protel 98, Protel 99 SE, is its pre-release.

Protel DXP 2004 is not a simple PCB (printed circuit board) design tools, but by the number of modules of the system tools, namely, SCH (schematic) design, SCH (schematic diagram) simulation, PCB (printed circuit board ) design, Auto Router (Autorouter) and FPGA design, covering the entire PCB physical design as the core. The software project management, schematic and PCB's two-way synchronization, multi-channel design, automatic routing topology and circuit simulation technology combined with the circuit design provides a powerful support. With earlier versions - Protel99 compared, Protel DXP 2004 not only in appearance even more luxurious, circuit design, and incorporates VHDL and FPGA design system, its function excellent electronic circuit design software, developed rapidly in recent years. Protel-aided design of electronic circuits is very important electronic professional courses.

Keywords:infrared sensors; shower; induction; electromagnetic valve; buzzer

目 录

第一章 绪论 ............................................................................................................... 1

1.1 红外技术的特点 ............................................................................................ 1 1.2 课题背景及意义 ............................................................................................ 1 1.3 国内外的研究现状 ........................................................................................ 2 1.4 论文的主要研究内容 .................................................................................... 3 第二章 系统整体方案设计 ........................................................................................ 4

2.1系统设计思路 ................................................................................................. 4 2.2系统方案设计 ................................................................................................. 4

2.2.1 方案一 ................................................................................................ 4 2.2.2 方案二 ................................................................................................ 5

第三章 系统硬件设计 ................................................................................................ 6

3.1单片机的选择 ................................................................................................. 6

3.1.1 STC89C52单片机的特点 .................................................................... 6 3.1.2 STC89C52单片机的管脚说明 ............................................................ 8 3.2红外信号的采集电路设计 ............................................................................. 9

3.2.1 RE200B热释红外传感器结构图及工作原理 ................................... 10 3.2.2热释电红外传感器RE200B处理芯片BISS0001 ...............................11 3.2.3 红外采集电路 .................................................................................. 12 3.3显示电路设计 ............................................................................................... 13

3.3.1 1602液晶模块JHD162A 简介 ......................................................... 13

3.3.2单片机与1062LCD接口电路设计 ..................................................... 16 3.4 报警电路设计 .............................................................................................. 17 3.5 电磁阀控制电路设计 .................................................................................. 17 第四章 系统软件设计 .............................................................................................. 19

4.1 主程序设计 .................................................................................................. 19 4.2 红外信号采集程序 ...................................................................................... 19 4.3 报警程序 ...................................................................................................... 19 4.4液晶显示驱动程序 ....................................................................................... 19 致谢 ........................................................................................................................... 22 参考文献 ................................................................................................................... 23 附录 ........................................................................................................................... 24

附录A 开发板原理图 ........................................................................................ 24 附录B 程序清单 ............................................................................................... 25