On "IOT Smart Bulb": Mini Project Report

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

Mini project Report

On

“IOT Smart Bulb”

Submitted by:-

Ranvir Rotwal 76

Sixth Semester
B.E (IT)
Department of Information Technology

Prof. Ram Meghe Institute of Technology & Research


Badnera, Amravati (M.S.) 444701

IOT Mini Project Report

“IoT Smart Bulb using Node MCU and Blynk App”

Introduction

• The Internet of Things ( IoT) aims towards making life simpler by


automating every small task around us. A recent trend is the development
of smart home IoT devices. As home automation has become very
affordable, the global market for smart home automation has increased
exponentially in the past few years.

• Smart Bulb enables us to control the Bulb using an android phone with just
one touch. It's pretty simple to make this at our home with few electrical
components. In this Project, we will learn How to make Smart Bulb
using NodeMCU and Blynk App.
Hardware Requirements :

The required hardware components for interfacing are as follows –

• Node MCU ESP8266 - ESP8266 is a low-cost microcontroller chip that is


used to interface various hardware components. It has inbuilt WIFI and
Bluetooth capabilities, making it a better candidate for IoT projects and
Developments. Also, it is very cost-efficient as well as consumes less power.
It allows us to use it as a micro-controller and manipulate input and output.

• Breadboard - They are basically a construction base used for prototyping


electronic circuits. Breadboards allow us to make quick connections between
hardware components, without soldering.

• Relay -It is designed to interface with development boards such as Node


MCU to control high voltage and high current load. It is rated up to 10 A per
channel at 30 VDC or 250VAC.

• Jumper Wires - Jumper wires are the connecting wires that have connector
pins at each end, allowing them to be used to connect the two points without
soldering. They typically come in three versions - male-to-male, male-to-
female, and female-to-female. Here, we will be using male-to-male jumper
wires to interface the hardware components.

• USB Cable - USB (Universal Serial Bus) Cable is used to connect the
development boards (Node MCU in this case) to the system.

• Bulb - A Bulb contains a filament enclosed inside glass to protect the filament
from oxidation. Current is supplied to the filaments via terminal.

• Power Adaptor - An adaptor is used to give a power supply to the Node MCU
board.
Softwares :

• Arduino IDE - Arduino Integrated Development Environment (IDE) is open-


source software that facilitates the development and uploading of codes to the
microcontroller. Programs written in Arduino IDE are known as Sketch. These
Sketch files are saved with the file extension ino.

• Blynk App - Blynk is an IoT platform that allows you to quickly build user
interfaces for controlling and monitoring your hardware projects from your
android phones. You can download this app from Google Play Store.

Circuit Connections :

The circuit connections are as follows –

• The positive terminal and negative terminal of the 5V power supply are
connected to the positive and negative of the breadboard respectively.
• The positive terminal and negative terminal of the Relay Module are
connected to the positive and negative of the breadboard respectively.
• IN pin of the relay is connected to the D0 pin on the node MCU.
• The positive terminal of the bulb is connected to pin D0 of the node MCU.
Working principle of this project –

In this project, there are three main components used an Android Blynk app, Wi-Fi Node
MCU and 4 Channel Relay module.

• The Android Blynk app sends the serial data to the Wi-Fi Node MCU by clicking ON
button.

• The Wi-Fi Node read the input data and process it according to program uploaded
inside it and generate the output to 4 Chanel Relay Module.

• When the Blynk app's button turns on, it turns ON the home light, and when the
Blynk app's buttons turns OFF, it turns OFF the home light.

Blynk App Settings –


• Create an account on Blynk App, and then log in.
• Go to New Project.
• Name your Project > Choose device as Node MCU > Set Connection Type as Wi Fi.
Then select Create.
• An authentication key will be sent to your registered Email address.
• Go to Widget Box, then select Button.
• Now, go to button settings by clicking on the Button Widget.
• Change the output pin to Do and then change the slider to Switch.
• Now, go back and click on the play button present on the top of the screen.
Complete Code :
#define BLYNK_PRINT Serial

#include <ESP8266WiFi.h>

#include <BlynkSimpleEsp8266.h>

char auth[] = "IzyA8DP3M7tJyAZqdypqG2WgwRI5K3Jh";

char ssid[] = "Ranvir";

char pass[] = "Bajirao@5001";

void setup()

Serial.begin(9600);

Blynk.begin(auth, ssid, pass);

Blynk.syncAll(); // For syncing the last state of your device.

void loop()

Blynk.run();

}
Benefits of Using Smart Lighting-
• The Potential to Save Energy
• Comfortable Convenience
• Personalized Scenes for Every Occasion
• Set the Mood with colour
• Add More with Interior Design
• Smart bulbs have a simple install and the price is easier on the wallet than
other smart home upgrades. These LEDs can be six times more energy
efficient than incandescent lighting.
• Considering these bulbs can last for over 25,000 hours of use, changing over
to these bulbs is cost-effective in the long run.

CONCLUSION-
• It was possible to implement an intelligent bulb based on internet of things
concept its activation can be given from any part of the world with internet
connectivity and at the same time the location of the bulb is not tied to a
particular site.

• Lighting appliances and the IoT ecosystem converge in several areas: health
and wellness with circadian LED systems, lighting systems with advanced
sensing, optical communications, and location services.

You might also like