ESY Final MSV
ESY Final MSV
“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.
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):
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:
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();
}
/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
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……………………………………………………………
********************