In the context of actively deploying 5G and the widespread adoption of the Internet of Things (IoT) in smart environments, edge computing and machine learning have emerged as critical technologies for enhancing performance. This study investigates the application of the "cloud-edge-terminal" architecture in an Artificial Intelligence of Things (AIoT) conference room, evaluating its effectiveness in environmental control, equipment management, and human-machine interaction. While traditional cloud computing offers robust computational power, frequent data transmission often leads to latency and privacy risks. To address this, the study deploys machine learning training on the cloud, with inference executed on edge devices to improve real-time performance and efficiency. The AIoT conference room encompasses two core functions: (1)Edge Computing-Based Environmental Control and Equipment Management Platform: Utilizing an industrial-grade Edge Programmable Industrial Controller (EPIC), this platform integrates lighting, air conditioning, and air quality monitoring.(2)Smart IoT Environment with Machine Learning Capabilities: Edge devices perform real-time face recognition (FR) and facial expression recognition (FER) to analyze attendees’ identities and emotions, adjusting the environment accordingly. Through the "cloud-edge-terminal" architecture, this study establishes an AIoT conference room with machine learning capabilities, demonstrating that edge computing reduces latency and enhances performance, while the cloud handles model training and data analysis. Future research could explore horizontal device integration (e.g., real-time interaction between emotion recognition and environmental adjustments) or dynamic computation offloading to optimize resource allocation between the cloud and edge. This framework is also applicable to enterprise offices and smart classrooms, enhancing the adaptability and value of intelligent environments.