GENERATIVE AI-ASSISTED TEACHING FOR MICROCONTROLLER PROGRAMMING AND DEBUGGING: MODEL DESIGN AND PRACTICE
Keywords:
Principles and Applications of Microcontrollers, Generative artificial intelligence, Programming instruction, Debugging competence, Teaching-model reformAbstract
The course "Principles and Applications of Microcontrollers" is highly practice-oriented and covers a broad range of knowledge domains. In program writing and debugging, students commonly face a steep learning curve, time-consuming debugging, and limited access to personalized instructor guidance. Taking generative artificial intelligence (Generative AI) as an entry point, this paper builds an AI-assisted teaching model for microcontroller programming practice based on three functional modules, namely code-skeleton generation, compilation/logic-error diagnosis, and personalized question answering, and conducts concrete teaching-practice exploration in terms of instructional design, laboratory cases, and implementation procedures. Preliminary teaching practice indicates that the model helps shorten students' debugging time and improve learning autonomy and classroom satisfaction. At the same time, it also carries risks such as the reliability of AI-generated code and students' over-reliance on AI, which require instructors to guide and regulate through instructional organization and assessment design. The teaching model and implementation pathway proposed in this paper can serve as a reference for teaching reform in similar practice-oriented courses.References
[1] Frankford E, Sauerwein C, Bassner P, et al. AI-tutoring in software engineering education. Proceedings of the 46th International Conference on Software Engineering: Software Engineering Education and Training, 2024: 309-319.
[2] Aljedaani W, Eler M M, Parthasarathy P D. Enhancing accessibility in software engineering projects with large language models (LLMs). Proceedings of the 56th ACM Technical Symposium on Computer Science Education V. 1, 2025: 25-31.
[3] Zhai C, Wibowo S, Li L D. The effects of over-reliance on AI dialogue systems on students' cognitive abilities: a systematic review. Smart Learning Environments, 2024, 11(1): 28.
[4] Alhur A A, Khlaif Z N, Hamamra B, et al. Paradox of AI in higher education: qualitative inquiry into AI dependency among educators in Palestine. JMIR Medical Education, 2025, 11: e74947.
[5] Kohen-Vacs D, Usher M, Jansen M. Integrating generative AI into programming education: student perceptions and the challenge of correcting AI errors. International Journal of Artificial Intelligence in Education, 2025, 35(5): 3166-3184.
[6] Annuš N. Investigation of generative AI adoption in IT-focused vocational secondary school programming education. Education Sciences, 2025, 15(9): 1152.
[7] Keuning H, Alpizar-Chacon I, Lykourentzou I, et al. Students' perceptions and use of generative AI tools for programming across different computing courses. Proceedings of the 24th Koli Calling International Conference on Computing Education Research, 2024: 1-12.
[8] Maleki A. Rethinking ethical academic integrity ecosystems in higher education in the age of artificial intelligence. Discover Artificial Intelligence, 2026, 6(1): 145.
[9] Alkam R S, Alsawalqa R O, Alreesi R. The moderating role of academic integrity in the relationship between artificial intelligence and critical thinking among graduate students in Jordan. Frontiers in Education, 2026, 11: 1776308.
[10] Alanazi M, Soh B, Samra H, et al. PyChatAI: enhancing python programming skills—an empirical study of a smart learning system. Computers, 2025, 14(5): 158.
[11] Zhu F, Zeng Z. A novel teaching method based on AI automated programming: a case study of Python programming. 5th International Conference on Internet, Education and Information Technology (IEIT 2025), 2025: 475-489.
[12] Sharma P. Java-powered AI agents implementing LLM-based intelligent systems for scalable and efficient applications. Journal of Computational Analysis & Applications, 2025, 34(3): 32.
[13] Li Z, Ye Q, Jin X. Reform and practice of teaching mode for "Principles and Applications of Microcontrollers" in the perspective of digital and intelligent transformation. Proceedings of the 2nd International Conference on Intelligent Education and Computer Technology, 2025: 769-774.
[14] Bolanakis D E. A survey of research in microcontroller education. IEEE Revista Iberoamericana de Tecnologias del Aprendizaje, 2019, 14(2): 50-57.