Aim
To identify and fix problems in a faulty IoT setup.
Requirements
-
A preloaded faulty IoT circuit or code (teacher sets up errors in advance)
-
Arduino Uno
-
ESP8266 Wi-Fi module (or Tinkercad simulation)
-
LED / Fan motor
-
IoT dashboard or Blynk app
-
Internet connection
Steps
Step 1: Run the Faulty Setup
-
Teacher provides a circuit or code with mistakes.
-
Students try to run the IoT project (e.g., LED control from phone).
Step 2: Observe the Error
-
Is the device not turning ON?
-
Is the response too slow?
-
Is the app not showing values?
-
Write down the symptom of the problem.
Step 3: Check Connections
-
Verify power supply: Is Arduino connected properly?
-
Check wiring: Are the LED/fan wires loose? Is the resistor missing?
-
Ensure pins in code match the hardware pins.
Step 4: Test Internet Link
-
Check if Wi-Fi is connected.
-
If using Blynk, check if Auth Token is correct.
-
If using dashboard, confirm internet access.
Step 5: Fix the Errors
-
Correct wiring issues.
-
Update code with the right pin or network details.
-
Restart Wi-Fi module if needed.
Step 6: Run the Setup Again
-
Upload fixed code.
-
Restart Arduino.
-
Open app and check if device responds.
Step 7: Reflect
-
Note what caused the issue.
-
Discuss how such problems can be prevented in real-world IoT projects.