1、 本科生毕业设计 题 目: 基于单片机的红外自动淋浴器的设计 I 基于单片机的红外基于单片机的红外自动自动淋浴器设计淋浴器设计 摘要:目前我国国有企业、事业单位、学校等都有许多公共浴室,其中大多是 传统淋浴设备,这些设备陈旧,造成大量淡水资源的浪费,针对我国淡水资源浪 费的现状,本文设计了一种能自动感应人的来去的红外自动淋浴系统。系统主要 以 STC89C52 单片机为核心,以 RE200B 传感器为红外接收模块,蜂鸣器报警模 块,LCD 显示模块及电磁阀控制模块,并辅有一些外部元件组成。单片机接收到 的红外信号后打开电磁阀,此时开始淋浴,同时通过 LCD 液晶显示淋浴时间或定 时时间,当定时
2、时间快到时,通过蜂鸣器进行声音报警,并一分钟后关闭电磁阀, 从而达到淋浴节水效果。 关键词:红外传感器红外传感器;淋浴器;感应淋浴器;感应;电磁阀电磁阀;蜂鸣器;蜂鸣器 Design of Infrared Automatic Shower Based on MCU Abstract: At present, our country state-owned enterprise, institution, the school has many public bathroom, most of which are traditional shower equipment, these old
3、equipment caused a lot of fresh water wasting, In view of the present situation of wasting water resources, this paper designs a kind of automatic induction and a infrared automatic shower system. The system used STC89C52 microcontroller as the core, with RE200B sensor for infrared receiving modules
4、 buzzer alarm module, LCD display module and electromagnetic valve control module, and auxiliary some external components. Single chip receives the infrared signal ,then open electromagnetic valve, at this time, but at the same time, through began to shower LCD shower time or regular time, when time is when the timing, through voice alarm, and buzzer a minute later closed electromagnetic valve, so as to achieve the shower water-saving effect. Keywords:infrared sensors; shower; induction;