Aim
To simulate a smart bulb or fan using an IoT dashboard.
Requirements
-
Computer with internet access
-
Tinkercad Circuits (online simulation tool) or Blynk app
-
Arduino Uno (in simulation)
-
LED (acts as a smart bulb) or small motor (acts as fan)
Steps
Step 1: Open IoT Simulation Tool
-
If using Tinkercad: Log in to Tinkercad Circuits.
-
If using Blynk: Install the Blynk app on a smartphone.
Step 2: Build the Circuit
-
Place an Arduino Uno in Tinkercad workspace.
-
Connect an LED (for smart bulb) or DC motor (for fan).
-
Attach a resistor to the LED to avoid burning it out.
-
Connect wires:
-
LED positive → Arduino digital pin (e.g., pin 9).
-
LED negative → Resistor → GND.
-
Fan positive → Arduino digital pin.
-
Fan negative → GND.
-
Step 3: Add IoT Dashboard (Button Control)
-
In Tinkercad, use the Code Blocks or text editor.
-
Write a program to control the LED/fan using HIGH (ON) and LOW (OFF) signals.
-
In Blynk, create a button widget in the dashboard and link it to the Arduino pin.
Step 4: Run the Simulation
-
Click Start Simulation in Tinkercad OR tap the button in Blynk app.
-
When the button is pressed → LED/fan turns ON.
-
When the button is pressed again → LED/fan turns OFF.
Step 5: Observe and Reflect
-
Notice how the device does not need manual switches.
The device “listens” to commands sent via the internet.