攀 枝 花 学 院 本 科 毕 业 设 计 ( 论 文 )基 于 AT89S52太 阳 能 热水 器 控 制 系 统 的 设 计学 生 姓 名 : 刘 欢 学 生 学 号 : 202510501040 院 ( 系 ) : 电 气 信 息 工 程 学 院 年 级 专 业 : 电 子 信 息 工 程 指 导 老 师 : 伍 刚 教 授 助 理 指 导 老 师 : 二 〇 一 四 年 六 月摘 要 本 设 计 以AT89S52 单 片 机 作 为 控 制 核 心 并 协 调整 个 系 统 的 工 作 ,通 过DS18B20 传 感 器 检 测 当 前水 的 温 度 , 通 过 单 片 机 的 处 理 在LED 数 码 管 上显 示 当 前 的 温 度 值 告 知 用 户 , 用 户 通 过 显 示 的温 度 值 可 以 控 制 电 磁 开 关 进 行 加 热 或 上 水 以 便达 到 舒 适 的 水 温 。 该 系 统 同 时 还 能 对 水 位 进 行实 时 监 控 , 水 位 的 当 前 值 通 过 数 码 管 显 示 , 当水 位 为 零 时 , 系 统 会 自 动 开 启 上 水 的 电 磁 开 关当 水 位 高 于 100 时 , 系 统 会 自 动 关 闭 上 水 电 磁 开关 。关 键 词 AT89S52单 片 机 , LED , 温 度 控 制 , 水 位控 制 , 电 磁 开 关ABSTRACTThis design mostly AT89S52 microcontroller core as a control and coordinate the work for the entire system,The DS18B20 sensor to detect the current water temperature,SCM through the processing in the LED digital tube display the current temperature inform users,The user through the display of the temperature value can control the electromagnetic switch heating or water to achieve a comfortable temperature.The system can real-time monitoring of water level, the value level through the digital tube display, when the water level is zero, the electromagnetic switch system will automatically open water, when the water level is higher than 100, the system will automatically shut down the water electromagnetic switch.Ke...