如今,人们对生活的品质要求随着科技的发展逐渐变得越来越高,而计算机控制技术与电子技术的迅猛发展,使得在物联网背景下的智能家居因其巨大的便利性和高效性深受人们的喜爱。本文设计了一种利用互联网控制电磁炉的方案。通过检测低电平信号全程监测按键状态,分析按键是否按下;利用电磁炉自带的温度传感器获取温度;通过采集电磁炉主控板中的锅具检测电路输出,判断锅具的有无;模拟按键按下时的低电平信号,向电磁炉主控板上的单片机输入一个与按键信号一致的低电平信号,模拟按键按下,达到控制电磁炉开/关、调节档位的目的,同时使用Arduino UNO对电磁炉状态进行检测和控制,并使用ESP8266用于Arduino UNO和服务器之间的通信。而服务器与客户端平台则使用Qt搭建,最终实现通过电脑/手机控制电磁炉,电磁炉状态能反馈到电脑/手机,实现信息交互。
Nowadays, people’s requirements for the quality of life gradually become higher and higher with the development of science and technology. With the rapid development of computer control technology and electronic technology, the smart home under the background of the Internet of things is deeply loved by people because of its great convenience and efficiency. This paper designs a scheme of using Internet to control induction cooker. Monitor the key state in the whole process by detect-ing the low-level signal, and analyze whether the key is pressed; Obtain the temperature by using the temperature sensor of the induction cooker; Judge the presence or absence of the cooker by collecting the output of the cooker detection circuit in the main control board of the induction cooker; Simulate the low-level signal when the key is pressed, input a low-level signal consistent with the key signal to the single chip microcomputer on the main control board of the induction cooker, simulate the key press, achieve the purpose of controlling the on/off and adjusting the gear of the induction cooker, use Arduino UNO to detect and control the state of the induction cooker, and use ESP8266 for the communication between Arduino UNO and the server. The server and client platforms are built using Qt. Finally, the induction cooker is controlled by computer/mobile phone, and the induction cooker status can be fed back to computer/mobile phone to realize information interaction.