Objective

Internet of Things (IoT) courses ask students to combine hardware, embedded programming, databases, web pages and mobile apps in one project. The authors say most work on AI in education treats AI as a tutor or an assessment tool. They saw less work on AI as an active helper while students build physical systems. They also point to cost: many AI tools require paid plans, which can shut out schools with small budgets.

This paper describes a teaching framework in which Google's Gemini acts as a co-design helper for debugging code, simulating circuits and joining parts together. The framework was shaped by the authors' earlier classroom experience at Tecnologico de Monterrey in Mexico. The paper stresses that it is a technical case description of one course, not a test of learning.

It poses three questions:

  • RQ1: What design elements are needed for an AI-supported IoT instructional framework?
  • RQ2: What forms of AI use (mobile, web and embedded) were actually built in one ten-week course?
  • RQ3: What technical and cost evidence supports or limits the mobile, web and embedded design?

An earlier version also asked about student learning, but that question was dropped because the authors did not have documented consent to use student-level data.

Methods

This is a single-cycle technical case study. The authors say it is not a design-based research study, because that approach needs several rounds of testing and revision. Such a case study can describe what happened in one setting, but it cannot show that the approach works better than any other.

The course ran for ten weeks in the second semester of 2024. It included 73 third-semester engineering students in 14 project teams: 66 in Mexico and 7 in Brazil. The Brazil-based students joined for the last five weeks and only in the software module. Teaching was project-based, with 6 hours a week of hardware and 6 hours of software (12 hours weekly, 120 hours in all). The course had three phases: weeks 1–3 for proposals, goals and the first design; weeks 4–6 for databases, web and mobile work; and weeks 7–9 for AI-IoT deployment, testing and demos. Each project had to match at least one United Nations Sustainable Development Goal.

Students could connect AI in three ways: through mobile apps built in MIT App Inventor, through a web page linked to Oracle APEX using REST calls, or directly on a NodeMCU microcontroller. Other tools included Wokwi and Tinkercad for circuit simulation and Azure DevOps for project tracking.

Data came only from project-level records: final prototypes and code, Azure DevOps work-item times for each team, and general instructor design notes. The authors report no tests, exams, surveys or student quotes. The analysis used simple counts, averages and percentages across the 14 teams, with no statistical testing. Debugging items were tagged as Gemini-assisted by students themselves, and the tags were not audited.

Key Findings

Every team finished a working project, and the AI was used most for debugging. These are counts of what teams built, not measures of learning.

Project completion

  • All 14 teams (100%) produced a functional prototype tied to at least one Sustainable Development Goal.
  • All 14 teams reached working mobile-tier integration, built a database and made at least one Oracle APEX dashboard or form set.
  • 10 of 14 teams (71%) reached working web-tier integration.
  • 3 of 14 teams (21%) said they tried AI at the microcontroller level in C++ and MicroPython. The records do not show whether the AI ran on the device or was called over the internet, so the authors do not call this verified edge AI.

How teams used Gemini

  • All 14 teams' logs showed Gemini-assisted debugging, often where hardware meets software, such as sensor readings, database sync and REST connection problems.
  • Mean debugging time was 2.1 hours per project (plus or minus 0.5). This is the time between opening and closing a work item, not hands-on time.
  • 10 of 14 teams (71%) also used AI for API connections and code, such as SQL queries and JavaScript.
  • Example projects included a restaurant food-storage monitor, an agriculture platform, a smart-home energy and security system and a stress-detecting app that used facial expressions to change simulated lighting and music.

When AI was used

Instructor notes sorted the help into four kinds, each most common in certain weeks: code suggestions and debugging in weeks 1–4, explaining errors in weeks 4–7, system design and API advice in weeks 5–9, and help with write-ups and presentations in weeks 8–10. Students relied on AI most during debugging, API connections and quick prototyping, while they stayed responsible for building the hardware and putting the system together.

Problems

  • iOS compatibility in MIT App Inventor affected about 40% of students, who needed emulator workarounds.
  • The no-cost Gemini tier set usage limits that sometimes blocked access during heavy debugging.
  • Students arrived with uneven programming skills, and ten weeks felt short.
  • Instructors saw that Gemini sometimes gave wrong answers, and that it did better on code than on hardware questions. Some teams at first accepted suggestions without checking them.

All software was used on no-cost accounts or open-source platforms, so teams had no added software cost.

Implications

What the authors say. The framework is a practical starting point for engineering teachers who want to add generative AI to IoT courses without raising software costs. The mobile and web tiers have support from this course. The embedded tier is exploratory and needs technical checking before anyone treats it as an equal third tier.

For instructors. The instructors cut back AI support as skills grew, asked students to annotate and explain code at weekly check-ins, ran discussion forums on AI problems, stressed checking AI output and assigned reflections on AI use and skill. These steps were used in this course, but the paper does not test whether they worked.

For schools with small budgets. The course finished without paid AI software, though usage limits on the no-cost tier interrupted work at times, so teachers could plan AI use ahead of heavy debugging sessions.

For students. Gemini was treated as a helper, with students still building the hardware and joining the parts.

For researchers. The authors say a consented study of learning, controlled comparisons and repeat runs are needed.

Our reading (not the authors' recommendation): Because Gemini did better on code than on hardware details, an instructor might keep a person available for questions about pins and sensors.

Our reading (not the authors' recommendation): Anyone copying this approach should expect to prepare for iOS problems, and should not expect a learning benefit, since none was measured.

Limitations

The authors are open about the limits, and they matter a great deal here.

  • No learning data. The authors lacked documented consent to use student assessments, exam results or feedback, so the paper cannot say anything about learning or skills.
  • No control group. Nothing was compared, so the results do not show the framework causes anything.
  • One course, one semester, mostly one institution. It may not carry over to other settings.
  • Self-tagged debugging logs. Students tagged items as Gemini-assisted themselves, nobody checked the tags, and the logged time includes breaks such as overnight. Missing logs were not filled in.
  • Embedded AI is unverified. Model type, location of processing, memory use and delay were not recorded.
  • One tool and one software stack. Results are specific to Gemini and the tools used.
  • Incomplete picture. Hardware module results will be reported elsewhere.
  • Design rules are practitioner-based. The design elements come from the authors' experience, not from a formal process or outside review.

The paper does not mention, but only 7 of the 73 students were in Brazil, so the cross-country part is small. The paper does not mention, but an average of 2.1 hours with no comparison cannot show whether Gemini made debugging quicker, because no one measured debugging without it.

Future Directions

The authors list these next steps:

  • Run a properly consented study of learning outcomes, using validated before-and-after tests of AI literacy, programming skill and teamwork.
  • Use longitudinal and, where possible, controlled designs, repeated over several course cycles.
  • Fully test the embedded tier: where the AI runs, the model used, memory and speed, and how stable it is over time.
  • Fix iOS compatibility in the mobile tools.
  • Try combining OpenAI and Gemini to allow deeper customization.

The authors also plan to report the hardware module results separately, so the full course is not yet described.

The authors also leave open some questions about teaching: whether AI support builds problem-solving or creates dependency, how to grade work when AI can produce correct answers, and what mix of AI and independent work is best.

The bottom line: In one ten-week IoT engineering course, 73 students in 14 teams used Google Gemini on a no-cost tier, and every team finished a working prototype tied to a Sustainable Development Goal. Gemini was used for debugging in all 14 teams. The authors collected no learning data and had no comparison group, and the debugging records were self-tagged. So this shows that the approach was workable in one place, not that students learned more. Teachers can use it as a model to try, with iOS and usage-limit problems in mind.