Abstract:
Addressing the limitations of traditional sockets—namely their limited functionality and lack of power monitoring and remote control capabilities—this paper proposes a multi-functional smart socket system based on a cloud platform. This system employs the STM32F103C8T6 as its core controller and integrates the SUI-101A power detection module with the DHT11 temperature and humidity sensor; it is capable of collecting real-time data on voltage, current, power consumption, as well as environmental temperature and humidity, and displays this information locally via an OLED screen. The system incorporates multiple safety protection mechanisms: when over-voltage, over-current, or abnormal environmental parameters are detected, the system can automatically cut off the power supply and activate a sound-and-light alarm. Furthermore, by connecting to a cloud platform via the WT-01 WiFi module, the system enables the remote uploading of monitoring data, the online modification of protection thresholds, and the remote control of the power supply. Test results demonstrate that this design operates stably, balances electrical safety with ease of use, and provides a viable solution for intelligent power management in residential and small-scale applications.