摘 要本系统以单片机为核心,辅以键盘,显示电路,利用热敏电阻对热水器出口温度进行检测,将温度转换成频率,并将其反馈到单片机,用单片机测出频率大小,从而间接测出温度值,温度/温度转换电路简单可靠,成本低廉。对于加热功率的控制,本文采纳了双向可控硅控制,单片机通过光耦给可控硅触发信号,控制可控硅的导通角,从而控制电热丝的有效加热功率。为了在关机和超温保护的状态下能可靠地关断加热电源,电路中加入了继电器来控制加热电源。其中串联在继电器线圈回路的熔丝为 105℃时,热保险丝会熔断,防止加热管干烧。与电热丝并联的 LED 发光管用来指示电热丝的工作状态。关键词:单片机 温度 双向可控硅 继电器AbstractSCM to the system as the core, supplemented by the keyboard, display circuit, the use of thermal resistance of the water heater temperature detection exports, the temperature will be converted to frequency, and feedback to the microcontroller, SCM measured by the size frequency And indirectly measured temperature and temperature / temperature conversion circuit is simple and reliable, low cost. The heating power of control, the paper adopted a two-way SCR control, SCM through Optocoupler SCR trigger signal to the control of the SCR on-angle and thus control the effective electric wire heating power. In order to shut down and over-temperature protection of the state can be reliably heated power shutdown, joined the circuit in the relay to control the heating power. One series in the relay coil circuit for the fuse 105 ℃, the fuse will be hot links to prevent the Heating tube of Dry. Parallel with the electric wire LED LED electric wire used to indicate the work of state. Keyword: MCU temperature TRIAC relay目 录摘 要.............................................................iAbstract............................................................ii第一篇 绪论.........................................................1第一...