Aim
To build an IoT project that senses the environment and communicates data to a dashboard.
Requirements
-
Hardware / Simulation Tools:
-
Arduino Uno (real or in Tinkercad)
-
Wi-Fi module (ESP8266) if using real hardware
-
Temperature sensor (DHT11/DHT22) or Soil Moisture Sensor
-
Blynk app / IoT dashboard / Tinkercad Circuits
-
Steps
Step 1: Choose Your Sensor
-
If using Temperature Sensor (DHT11/DHT22): Measures temperature and humidity.
-
If using Soil Moisture Sensor: Detects dryness or wetness of soil.
Step 2: Connect Sensor to Arduino
-
Temperature Sensor Wiring:
-
VCC → 5V
-
GND → GND
-
Signal → Arduino pin (e.g., A0 or D2 depending on sensor type)
-
-
Soil Moisture Sensor Wiring:
-
VCC → 5V
-
GND → GND
-
Analog Output → Arduino analog pin (A0)
-
Step 3: Link Arduino to IoT Dashboard
-
Open Blynk app (or IoT dashboard in Tinkercad).
-
Add a widget (Gauge/Value Display) to see live sensor data.
-
Add notification widget for alerts.
Step 4: Write the Program
-
Program Arduino to read sensor values.
-
Add if-else logic:
-
If temperature > 30°C → send alert message (“It’s hot!”).
-
If soil is dry → turn ON pump icon in dashboard.
-
Otherwise → keep pump OFF / show “All good.”
-
Step 5: Run the Simulation
-
Start the circuit or real Arduino.
-
Change conditions:
-
Increase temperature in simulation.
-
Reduce soil moisture value.
-
-
Observe results on dashboard.
Step 6: Reflect
-
Notice how data moves from the real world → sensor → Arduino → IoT dashboard → user action.
-
This is how modern smart farms, smart homes, and industries work.