Getting Started with IoT
From a blinking LED to a connected smart system — a beginner's guide for engineering students.
The Internet of Things (IoT) is one of the most accessible areas for students to start building real projects. If you've seen our Smart Light project using ESP32, this guide shows you the bigger picture and how to level up.
The 3 Layers of Every IoT System
Layer 1 — Sensing
Sensors collect real-world data: temperature, motion, light, humidity, gas levels. The physical world enters your system here.
Layer 2 — Processing
A microcontroller (Arduino, ESP32, Raspberry Pi) reads the sensor data and decides what action to take based on your code logic.
Layer 3 — Actuation / Communication
The system triggers a physical action (relay, motor, buzzer) or sends data to the cloud, a mobile app, or a dashboard.
Beginner Kit Under ₹1,500
ESP32 Board
Better than Arduino for IoT — has built-in Wi-Fi and Bluetooth
DHT11 / DHT22
Measures temperature and humidity — perfect first sensor project
PIR Motion Sensor
Detects movement — used in the Thirai Smart Light project
Relay Module
Controls AC appliances safely from your microcontroller
Wires + Breadboard
Jumper wires, breadboard, USB cable — essential for prototyping
Smart Light Code (ESP32)
#define PIR 14
#define RELAY 26
void setup() {
pinMode(PIR, INPUT);
pinMode(RELAY, OUTPUT);
}
void loop() {
int motion = digitalRead(PIR);
digitalWrite(RELAY, motion); // ON when motion detected
}
8-Week Learning Roadmap
LED blink, button input, serial monitor output — get familiar with the Arduino IDE and ESP32 board
Temperature & humidity sensor display, relay control — read data and trigger physical output
Connect to Wi-Fi, send sensor data to the cloud using ThingSpeak or Blynk — your first connected device
Build a complete project: smart home automation, weather station, or smart attendance system
More project guides on Thirai
Check the Technology section for more Arduino and IoT tutorials for Indian engineering students.
