In this era of rapid technological advancement, the potential of the digital age has opened up numerous possibilities for our society. However, despite these advancements, traditional classrooms still lack the necessary technology to create an optimal learning environment for students. Consequently, students may struggle to effectively acquire knowledge within classrooms. This paper aims to conduct a classroom environment analysis using Internet of Things technology to gather data and uncover valuable insights. The proposed solution involves an embedded system for controlling and monitoring the classroom environment, as well as exporting historical data for further research. By ensuring accurate data collection, this paper seeks to facilitate meaningful improvements in the classroom environment, aligning with the principle of "garbage in, garbage out" in computer science.