AI Assisted Learning – Arduino Programming

The UMPSA STEM Lab at Universiti Malaysia Pahang Al-Sultan Abdullah (UMPSA) is at the forefront of integrating artificial intelligence (AI) into education. Their innovative approach to teaching Arduino programming, focusing on digital making through circuit construction and physical computing, is reshaping how students learn and engage with technology. This blog post outlines the structured activities, from Act 1 to Act 6, that UMPSA STEM Lab uses to achieve its educational goals.

The primary aim of this AI-assisted learning initiative is to enhance participants’ understanding of digital making and physical computing. By incorporating LLM AI tools such as ChatGPT, participants receive personalized assistance and real-time feedback, making the learning process more interactive and effective.

The AI-assisted Arduino programming course was structured into six progressive activities designed to build students’ skills in digital making and physical computing. The course began with Act 1: LED Blinking, where students were introduced to basic Arduino programming by generating code with AI to make an LED blink. This foundational activity allowed students to learn how to use AI for simple code generation. In Act 2: Traffic Light, students developed debugging skills by analyzing and correcting pre-existing, buggy code to simulate a traffic light system, with AI assisting in identifying and fixing errors.

Act 3: Photoresistor Diode focused on introducing students to the concept of a photoresistor, using AI to both research the component and generate the necessary Arduino code. Building on this, Act 4: Conditional Statement with Photoresistor Diode and LED taught students to modify AI-generated code, incorporating conditional statements that controlled an LED based on light levels. In Act 5: Capstone Project, students applied their accumulated knowledge in a comprehensive project that integrated all the concepts learned, from coding to circuit construction, with AI available for guidance throughout.

The final activity, Act 6: Ultrasonic Sensors, emphasized AI code comprehension, where students analyzed AI-generated code for using an ultrasonic sensor and implemented it in their projects. This activity further developed their understanding of physical computing and prepared them for more advanced applications.

The approach taken by UMPSA STEM Lab in incorporating AI-assisted learning into Arduino programming is not just innovative but also highly effective. By breaking down the learning process into structured activities, students gain a thorough understanding of digital making and physical computing. The integration of AI tools like ChatGPT ensures that students receive personalized assistance, making the learning experience more engaging and successful.

As AI continues to evolve, the possibilities for its integration into education are endless. The UMPSA STEM Lab’s approach looks into how AI can revolutionize learning, and it sets a benchmark for other institutions to follow. With continued innovation and adaptation, AI-assisted learning can lead to a new era of education where students are more empowered and prepared for the technological challenges of the future.