0% found this document useful (0 votes)
8 views33 pages

Sample Mini Project Report

The document is a mini project report on 'Voice Activated Control Using Node MCU and Android Application' submitted by students from BLDEA’s V.P. Dr. P.G. Halakatti College of Engineering and Technology. It discusses the design and implementation of a voice-controlled home automation system utilizing Google Assistant, NodeMCU, and IoT technology to control home appliances. The report includes sections on introduction, literature review, methodology, advantages, applications, and future scope of the project.

Uploaded by

puse1223
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views33 pages

Sample Mini Project Report

The document is a mini project report on 'Voice Activated Control Using Node MCU and Android Application' submitted by students from BLDEA’s V.P. Dr. P.G. Halakatti College of Engineering and Technology. It discusses the design and implementation of a voice-controlled home automation system utilizing Google Assistant, NodeMCU, and IoT technology to control home appliances. The report includes sections on introduction, literature review, methodology, advantages, applications, and future scope of the project.

Uploaded by

puse1223
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 33

VISVESVARAYA TECHNOLOGICAL UNIVERSITY,

JNANASANGAMA, BELAGAVI- 590018

BLDEA’S V.P. Dr. P.G. HALAKATTI COLLEGE OF

ENGINEERING AND TECHNOLOGY VIJAYAPUR

DEPARTMENT OF ELECTRONICS
COMMUNICATION AND
ENGINEERING

A Mini Project report on

“VOICE ACTIVATED CONTROLED USING

NODE MCU AND ANDROID APPLICATION ”

Submitted in partial fulfillment for the award of degree of Bachelor of


Engineering in Electronics and Communication Engineering

Submitted by
1. HARSHITA. KAROSHI 2BL19EC032

2. NEHA VENKATESH YADAHALLI 2BL19EC046

3. BASAVARAJ S GURAV 2BL19EC018

4. ABHISHEK I JAINAPUR 2BL19EC002


Under the Guidance

Prof.VIJAYKUMAR.

SAJJANAR
VISVESVARAYA TECHNOLOGICAL
UNIVERSITY, BELGAUM

B.L.D.E. Association’s

V.P DR P.G HALAKATTI COLLEGE OF


ENGINEERING AND TECHNOLOGY VIJAYAPUR

DEPARTMENT OF ELECTRONICS AND


COMMUNICATION ENGINEERING

CERTIFICATE
This is Certified that the Mini project work entitled “Voice Activated Control
Using Node MCU and Android Application ” carried out by 1.Harshita.Karoshi,
2.Neha.V.Yadahalli, 3.Basavaraj.s.Gurav, 4.Abhishek.I.Jainapur, are bonafide
students of VP Dr P.G Halakatti College of Engineering and Technology,
Vijayapura in partial fulfillment for the award of Bachelor of Engineering in
Electronics and Communication Engineering of the Visvesvaraya Technological
University, Belgaum during the year 2021-2022. It is certified that all
corrections/suggestions indicated for internal assessment have been incorporated in the
report deposited in the departmental library. The Mini project report has been approved
as it satisfies the academic requirement in respect of project work prescribed for the
said degree.

GUIDE H.O PRINCIPAL


.D
Prof.VIJAYKUMA Dr. Dr. V. G.
R. SAJJANAR UMESH.DIXIT SANGAM
ABSTRACT

Home automation is a modern technology that helps to enjoy comfortable living


conditions inside the home. With home automation, data can be instantly collected and
passed between devices and analyzed simultaneously. By connecting the home appliances
with the internet, they can be easily accessed from anywhere. In the home automation
system, settings are feasible through smartphones or other remote-control devices. This
paper gives the design and implementation of a new voice- controlled home automation
system that uses Google Assistant for giving user’s voice commands as input. It is a low
cost and flexible home automation and monitoring system. It enables the user to use a home
automation system based on the Internet of Things (IoT). Home appliances like fans and
lights can be controlled. The fundamental purpose of this project is to control electronic
appliances based on the situational demands of the user.
INDEX

SIN CONTENTS PAGEN


O O

1 INTRODUCTION 1

2 LITERATURE REVIEW 2-4

3 BASIC COMPONENTS AND IOT 5-13

4 SOFTWARE REQUIREMENTS 14-20

5 METHODOLOGY 21-22

6 ADVANTAGES AND 23
APPLICATIONS

7 FUTURE SCOPE 24

8 CONCLUSION 25

9
REFERENCE 26
VOICE ACTIVATED CONTROL USING NODEMCU AND ANDROID APP

CHAPTER:1

1.1 INTRODUCTION
VOICE ACTIVATED CONTROL USING NODEMCU AND ANDROID APP

Internet of things (IoT) is the developing technology that deals with the connection
of the hardware devices and the software applications over the network. The important
application of IoT is Home Automation [1]. The home automation system gives immediate
access to control all the home appliances. The physically challenged and elderly people find
it difficult to reach the switchboard to turn on and off the appliances. So, a voice-controlled
home automation system can be useful for them to access the appliances by sitting in one
place [5]. This paper employs a smartphone for giving user commands by using the Google
assistant and NodeMCU microcontroller, with Wi-Fi (ESP8266) connectivity to gain access
and control the devices and appliances. It uses the Arduino IDE to write and upload
programs and Adafruit IO- a cloud service to handle multiple feeds of data.
VOICE ACTIVATED CONTROL USING NODEMCU AND ANDROID APP

CHAPTER 2:
2.1 LITERATURE REVIEW

“Smart Energy Efficient Home Automation System using IOT”

This paper presents a step-by-step procedure of a smart home automation controller. It uses IOT to
convert home appliances to smart and intelligent devices, with the help of design control. An
energy efficient system is designed that accesses the smart home remotely using IOT connectivity.
The proposed system mainly requires, Node MCU as the microcontroller unit, Android app to
interpret voice commands. The smart home is implemented with main controller unit that relates to
the 24-hour available Wi-Fi network. To ensure, that the Wi-Fi connection do not turn off, the
main controller is programmed to establish automatic connection with the available network and
connected to the auto power backup.

“Android Based Smart Security and Home Automation”,

This paper focuses on a system that provides features of Home Automation relying on IOT to
operate easily, in addition to that it includes a camera module and provides home security. The
android application basically converts Smartphone into a remote for all home appliances. Security
is achieved with motion sensors if movement is sensed at the entrance of the house; a notification
is sent that contains a photo of house entrance in real time. This notification will be received by the
owner of the house via internet such that app can trigger a notification. So, owner can raise an
alarm in case of any intrusion, or he/she can toggle the appliances like opening the door if the
person is a guest. The smart home consists of two modules. Home automation that consists of; fan
light and door controller, and security module that consists of; smoke sensor motion sensor and
camera module.

This paper proposes an optimization of home power consumption based on PLC (Power Line
Communication) for an easy to access home energy consumption. This also proposes a Zigbee, and
PLC based renewable energy gateway to monitor the energy generation of renewable energies.
ACS and DDEM algorithm are proposed for the design of an intelligent distribution of power
management system to make sure ongoing power supply of home networks. To provide efficient
power management the power supply models of home sensor network are classified groups viz.
main supply only, main supply and backup battery, rechargeable battery power and non-
rechargeable battery power. Devices with features are assigned to these groups. It targets to
establish real time processing scheme to address variable sensor network topologies.
VOICE ACTIVATED CONTROL USING NODEMCU AND ANDROID APP

“Enhance Smart Home Automation System based on Internet of Things”

This paper proposes a system that develops a model to reduce the computation overhead in
existing smart home solutions that uses various encryption technologies like AES, ECHD, hybrid,
etc. these solutions use intermediate gateway for connecting various sensor devices. The proposed
model provides a method for automation with sensor-based learning.The system bypasses local
gateway mentioned in existing system to provide better security for smart home devices and sensor
data and save computation overhead. The real time broker cloud is directly connected with smart
home and manages all incoming and outgoing request between users and devices. The main
purpose to use real time broker cloud is save time of cryptographic operations.

“A Low-Cost Home Automation System Using Wi-Fi based Wireless Sensor Network
Incorporating internet of Things”

This paper illustrates a methodology to provide a low-cost Home Automation System (HAS) using
Wireless Fidelity (Wi-Fi). This crystallizes the concept of internetworking of smart devices. A Wi-
Fi based Wireless Sensor Network (WSN) is designed for the purpose of monitoring and
controlling

environmental, safety and electrical parameters of a smart interconnected home. The different
sections of the HAS are temperature and humidity sensor, gas leakage warning system, fire alarm
system, burglar alarm system, rain sensing, switching and regulation of load & voltage and current
sensing. The primary requirement of HAS to monitor and control of devices is accomplished using
a Smartphone application. The application is developed using Android Studio based on JAVA
platform and User Interface of those are exemplified. The primary focus of the paper is to develop
a solution cost effective flexible in control of devices and implementing a wide range of sensors to
to capture various parameters.

“Voice Controlled Home Automation System using Natural Language Processing and
Internet of Things”

The paper focuses on the construction of a fully functional voice-based home automation system
that uses Internet of Things, Artificial Intelligence and Natural Language Processing (NLP) to
provide a cost-effective, efficient way to work together with home appliances using various
technologies such as GSM, NFC, etc. it implements a seamless integration of all the appliances to a
central console, i.e., the mobile device. The prototype uses NodeMCU. The NLP in this project
gives the user the freedom to interact with the home appliances with his/her own voice and normal
language rather than complicated computer commands. The appliances are connected to the mobile
device through an Arduino Board that establishes the concept of Internet of Things. The Arduino
Boards are interfaced with the appliances and programmed in such a way that they respond to
mobile inputs.
VOICE ACTIVATED CONTROL USING NODEMCU AND ANDROID APP

CHAPTER: 3

BASICS OF COMPONENTS AND IOT

3.1 IoT (internet of thing)


IOT (Internet of things) IOT as a term has evolved long way because of convergence of
multiple technologies, machine learning, embedded systems, and commodity sensors. IOT is a
system of interconnected devices assigned a UIDS, enabling data transfer and control of devices
over a network. It reduced the necessity of actual interaction to control a device. IOT is an
advanced automation and analytics system which exploits networking, sensing, big data, and
artificial intelligence technology to deliver complete systems for a product or service. These
systems allow greater transparency, control, and performance when applied to any industry or
system.

3.1.1 Features of

IOT Intelligence

IOT comes with the combination of algorithms and computation, software & hardware that
makes it smart. Ambient intelligence in IOT enhances its capabilities which facilitate the things to
respond in an intelligent way to a particular situation and supports them in carrying out specific
tasks. Despite all the popularity of smart technologies, intelligence in IOT is only concerned as a
means of interaction between devices, while user and device interaction are achieved by standard
input methods and graphical user interface

Connectivity

empowers the Internet of Things by bringing together everyday objects. Connectivity of these
objects is pivotal because simple object level interactions contribute towards collective intelligence
in the IOT network. It enables network accessibility and compatibility in the things. With this
connectivity, new market opportunities for the Internet of things can be created by the networking
of smart things and applications,

Sensing

IOT wouldn’t be possible without sensors that will detect or measure any changes in the
environment to generate data that can report on their status or even interact with the environment.
Sensing technologies provide the means to create capabilities that reflect a true awareness of the
physical world and the people in it. The sensing information is simply the analog input from the
physical world, but it can provide a rich understanding of our complex world
VOICE ACTIVATED CONTROL USING NODEMCU AND ANDROID APP

Security

IOT devices are naturally vulnerable to security threats. As we gain efficiencies, novel
experiences, and other benefits from the IOT, it would be a mistake to forget about security
concerns associated with it. There is a high level of transparency and privacy issues with IOT. It is
important to secure the endpoints, the networks, and the data that is transferred across all of it
means creating a security paradigm.

3.1.2 Advantages of

IOT Communication

IOT encourages the communication between devices, also famously known as Machine-to-
Machine (M2M) communication. Because of this, the physical devices are able to stay connected
and hence the total transparency is available with lesser inefficiencies and greater quality.

Automation and Control

Due to physical objects getting connected and controlled digitally and centrally with wireless
infrastructure, there is a large amount of automation and control in the workings. Without human
intervention, the machines are able to communicate with each other leading to faster and timely
output.

Information

It is obvious that having more information helps making better decisions. Whether it is mundane
decisions as needing to know what to buy at the grocery store or if your company has enough
widgets and supplies, knowledge is power and more knowledge is better.

Monitor

The second most obvious advantage of IOT is monitoring. Knowing the exact quantity of supplies
or the air quality in your home, can further provide more information that could not have
previously been collected easily. For instance, knowing that you are low on milk or printer ink
could save you another trip to the store soon. Furthermore, monitoring the expiration of products
can and will improve safety.

Time

As hinted in the previous examples, the amount of time saved because of IOT could be quite
large. And in today’s modern life, we all could use more time.

Money

The biggest advantage of IOT is saving money. If the price of the tagging and monitoring
equipment is less than the amount of money saved, then the Internet of Things will be very widely
adopted. IOT fundamentally proves to be very helpful to people in their daily routines by making
the appliances communicate to each other in an effective manner thereby saving and conserving
energy and cost.
VOICE ACTIVATED CONTROL USING NODEMCU AND ANDROID APP

Allowing the data to be communicated and shared between devices and then translating it into our
required way, it makes our systems efficient.

Efficient and Saves Time

The machine-to-machine interaction provides better efficiency, hence; accurate results can be
obtained fast. This results in saving valuable time. Instead of repeating the same tasks every day, it
enables people to do other creative jobs.

Better Quality of Life

All the applications of this technology culminate in increased comfort, convenience, and
better management, thereby improving the quality of life.

3.1.3 Disadvantages of
IOT Compatibility
Currently, there is no international standard of compatibility for the tagging and monitoring
equipment. I believe this disadvantage is the easiest to overcome. The manufacturing companies of
these equipment just need to agree to a standard, such as Bluetooth, USB, etc. This is nothing new
or innovative needed.

Complexity

As with all complex systems, there are more opportunities of failure. With the Internet of Things,
failures could skyrocket. For instance, let’s say that both you and your spouse each get a message
saying that your milk has expired, and both of you stop at a store on your way home, and you both
purchase milk. As a result, you and your spouse have purchased twice the amount that you both
need. Or maybe a bug in the software ends up automatically ordering a new ink cartridge for your
printer every hour for a few days, or at least after each power failure, when you only need a single
replacement.

Privacy/Security

With all this IOT data being transmitted, the risk of losing privacy increases. For instance, how
well encrypted will the data be kept and transmitted with? Do you want your neighbors or
employers to know what medications that you are taking or your financial situation?

Safety

Imagine if a notorious hacker changes your prescription. Or if a store automatically ships you an
equivalent product that you are allergic to, or a flavor that you do not like, or a product that is
already expired. As a result, safety is ultimately in the hands of the consumer to verify any and all
automation.
VOICE ACTIVATED CONTROL USING NODEMCU AND ANDROID APP

As all the household appliances, industrial machinery, public sector services like water supply and
transport, and many other devices all are connected to the Internet, a lot of information is available
on it. This information is prone to attack by hackers. It would be very disastrous if private and
confidential information is accessed by unauthorized intruders.
VOICE ACTIVATED CONTROL USING NODEMCU AND ANDROID APP

3.2 NODE MCU


NodeMCU (Node Microcontroller Unit) is a low-cost open source IOT platform. It initially
included firmware which runs on the ESP8266 Wi-Fi SoC from Espressif Systems, and hardware
which was based on the ESP-12 module. Later, support for the ESP32 32-bit MCU was added.

Figure 1. Node MCU Development Board

NodeMCU is an open-source firmware for which open-source prototyping board designs


are available. The name “NodeMCU” combines “node” and “MCU” (micro-controller unit). The
term “NodeMCU” strictly speaking refers to the firmware rather than the associated development
kits. Both the firmware and prototyping board designs are open source. The firmware uses the Lua
scripting language. The firmware is based on the eLua project and built on the Espressif Non-OS
SDK for ESP8266.

It uses many open-source projects, such as luacjson and SPIFFS. Due to resource constraints, users
need to select the modules relevant for their project and build a firmware tailored to their needs.
Support for the 32-bit ESP32 has also been implemented.

The prototyping hardware typically used is a circuit board functioning as a dual in-line package
(DIP) which integrates a USB controller with a smaller surface-mounted board containing the
MCU and antenna. The choice of the DIP format allows for easy prototyping on breadboards.

The design was initially based on the ESP-12 module of the ESP8266, which is a Wi-Fi SoC
integrated with a Tensilica Xtensa LX106 core, widely used in IOT applications.
VOICE ACTIVATED CONTROL USING NODEMCU AND ANDROID APP

3.21 Pin Configuration of Node MCU Development Board

This module provides an access to the GPIO subsystem. All the access is based on I/O index
number of Node MCU kits, not the internal GPIO pins.

The ESP8266 Node MCU has total 30 pins that interface it to the outside world. The pins
are grouped by their functionality as:

Power pins: There are four power pins viz. one VIN pin & three 3.3V pins. The VIN pin can be
used to directly supply the ESP8266 and its peripherals if you have a regulated 5V voltage source.
The 3.3V pins are the output of an on-board voltage regulator. These pins can be used to supply
power to external components.

GND: is a ground pin of ESP8266 Node MCU development board.

12 IC Pins: are used to hook up all sorts of I2C sensors and peripherals in your project. Both I2C
Master and I2C Slave are supported. I2C interface functionality can be realized programmatically,
and the clock frequency is 100 kHz at a maximum. It should be noted that I2C clock frequency
should be higher than the slowest clock frequency of the slave device.

GPIO Pins: ESP8266 Node MCU has 17 GPIO pins which can be assigned to various functions
such as I2C, I2S, UART, PWM, IR Remote Control, LED Light, and Button programmatically.
Each digital enabled GPIO can be configured to internal pull-up or pull-down or set to high
impedance. When configured as an input, it can also be set to edge-trigger or level-trigger to
generate CPU interrupts.
VOICE ACTIVATED CONTROL USING NODEMCU AND ANDROID APP

ADC Channel: The Node MCU is embedded with a 10-bit precision SAR ADC. The two
functions can be implemented using ADC viz. Testing power supply voltage of VDD3P3 pin and
testing input voltage of TOUT pin. However, they cannot be implemented at the same time.

UART Pins: ESP8266 Node MCU has 2 UART interfaces, i.e. UART0 and UART1, which
provide asynchronous communication (RS232 and RS485), and can communicate at up to 4.5
Mbps. UART0 (TXD0, RXD0, RST0 & CTS0 pins) can be used for communication. It supports
fluid control. However, UART1 (TXD1 pin) features only data transmit signal so, it is usually used
for printing log.

SPI Pins: ESP8266 features two SPIs (SPI and HSPI) in slave and master modes. These SPIs also
support the following general-purpose

SPI features:

● 4 timing modes of the SPI format transfer

● Up to 80 MHz and the divided clocks of 80 MHz

● Up to 64-Byte FIFO

SDIO Pins: ESP8266 features Secure Digital Input/output Interface (SDIO) which is used to
directly interface SD cards. 4-bit 25 MHz SDIO v1.1 and 4-bit 50 MHz SDIO v2.0 are supported.
PWM Pins: The board has 4 channels of Pulse Width Modulation (PWM). The PWM output can
be implemented programmatically and used for driving digital motors and LEDs. PWM frequency
range is adjustable from 1000 up to 10000 us, i.e., between 100 Hz and 1 kHz.

Control Pins: are used to control ESP8266. These pins include Chip Enable pin (EN), Reset pin
(RST) and WAKE pin

. ∙ EN pin – The ESP8266 chip is enabled when EN pin is pulled HIGH. When pulled LOW the
chip works at minimum power.

● RST pin – RST pin is used to reset the ESP8266 chip.

● WAKE pin – Wake pin is used to wake the chip from deep-sleep.
VOICE ACTIVATED CONTROL USING NODEMCU AND ANDROID APP

3.21.1 Installation of Node MCU

Mostly these days devices download and install drivers on their own, automatically. Windows
doesn’t know how to talk to the USB driver on the Node MCU so it can’t figure out that the board
is a Node MCU and proceed normally. Node MCU Amica is an ESP8266 Wi-Fi module-based
development board. It has got Micro USB slot that can directly be connected to the computer or
other USB host devices. Ti has got 15X2 header pins and a Micro USB slot, the headers can be
mounted on a breadboard and Micro USB slot is to establish connection to USB host device. It has
CP2120 USB to serial converter. To install CP2120 (USB to serial converter), user is needed to
download the driver for the same. Once user downloads drivers as per its respective operating
system, the system establishes connection to Node MCU. The user needs to node down the COM
post allotted to newly connected USB device (Node MCU) from device manager of the system.
This com port number will be required while using Node MCU Amica. As the CP2120 driver has
been installed, the Node MCU can be programmed using Arduino IDE software by coding in
embedded C. this requires ESP8266 board installation in Arduino IDE from board manager and
assigning communication port.

Advantages of Node MCU

● Low cost, the Node MCU is less costly compared to any other IOT based device.

● Node MCU has Arduino Like hardware I/O. It is becoming very popular in these days that
Arduino IDE has extended their software to work in the field of ESP 8266 Field module version.

● Node MCU has easily configurable network API.

● Integrated support for Wi-Fi network: ESP 8266 is incorporated in Node MCU, which is an
easily accessible Wi-Fi module.

● Reduced size of board.

● Low power consumption.

Disadvantages of Node MCU

● The operation of the circuit depends on the working internet connection. If the working internet
connection is not available, then it will not run.
+
● Node MCU also depends on the free server provided by the third party, if the free server is not
working then it will not run.
VOICE ACTIVATED CONTROL USING NODEMCU AND ANDROID APP
VOICE ACTIVATED CONTROL USING NODEMCU AND ANDROID APP

CHAPTER:4

SOFTWARE
REQUREMENTS
4.1 ARDUINO IDE:
Arduino was born as an open-source project and has grown over the years thanks to a
vibrant community that has contributed in many ways; making it an open framework that is the de
facto standard for thousands of Arduinos and non-Arduino hardware products. We believe in open
knowledge, standardization, and interoperability - an incredibly large amount of people from all
over the world who share these principles have worked over these 16 years on code contributions,
translations, documentation, tutorials, third-party libraries and cores. Supporting this ecosystem is
our top priority.

The Arduino Integrated Development Environment - or Arduino Software (IDE) - contains a text
editor for writing code, a message area, a text console, a toolbar with buttons for common
functions and a series of menus. It connects to the Arduino hardware to upload programs and
communicate with them. Programs written using Arduino Software (IDE) are called sketches.
These sketches are written in the text editor and are saved with the file extension .ino.

4.1.1 Installation of Arduino IDE and Connecting ESP8266 to


PC

Step 1: Installing Arduino IDE Software:


Install Arduino IDE software from the link http://www.arduino.cc/en/main/software

Step 2: Arduino IDE Icon:

After installing Arduino IDE icon is created on the Desktop as show in the figure
VOICE ACTIVATED CONTROL USING NODEMCU AND ANDROID APP

Step 3: Opening Arduino IDE:

Click on the Icon


to open the Arduino
window as shown in the
figure .

Step 4:

Preferences:

Open the File and click on the Preferences as shown in the figure

Step 5: Adding ESP8266 Board Manager:


VOICE ACTIVATED CONTROL USING NODEMCU AND ANDROID APP

In the Additional Boards Manager enter below URL.


http://arduino.esp8266.com/stable/package_esp8266com_index.json
As highlighted in the figure and enter OK.

Step 6: Selecting Board:

Now open the tools in that select Board: “Arduino/Genuino Uno” and click on the
Boards Manager as shown in the figure
VOICE ACTIVATED CONTROL USING NODEMCU AND ANDROID APP

Step 7: ESP8266 Board Package:

The Boards Manager window opens, scroll the window page to bottom till you see
the module with the name ESP8266. Once we get it, select that module and select version
and click on the Install button. When it is installed, it shows Installed in the module as
shown in the figure and then close the window.

Step 8: Selecting ESP8266 Arduino Board:


VOICE ACTIVATED CONTROL USING NODEMCU AND ANDROID APP

To run the esp8266 with Arduino we have to select the Board: “Arduino/Genuino
Uno” and then change it to NodeMCU 1.0 (ESP-12E Module) or other esp8266 modules
depending on what you have .This can be done by scrolling down, as shown in the figure

Step 9: Connecting ESP8266 to the PC:

Now Let’s connect the ESP8266 module to your computer through USB cable as shown in
the figure. When module is connected to the USB, COM port is detected eg: here COM5 is
shown in the figure.

Step 10: Selecting Example Program in Arduino IDE:

Now open the File tab in that go to the Examples in that enter into Built-in example, go to 01.
Basics and click on Blink to open the window
VOICE ACTIVATED CONTROL USING NODEMCU AND ANDROID APP

Step 11: Selecting COM Port:

The Blink example will open on a new window, click on tools to select the port: “COM” based on
which esp8266 module is connected to your respected COM port of the computer. To select COM
port, refer previous steps.

Step 12: Uploading the Program to ESP8266 Module:


VOICE ACTIVATED CONTROL USING NODEMCU AND ANDROID APP

Step 13: Adding Libraries:


VOICE ACTIVATED CONTROL USING NODEMCU AND ANDROID APP

CHAPTER:5
METHODOLOGY
VOICE ACTIVATED CONTROL USING NODEMCU AND ANDROID APP

CIRCUIT DIAGRAM:

WORKING AND TESTING:

In this classroom Automation System, we will control 4 appliances as Tv, Fan, Bulb, Motor, . The
Wi-Fi Module NodeMCU ESP8266 will Receive commands from the smartphone wirelessly
through the internet. To encode the ON/OFF signal and send it to Server and to ESP8266 Board we
need the best IoT Platform. So, we chose ARDUINO IDE as no other application can be better than
this one. This project requires internet connectivity & can’t work without Internet connection

MAIN FEATURES OF THE PROTOTYPE

The features of the developed prototype are:

● The prototype establishes a wireless remote switching system of classroom


appliances.

● The prototype uses Wi-Fi to establish wireless control, which gives an indoor range to
about 150 feet.

●The command to switch on and off an appliance can be given from radio buttons on the
application from one’s smartphone.

● There is also a provision developed to use voice commands on smartphone to remotely


switch home appliances

● Any device capable of Wi-Fi connectivity can be used to control the prototype.

● The control over classroom appliances is obtained over secure connections, by SSL over
TCP, SSH.

● Simple design easy to integrate into a verity of appliances and extend on further
range.

● Displays the status of each appliance on the application in smartphone

● Cost effective
VOICE ACTIVATED CONTROL USING NODEMCU AND ANDROID APP

PROGRAM CODE:
#include <ESP8266WiFi.h>
WiFiClient client;
WiFiServer server (80);
const char* ssid = "YOUR SSID";
const char* password = "YOUR PASSWORD";

void setup ()
{
Serial.begin(115200);
connectWiFi ();
server. begin ();
}

void loop ()
{
}

/* connecting WiFi */
void connectWiFi ()
{
Serial.println("Connecting to WIFI");
WiFi.begin(ssid, password);
while ((! (WiFi.status() == WL_CONNECTED)))
{
delay (300);
Serial.print("..");
}
Serial.println("");
Serial.println("WiFi connected");
Serial.println("NodeMCU Local IP is: ");
Serial.print((WiFi.localIP()));
}
VOICE ACTIVATED CONTROL USING NODEMCU AND ANDROID APP

CHAPTER: 6
ADVANTAGES AND APPICATIONS
 Advantages:

 Can reduce human effort.


 Smarter processing and services.
 Can be implemented at any device and automated.
 Alert system is quick in case of an emergency.
 Helps old age people to control the remote devices.
 Simple interface.

 Applications:
 School.
 Collage.
 Home, Industry etc.

FUTURE SCOPE

The next phase for the classroom automation market will occur based on a few key improvements
in the technology available in automation, such as improvements in wireless automation solutions
as well as lowering of price points as the market begins to accept home automaton usage in larger
volumes. Some trends that we foresee for this phase of the industry are big companies like Philips,
Siemens & Schneider will eventually bring out mass-market automation products with appealing
user interface but at a lower price point today, and more people will be able to afford the products.
VOICE ACTIVATED CONTROL USING NODEMCU AND ANDROID APP

RESULT
The experimental model was made according to the circuit diagram and the results were as
expected. The home appliances could be remotely switched over Wi-Fi network. the switch mode
control methodologies were successfully achieved. The android application was also successful in
displaying the status of every application.
VOICE ACTIVATED CONTROL USING NODEMCU AND ANDROID APP

CONCLUSION

It is evident from this project work that an individual control classroom automation system
can be cheaply made from low-cost locally available components and can be used to control
multifarious classroom appliances ranging from the security lamps, the television to the air
conditioning system and even the entire classroom lighting system. And better still, the
components required are so small and few that they can be packaged into a small inconspicuous
container. The designed classroom automation system was tested a few times and certified to
control different home appliances used in the lighting system, air conditioning system, projectors,
computer systems and many more. Hence, this system is scalable and flexible. IoT Technology will
become more efficient and everything can be controlled from one place. The IoT devices will work
automatically and there is no need for human intervention. Home automation is flexible to
accommodate new devices and appliances. A user can control the home appliances even if he/she is
far away from home. In the future, the security system can also be enhanced by adding PIR
sensors. It is known that all the homes will be equipped with such IoT devices which will make the
daily lives and work of the users easier, faster and more accurate.
VOICE ACTIVATED CONTROL USING NODEMCU AND ANDROID APP

REFERENCE
● Wenbo, Yan, Wang Quanyu, and GaoZhenwei. "Smart home implementation based on Internet
and Wi-Fi technology." Control Conference (CCC), 2015 34th Chinese. IEEE, 2015.

● Singh, Navab, et al. "Remotely controlled home automation system. “Advances in Engineering
and Technology Research (ICAETR), 2014 International Conference on. IEEE, 2014.

● Pavithra D, IoT based Monitoring and Control System for Home Automation, Proceedings of
2015 Global Conference on Communication Technologies (GCCT 2015).

● Saurabh Singh, Harjeet Matharu and Dr. Sangeeta Mishra, “Internet Of Things (Iot) Based
Home Automation System”, November, 2017, DOI: 10.5281/zenodo.1049436.

● Purushottam, and Chandan Kumar Dubey, “Automation by Voice Commands”, Volume 8,


Issue V, MAY 2018.

● Aayush Agarwal, Anshul Sharma, Asim Saket Samad and S Babeetha, “UJALA- Home
Automation System Using Google Assistant”, Vol-4 Issue-2 2018.

● Manish Prakash Gupta, “Google Assistant Controlled Home Automation”, Volume: 05


Issue:

● 05 May2018. 5. Abdul Aziz Md, K Harshasri and K Shanmukharao, “Cost-Effective Voice


Controlled Home Automation Using IoT “, Vol 4, Issue 3, March 2017.

● https://www.digitaltrends.com/mobile/what-isgoogle-assistant/

● MORE REFERENCES

● https://github.com/esp8266/Arduino

● https://github.com/armtronix/Wifi-Triac-SSR/tree/master/
Arduino_Code/SSR/SSR_WiFiSwitch_PIR_Sensor

**********
VOICE ACTIVATED CONTROL USING NODEMCU AND ANDROID APP

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy