Abstract:Aiming at the bedroom temperature and humidity control unit of the smart home system, a bedroom temperature and humidity closed-loop control system based on multiple fitting algorithm is designed. The system takes STC89C52 microprocessor as the core. Adopts the least squares multivariate fitting algorithm to establish the regulation model, and uses multiple sensors to collect temperature and humidity parameters. Cooperating with LCD liquid crystal display, Bluetooth communication module and related actuators to achieve real-time interaction of information which include real-time temperature and humidity , automatic closed-loop adjustment and fault warning and other functions. Through the test of the system model, the system can realize the predetermined functions, and the effect is better.