1、 I 基于单片机的太阳能热水器控制的设计 摘 要 目前,中国已成为世界上最大的太阳能热水器生产国,年产量约为世界各国之和。 但是与之相配套的太阳能热水器控制器却一直处在研究与开发阶段。 现在的这种控制器 只具有温度和液位显示功能,而且为分段显示。 他不具有温度控制功能,当由于天气原因 而光强不足时,就会给热水器用户带来不便。鉴于国内太阳能热水器市场不断扩大,而 与其相配套的控制器却急需改进的情况下,研制了这套太阳能热水器控制器。本文设计 的太阳能热水器是以 89C52 单片机为检测控制核心,不仅实现了温度、水位两种参数的 实时显示功能,而且具有温度设定与控制功能。控制器可以根据天气情况利用辅助
2、加热 装置使蓄水箱内的水温达到预先设定的温度,从而达到 24 小时供应热水的目的。实际 应用结果表明,该控制器和以往的显示仪相比具有性价比高、温度控制与显示精度高、 使用方便和性能稳定等优点,提高了我国太阳能应用领域控制水平,具有可观的经济效 益和社会效益。 太阳能热水器因利用太阳能、无污染、使用方便、长期使用投入费用低等特点而备 受人们青睐。 本设计介绍了一种以 89C52 单片机为核心构成的太阳能热水器智能控制器 的设计方法,给出了系统硬件设计及软件实现方法。本设计以单片机 89C52 为核心,将 来自温度和水位检测传感器的信号经过调理、A/D 转化后送入单片机,一方面通过 LED 显示当
3、前温度和水位值,另外一方面与温度和水位设定值进行比较、运算,根据结果发 出相应的上水、加热指令,对热水器的温度和水位进行控。 关键词关键词: :太阳能热水器,单片机 AT89C52,硬件设计,软件设计 II Design of Solar Water Heater Controller Based on MCU ABSTRACT At present, China has become the worlds largest producer of solar water heater, with an annual output of around and around the world.
4、However, matching with solar water heater controller has been in research and development stage. The controller now only display the temperature and level, but also for the sub-display. He did not have a temperature control function, when due to bad weather and lack of light, it will bring inconvenience to the water heater. In view of domestic solar water heater market expansion, and its matching controller is an urgent need to improve the situation, developed a set of solar water heater contro