0% found this document useful (0 votes)
7 views8 pages

ESY Final MSV

The micro-project report details the development of a Smartphone Controlled Light On/Off System using NodeMCU and a relay module, aimed at enhancing home automation. It highlights the project's benefits, such as remote control of lights, cost-effectiveness, and integration with other smart systems. The report also outlines the procedure followed, resources used, and skills developed throughout the project.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views8 pages

ESY Final MSV

The micro-project report details the development of a Smartphone Controlled Light On/Off System using NodeMCU and a relay module, aimed at enhancing home automation. It highlights the project's benefits, such as remote control of lights, cost-effectiveness, and integration with other smart systems. The report also outlines the procedure followed, resources used, and skills developed throughout the project.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Micro-Project Report

“Smartphone Controlled Light on Off System using NodeMCU and Relay Module”

1.0 Rationale:
Home automation using a 2-channel relay module and NodeMCU represents a dynamic and
accessible approach to transforming a conventional home into a smart and interconnected living
space. The 2-channel relay module, equipped with two independently controllable switches,
serves as a pivotal component in this system. Paired with the NodeMCU, a versatile and cost-
effective IoT platform, this combination enables users to remotely control and automate various
electrical appliances and devices within their homes.

2.0 Aims / Benefits of the micro-Project:


• Control lights without needing to be physically present, which is especially useful for people
with mobility issues.
• A low-cost solution compared to commercial smart lighting systems, leveraging affordable
components like NodeMCU and relay modules.
• Ability to turn lights on/off remotely can deter intruders when users are away.
• Users can tailor the system to their specific needs and preferences.
• Can be easily integrated with other smart home systems for more comprehensive automation
solutions.
3.0 Course Outcomes Integrated:
a. Select the relevant microcontrollers for various industrial applications.
d. Develop basic applications using embedded systems.
e. Interpret features of Real Time Operating System.
4.0 Actual Procedure followed:
4.1 Brief Description:
A Smartphone Controlled Light On/Off System using NodeMCU and Relay Module is a simple
IoT (Internet of Things) project that allows you to control the state of a light (or any other
electrical appliance) remotely using your smartphone. The system works by using a NodeMCU,
which is a low-cost microcontroller with built-in Wi-Fi, to interface with a Relay Module that
controls the power to the light.
Using a relay with the ESP8266 is a great way to control AC household appliances remotely.
This tutorial explains how to control a relay module with the ESP8266 NodeMCU. We’ll take
a look at how a relay module works, how to connect the relay to the ESP8266 and build a web
server to control a relay remotely (or as many relays as you want).
4.2 Data Collected:
1. NodeMCU:

Fig.1 NodeMCU

Specification
Architecture:32 bits
Wi-Fi: IEEE802.11 b/g/n support for WPA and WPA2
RAM:160KB - 64KB Instruction 96KB Data
GPIO:16
DAC:0
ADC:1
2. Relay Module (2 Channel):

Fig.2 2 Channel Relay Module

Specification
Number of Channels:2
Input Voltage: Typically, 3.3V, 5V, 12v and 24V DC.
Input Signal Voltage:3.3V to 5V.
Output Voltage: Varies depending on model (24V to 220V AC or up to 30V DC)
Maximum Switching Current: Varies depending on model (typically 7A to 10A per channel)
3. Bulb:

Fig.3 Bulb

Specification
Light Type: LED
Special Feature: Energy Efficient
Wattage:9 Watts
Bulb Shape Size: A19
Bulb Base: B22D
Light Colour: White
Colour Temperature:6500 Kelvin
Brightness:1200 Lumens per bulb
Shape: Round
4. Jumpper wires:

Fig.4 Jumpper wires


Specification
Types-1. Female to female 4.
Tolerance- +0.01mm.
Length- 20cm.
4.3 Design and implementation:

Fig.5 Interfacing diagram of smartphone-controlled light on off system using


NodeMCU and relay module

#define BLYNK_TEMPLATE_ID "TMPL3oYDMaPzl"


#define BLYNK_DEVICE_NAME "SMART HOME"
#define BLYNK_AUTH_TOKEN "d5Jqo15fm7nG4O4NhgaQ5HJda6RqKzto"
#define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
char auth [] = BLYNK_AUTH_TOKEN;
char ssid[] = "SM";
char pass[] = "11111111";
BLYNK_WRITE(V0)
{
int value = param.asInt();
Serial.println(value);
if(value == 1)
{
digitalWrite(D5, LOW);
Serial.println("LED ON");
}
if(value == 0)
{
digitalWrite(D5, HIGH);
Serial.println("LED OFF");
}
}

BLYNK_WRITE(V1)
{
int value = param.asInt();
Serial.println(value);
if(value == 1)
{
digitalWrite(D6, LOW);
Serial.println("LED ON");
}
if(value == 0)
{
digitalWrite(D6, HIGH);
Serial.println("LED OFF");
}
}
void setup()
{
Serial.begin(115200);
Blynk.begin(auth, ssid, pass);
pinMode(D5,OUTPUT);
pinMode(D6,OUTPUT);

void loop()
{

Blynk.run();
}

4.4 Design / Actual Procedure Followed:


• Selected the topic for micro project which is Smartphone Controlled Light on Off System
using NodeMCU and Relay Module
• After selecting the topic, we have searched and collected the information
• We had designed circuit diagram in Proteus software.
• We had developed the program in Arduino IDE software.
• We had compiled the program and loaded the program in NodeMCU.
• We had observed the output in proteus software.
• We had purchased the hardware components- NodeMCU with Relay module and bulb.
• We had Interfaced the NodeMCU with Relay module and bulb
• Loaded the program in NodeMCU and observed the hardware output.
• Prepared the report and submitted the report.
4.5 Result Analysis:
Create the switches on Blynk application, we get authentication code, then load
authentication code, Wi-Fi name and Password in program.
Download the required library for NodeMCU and Blynk app, load the program in
NodeMCU, Relay module as well as LED bulb interface with NodeMCU.
Control the switches on Blynk app, we get output on led bulb.
5.0 Resources used:
Sr. Name of Specifications Quantity Remarks
No. Resource

/Material
1. Laptop Widows 11, 8 GB ram 01 Used
2. NodeMCU ESP8266, 3.3V 01 Used
3. Relay Module 2 channels, 5V 01 Used
4. Bulb 9W 01 Used
5. Jumper Wire ____ As per
requirement Used
6. Software’s Arduino IDE (1.8.19), Proteus - Used
software (8.6)
https://www.instructables.com/Alexa-
7. website Smart-Home-System-Using- - Used
NodeMCU-Relay-Module/
The 8051
8. Microcontroller Muhammad Ali Mazidi 01 Used
and Embedded
Systems

6.0 Output of the Micro-Project:

Fig.6 Output of smartphone-controlled light on off system using NodeMCU and relay
module
7.0 Skill Developed / Learning outcomes of this Micro-Project:
1. Learned to search information using different resources like reference books, internet,
ChatGPT etc.
2. Acquired knowledge about which skills are required to develop a program.
3. How to write the program.
4. About proteus and how implementation work is done.
5. How to interface the hardware-input output devices with arduino board.
6. About NodeMCU.
7. About importance of team work.
8.0 Application of this Micro-Project:
• Home Automation: Automate and control lighting in homes or offices.
• Security: Turn lights on remotely when away from home to give the illusion of presence.
• Energy Efficiency: Easily turn off lights to save power when not needed.
• Remote Control: Control appliances from anywhere with an internet connection.

Name and designation of the Teacher- Mr. Mengade R.D. (Lecturer in E&TC Dept.)

Dated Signature……………………………………………………………

********************

You might also like