IoT Smart Home Automation Hub
IoT & Hardware Systems

IoT Smart Home Automation Hub

Case Study DetailsID: home-automation

NAME:

MUHAMMAD AHSAN

Home automation

Overview

We have used ESP8266 because it provides us Wi-Fi control to on/off the light and the other pins we can connect the relay to power up the fans and light in low voltage to easily control higher power circuits.

We can control all the house-connected things which are connected to the ESP 8266 with our remote app (Blink).

When the owner of the house entrance to the room he just has to use his/her mobile to on-off the lights, fans.

Components we use in the project:

Components Required:

NodeMCU ESP8266 12E,

Relay module,

4 AAA 1.5V Battery Case,

AAA 1.5V Battery,

Breadboard, 6. Jumper Wire.

Node MCU ESP8266

The ESP8266 is a low-cost Wi-Fi microchip, with built-in TCP/IP networking software, and microcontroller capability, produced by Espressif Systems in Shanghai, China. The chip first came to the attention of Western makers in August 2014 with the ESP-01 module, made by a third-party manufacturer Ai-Thinker.

Pins of ESP 8266

Relay

A relay is an electrically operated switch that can be turned on or off, letting the current go through or not, and can be controlled with low voltages, like the 5V provided by the Arduino pins. Controlling a relay module with the Arduino is as simple as controlling any other output as we'll see later on.

Breadboard:

A breadboard is a solderless construction base used for developing an electronic circuit and wiring for projects with microcontroller boards like Arduino.

Blink APP

What is the Blink app?

Blink, a mobile application that allows users to send each other self-destructing messages, has now arrived on Android.

Code we use in ESP 8266:

#define BLYNK_PRINT Serial

#include <ESP8266WiFi.h> #include <BlynkSimpleEsp8266.h>

char auth[] = "HomeAutomation Talha & Ahsan";

char ssid[] = "Your_SSID";

char pass[] = "Password";

void setup()

{

Serial.begin(9600);

Blynk.begin(auth, ssid, pass);

//Blynk.begin(auth, ssid, pass, "blynk-cloud.com", 80);

//Blynk.begin(auth, ssid, pass, IPAddress(192,168,1,100), 8080);

}

void loop()

{

Blynk.run();

}

Project Summary

Brief Description

Developed a WiFi-connected smart home relay node controlling high-power AC lines using a mobile app interface.

Methodology Summary

Programmed an ESP8266 NodeMCU in Arduino IDE. Connected the board to local WiFi and set up API communication loops with the Blynk IoT cloud. Connected digital output pins to a multi-channel safety relay module.

Results & Performance

Created a secure home automation system allowing users to remotely toggle lights and household fans from their smartphones.

Tech Stack

ESP8266 NodeMCUBlynk IoTRelay ControlWiFi CommunicationSmart Home
Author:Muhammad Ahsan
Date:2025 - 2026
Class:iot