In this paper, we conduct in-depth research and analysis by building an IoT data-driven intelligent law classroom teaching system and implementing it in the actual teaching process. Firstly, the application requirements and main functions of the classroom interactive system are analysed and studied in depth; the overall design of the classroom interactive system based on wireless communication is carried out; and the classroom interactive system consisting of teacher’s receiver, wireless receiver, student’s handheld terminal, teacher’s receiver upper computer software, student’s handheld terminal upper computer software, and data management website is developed. Platform and communication part: middleware comprises multiple modules such as real-time memory event database, task management system, and event management system. The system uses USB communication, serial time-sharing communication, Zigbee wireless communication, WebSocket, and other technologies to realize data communication between several modules, and some key technologies are studied and improved in detail. Finally, the system is deployed to the actual experimental application scenario, and the software and hardware construction of the IoT innovation lab is completed. The lab equipment is officially put into use, the information platform is also in the trial run stage, and the system is tested in time during the operation stage to provide the basis for the improvement of the system functions. Use data to conduct an in-depth analysis of learning situations and learning process analysis, optimize the reasonable construction of a personalized learning environment, serve personalized learning, and achieve the most optimal learning effect. The secondary development of the Turing robot provides a personalized auxiliary Q&A system for teaching, allowing artificial intelligence-assisted teaching to be integrated into the curriculum. With the help of teaching law courses, the empirical study demonstrates that the personalized learning environment has significant advantages in improving teaching effectiveness.