A
Mini Project Report
on
“Voice Controlled assistant”
Submitted to Visvesvaraya Technological University,Belagavi in Partial Fulfillment of the
Requirements for the award of Degree of
BACHELOR OF
ENGINEERING IN
MECHANICAL ENGINEERING
By
Syed Ikram ullah 3KB16ME088
Naveed ilyas 3KB16ME061
Shaik md majid 3KB16ME071
Yousuf Khan 3KB17ME053
Under the guidance of
PROF.SAMED SAEED
B.E,M.E(Machine Design)
H.O.D.
PROF. SARVOTTAM A. SATALKAR
B.E, M.E (Thermal Power Engg), PGDBM
DEPARTMENT OF MECHANICAL ENGINEERING
KHAJA BANDA NAWAZ COLLEGE OF ENGINEERING, KALABURAGI - 585104
2020-2021
Khaja Education Society’s
KHAJA BANDA NAWAZ COLLEGE OF
ENGINEERING KALABURAGI-585104
DEPARTMENT OF MECHANICAL ENGINEERING
CERTIFICATE
Certified that the Mini Project (18MEMP68)entitled “Voice controlled
assistant” carried out by Syed Ikram Ullah(3KB16ME088), Naveed ilyas(3KB16ME061),
Shaik md majid(3KB16ME071), Yosuf Khan(3KB17ME053) bonafide students of KHAJA
BANDA NAWAZ COLLEGE OF ENGINEERING, KALABURAGI in partial fulfillment for
the award of BACHELOR OF ENGINEERING in MECHANICAL ENGINEERING of the
Visvesvaraya Technological University, Belagavi during the academic year 2020-21.
MINI PROJECT
GUIDE H.O.D.
COORDINATOR
DR. VISHALDATT V KOHIR PROF.SAMED SAEED PROF. S. A. SATALKAR
B.E, M.E (Thermal Power Engg),
B.E, M.Tech (Production Engg.), Ph.D B.E,M.E(Machine Design) PGDBM
Dr.MOHAMMED NASIR ALI
B.E,M.Tech(Machine Design),PhD
Name of the Examiners Signature with Date
1.
2.
INTRODUCTION
In today’s world, Automation is one of the most trending topics for research and Development. Through this
project, you will develop a system that can control appliances we use every day like bulb. by your voice itself and
you can switch that bulb on and off with your voice commands, we can access them through our mobile also
Everything in this world is becoming controllable by your mobile as technology is changing day by day. A similar
tech which is going to change world in terms of automation is Voice control. Through this project you are going to
build a unique light bulb which can be controlled by your Voice commands.
OBJECTIVES OF MINI PROJECT
1. To Develop a home automation system giving user complete control over all voice controllable aspects of
his or her home
2. To Control multiple devices/ appliances using one android device
3. To control multiple devices/ appliances using one android device
4. To provide convenient and user friendly system
5. To deliver benefit of customization as per suitability
ADVANTAGES
1. Functionality
2. Environmentally Friendly
3. Customization
4. Insurance Benefits
5. Increase in convenience
6. Full control over all smart appliances with only one device
7. Time savings
8. Higher quality of life
DISADVANTAGES
1. Privacy
2. Bandwidth
3. Internet security
4. Power surges
5. Maintenance And repair issues
COST OF PROJECT: COMPONENTS USED PRICE (in Rs.)
1. Node MCU 338
2. Power adapter 175
3. Jumper wires 19
4. Relay module 190
5. Google assistant device (optional) 2000
6. Total 2722
NodeMCU ESP8266 Specifications & Features
Operating Voltage: 3.3V
Microcontroller: Tensilica 32-bit
RISC CPU Xtensa LX106
Input Voltage: 7-12V Digital
I/O Pins (DIO): 16 Analog
Input Pins (ADC): 1 UARTs: 1
SPIs: 1
I2Cs: 1
Flash Memory: 4 MB
SRAM: 64 KB
Clock Speed: 80 MHz
USB-TTL based on CP2102 is included onboard, Enabling Plug n Play PCB
Antenna
Small Sized module to fit smartly inside your IoT projects
NodeMCU is a low-cost open source IoT platform.
It initially included firmware which runs on the ESP8266 Wi- Fi SoC from
Espressif Systems
Hardware which was based on the ESP-12 module
Relay Module
Relay Module is a relay interface board Controlled
dircectly by mircrocontrollers such as Arduino
Uses a low level triggered control signal (3.3-5VDC) to control the relay.
Specification :
Relay Module; Model : JQC-3FF-S-Z, 2 Channel Voltage to
operate: 5V D
Color : Blue Relays on a black PCB Load :
10A, AC 250V/ 15A, 125V
Jumper Wire
Jumper wire is an electrical wire, also known as Dupont wire or cable
Normally used to interconnect the components of a breadboard or other
prototype or test circuit, internally or with other equipment or components,
without soldering
Specifications:
Male header contacts on both ends.
Standard 0.1" (2.54mm) spacing when placed next to each other. Length: 200mm
(7.87")a
Wire Colors: brown, red, orange, yellow, green, blue, purple, grey, white,
black (each cable includes 4 of each color)
Fits breadboard., Weight: 31g(1.1oz)
Power adapter
A power supply for electronic devices. Also called an "AC adapter" or "charger,"
power adapters plug into a wall outlet and convert AC to a single DC voltage
Specifications:-
Input - 100-240 VAC 50/60Hz
Category - Switch Mode Power Adaptor (SMPS) Output Type
- DC
Output - 5Volts
IoT project, We have shown how to make an IoT-based Smart Home with
Google Assistant & Alexa using NodeMCU ESP8266 to control 2 home
appliances with voice commands.
This complete Home Automation system has the following features:
Control appliances with Google Assistant
Control appliances with Alexa
Control appliances manually with switches
If the NodeMCU is connected with the WiFi, then we can control the home
appliances from Google Home App and also from the manual switches.
We can also ask Google Assistant to turn on and off the appliances.
We can also control the home appliances from Amazon Alexa App if
the NodeMCU is connected with the WiFi.
We can also ask Alexa to turn on and off the appliances.
Create an Account in Sinric Pro
We have to create an account in Snric Pro.
Then log in to Sinric Pro Account.
We will get an APP KEY and APP SECRET for the account, which will be required in the
code.
Add Room in Sinric Pro account
After that add a room and give a nickname to that room (Ex: Living Room)
Add Devices in Sinric Pro account
Then Add devices one by one and give the nickname for each device.
Sinric will assign a unique device ID for each device.
Here, I have used the free Sinric Pro account, so I can add a maximum of 3
devices for free.
Program NodeMCU Using Arduino IDE
First, download the code & install all the required libraries mention in the
code.
Required Libraries:
Sinric Pro
Then enter the WiFi credentials
#define WIFI_SSID "YOUR-WIFI-NAME"
#define WIFI_PASS "YOUR-WIFI-PASSWORD"
Enter the APP KEY and APP SECRET from the Sinric
pro account Credential menu.
#define APP_KEY "YOUR-APP-KEY"
#define APP_SECRET "YOUR-APP-SECRET"
Enter the Device IDs from the Sinric pro account Devices menu.
#define device_ID_1 "SWITCH_ID_NO_1_HERE"
#define device_ID_2 "SWITCH_ID_NO_2_HERE"
#define device_ID_3 "SWITCH_ID_NO_3_HERE"
#define device_ID_4 "SWITCH_ID_NO_4_HERE"
After that select the NodeMCU 1.0 (ESP-12E Module) board and the
PORT. Then click on the upload button
Setup the Google Home App
First, download and install the Google Home
then follow the steps to create Home in Google Home app
Tap on the "+" icon (upper left corner).
Tap on Create new home.
Enter the Home nickname and address.
Then click on Continue.
The Home is created. Now again tap on the "+" icon to add devices.
Connect Sinric Pro With Google Home App | Add Devices
After creating the Home in the Google Home app, you can connect the Sinric Pro with the
Google Home app
Tap on the "+" icon, then select Set up device.
Tap on Works with Google.
Search for Sinric Pro, then select on Sinric Pro.
Enter the email id and password used for the Sinric account,
Then tap on Sign in.
Thus, all the devices from Sinric Pro will be added to Google Home Account
After all these steps
Turn on the supply.
Now you can control your home appliances in a smart way.