Intelligent Switch and Temperature Control System Design Based on Internet of Things Cloud Platform
The traditional home electrical management system is flawed and lacks intelligence.Therefore,this paper designs a smart home system based on the Internet of Things.The system uses STM32 to manage the temperature sensor and relay,while WR3 Wi-Fi module handles the communication between STM32 and the server,and then remotely connects to the mobile phone through the server.The temperature data collected by the sensor is uploaded to the Tuya IoT cloud server.After receiving the data,the server compares the received data to a data threshold.If there is an abnormality,the system will notify the user and shut down the device.In terms of software,the program is written on software,and the temperature PID control algorithm is modeled and simulated in Mat-lab.The user provides instructions through the mobile phone APP,watches the temperature of the device,and remotely controls whether the device is running,thereby realizing the mobile terminal of the electric device.Remote monitoring and temperature con-trol.The test results show that the designed system runs normally,with simple operation,adjustable temperature range,low power consumption and good scalability.
MCUtemperature controlinternet of thingscloud platformPID controlsmart home