Skip to content
All guides

For Teachers

How Module 2 is structured, how to run the sessions, how to assess them — plus the lesson plan and exercise sheets to download and the licence.

This site is the student-facing version of SmartVET Module 2 – Smart Production Systems with IoT. The complete teaching materials — lesson plan, worksheet, presentation, the three exercise sheets, the mini competition and the quality validation tools — can be downloaded at the bottom of this page.

Module structure

The module follows one scenario from beginning to end: a smart machine monitor on a production line. Each session adds one IoT layer to the same circuit, so nothing has to be rebuilt.

Session Duration Focus IoT layer
Introductory lesson 90 min IoT architecture, sensors and actuators, MQTT, dashboards, predictive maintenance all four (theory)
Exercise 1 90 min Reading sensors and controlling actuators device
Exercise 2 90 min Publishing data and receiving commands with MQTT connectivity
Exercise 3 90 min Cloud dashboard, alarm levels, remote control platform and application
Mini Competition 1 day (or 2 × 90 min) Smart Factory IoT Challenge: teams design, build and present their own IoT solution to a jury all four

Target group: upper-secondary VET students aged 15–19. Basic ICT skills and basic electricity (voltage, digital and analogue signals) are enough; programming experience helps but is not required.

The six phases of every exercise

Each exercise sheet is organised in the same six phases:

Phase Ex. 1 Ex. 2 Ex. 3
1. Introduction and concept explanation (teacher-led) 10 min 15 min 10 min
2. Teacher demonstration (core programming activity) 20 min 20 min 25 min
3. Guided practice (students replicate) 20 min 20 min 20 min
4. Independent practice (modification task) 20 min 20 min 20 min
5. Error analysis and problem-solving 10 min 10 min 10 min
6. Reflection and discussion 10 min 5 min 5 min

On this site, phases 3–6 appear as steps: run and test, challenge tasks, find the bug and reflect. The explanations of the bugs are collapsed so that students try first.

Running the sessions

Room and accounts. A computer room with internet access and a modern browser is all you need. Students work in pairs. A Wokwi account is optional — it is only needed to save projects.

Before Exercise 2. Assign every pair a unique team ID (team01, team02 …) and write the list on the board. Pairs that share an ID control each other’s fans — which can also be a useful teaching moment. Remind students that the public broker is visible to everyone: no personal data.

Before Exercise 3. Decide whether students create their own free Adafruit IO accounts or use one class account prepared by you. With a class account, give every pair its own feed names (for example t01-temperature) and its own client ID in mqtt.connect() (for example "smartvet-t01") — with the same ID the boards knock each other offline. Remember the shared limit of 30 data points per minute — with many pairs, increase the publishing interval. Make sure keys are never posted or shared.

Troubleshooting order. When something does not work, guide students through the chain one link at a time: wiring → Serial Monitor → Wi-Fi → broker → topic → callback. Each exercise page has a troubleshooting section with the most common problems.

Real hardware (optional). If your school has ESP32 boards, the same code runs on them; see the hardware list and the last step of the Wokwi guide. A live demonstration with real parts helps students who learn better with physical objects.

Inclusion. Use diagrams and photos for abstract ideas, provide a glossary in English and the national language (the introductory lesson ends with one), pair students with different levels of experience and offer the extension questions on security and privacy to advanced students.

Assessment

Type Exercise 1 Exercise 2 Exercise 3
Formative Observation of wiring and programming; questions on sensors, actuators and thresholds Observation of the live data flow; questions on broker, topics and publish/subscribe Observation of dashboard building; questions on alarm levels and data limits
Summative Correct behaviour in all four test situations; modification tasks and bug fixes Working data flow in both directions; extension tasks Working end-to-end system (sensor → ESP32 → platform → dashboard → actuator); quality of the dashboard and the peer presentation
Self-assessment Confidence in wiring sensors and writing threshold logic (1–5) and one difficulty Explain in their own words how a value travels from the sensor to the browser Ability to build a complete IoT system (1–5) and one improvement for their dashboard

For the introductory lesson, the Module 2 worksheet (IoT layers, sensor selection, topics, dashboard interpretation) is the summative task; self-assessment is the students’ confidence in explaining the IoT architecture (1–5).

Downloads

All documents are in English. The Word and PowerPoint files can be adapted and translated.

The Arduino code (sketch.ino, diagram.json, libraries.txt) is on each exercise page in English and Turkish, ready to copy. The Turkish code is identical; only the comments and the Serial Monitor messages are translated.

Licence

All materials of this module are published under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International licence (CC BY-NC-SA 4.0). You may share and adapt them for non-commercial purposes, provided that you credit the SmartVET project (Erasmus+ 2025-1-PL01-KA210-VET-000351305), indicate if changes were made and share your adaptations under the same licence.

About the SmartVET project

SmartVET — Industrial 4.0 & AI-driven Manufacturing Education — is an Erasmus+ small-scale partnership in vocational education and training (KA210-VET), project number 2025-1-PL01-KA210-VET-000351305. Partners:

  • ZSMI Lębork, Poland (coordinator)
  • SkillsLab21, France
  • Mykonos International Initiative, Greece
  • Bilnet Schools Balıkesir, Türkiye — lead of Module 2

You can look up the project on the Erasmus+ Project Results Platform.