# Getting Started with IoT: Your First IoT Project Explained

# 🚀 Getting Started with IoT: Your First IoT Project Explained

**By Pappuraj | The Dev Lab**

---

## What is IoT?

The **Internet of Things (IoT)** refers to a network of physical devices—like sensors, microcontrollers, home appliances—that communicate and share data over the internet. Imagine your fan turning on automatically when your room gets hot. That’s IoT in action!

---

## What You’ll Learn

* What IoT actually means in real life
    
* Components of an IoT system
    
* A simple project to get started
    
* Code, wiring, and explanation
    

---

## Components of an IoT System

1. **Sensor** – Captures data (e.g., temperature)
    
2. **Microcontroller** – Brains of the system (e.g., ESP32/NodeMCU)
    
3. **Connectivity** – WiFi, Bluetooth, etc.
    
4. **Cloud or Server** – Stores or analyzes data
    
5. **User Interface** – Mobile app, dashboard, or web
    

---

## 🔧 Project: Temperature Logger with ESP32 + Firebase

### What You Need

* ESP32 (or NodeMCU)
    
* DHT11 or DHT22 sensor (for temperature/humidity)
    
* Jumper wires + breadboard
    
* Firebase Realtime Database
    
* Arduino IDE
    

---

### Wiring

| DHT Sensor Pin | ESP32 Pin |
| --- | --- |
| VCC | 3.3V |
| GND | GND |
| Data | D4 (GPIO 4) |

---
