On Voice Controlled Home Automation

You might also like

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 22

University Institute of Engineering and Technology

Panjab University, Chandigarh

MID TERM EVALUATION

"Arduino based voice controlled home automation with gas leakage detection and
​Presented By:
water level control"
1. Ivin Suresh-UE204038
2. Ankit Chauhan-UE204011
3. Himanshu Raj-UE204037 Under The Guidance of:
4. Gagan Arya-UE204029 Dr. Sarpreet Kaur
5. Harsh Kumar-UE204034
Introduction
Home Automation which would give the facility of controlling tube lights, fans and other electrical appliances at
home using a remote control. We have come up with a new system called Arduino based home automation using
Bluetooth. This system is super-cost effective and this project helps the user to control all the electronic devices
using smartphone.

PROBLEM STATEMENT

While people are pursuing ever-growing high quality of their lives today. This leads to more and more facilities and
home appliances poured into their buildings. How to control and manage these versatile facilities and appliances in a
house.

Usually conventional wall switches are located in different corners of a house and, thus necessitate the need of
manual operations like pressing to turn the loads on or off. It becomes very difficult for the elderly or physically
handicapped people to operate them. How to help them?
Literature Review
• New and improved sensors: Researchers have developed new sensors that are more accurate, reliable, and
cost-effective than existing sensors. For example, some researchers have developed optical gas sensors that
can detect a wider range of gases and that are less susceptible to noise and interference
• More sophisticated algorithms: Researchers have developed more sophisticated algorithms for gas leakage
detection and water level control. These algorithms use machine learning and statistical techniques to
improve accuracy and reliability
• More user-friendly and accessible systems: Researchers have developed home automation systems that are
easier to install, use, and maintain. These systems are also more affordable than existing systems

• Integration with IoT platforms: Researchers are integrating home automation systems with IoT platforms
such as Amazon Web Services
• Voice Powered Emergency System: These systems can automatically call for help if a gas leak or water
overflow is detected.
• Preventive Maintenance Systems: Development of voice-powered preventive maintenance systems. These
systems can remind users to test their gas leak detectors and water level sensors regularly.
• Voice Assistants: Development of voice assistants that can understand and respond to natural language
commands. For example, Amazon Alexa and Google Assistant can now understand and respond to commands
such as "Alexa, turn on the gas leak detector" and "Google, check the water level in the tank
Research Gap
Developing a gas leakage detection system that can be integrated with existing smart home systems: This
would allow people to use their existing smart home devices to monitor for gas leaks and to take appropriate action if
a leak is detected

Developing a gas leakage detection system that is more accurate and reliable: Existing gas leakage detection
systems can sometimes give false alarms or fail to detect real gas leaks. Developing a more accurate and reliable
system would reduce the number of false alarms and ensure that real gas leaks are detected quickly and accurately
Objective
1. Integrate the Bluetooth module with the Arduino Uno to control the home automation system

2. Develop a gas leakage detection system using the MQ2 gas sensor and Arduino Uno

3. Turn on exhaust fan when gas leak starts

4. Develop a water level control system using the ultrasonic sensor and Arduino Uno

5. Develop code to alert the user in case of an emergency using the LED display and other actuators
Hardware Requirements
• Arduino Uno

• Bluetooth Module

• Relay Module

• Ultrasonic Sensor

• MQ2 Gas Sensor

• Led Display

• Servomotor
Arduino Uno
• Arduino Uno is an open-source microcontroller board
having 14 digital input/output pins, 6 analog inputs, a 16
Mhz quartz crystal.
• It supports a variety of electronic components, sensors,
and shields.
• Arduino Uno is the go-to choice for prototyping and do-it-
yourself (DIY) projects, enabling rapid development and
testing of electronic ideas.
• Its compact size and low cost make it suitable for various
applications, from robotics to home automation.
Bluetooth Module
• The HC-05 Bluetooth module is a small, low-cost module
that allows you to add wireless serial communication.

• It is based on the Bluetooth Serial Port Profile (SPP),


which means that it can communicate with any other
device that supports SPP, such as a smartphone, laptop,
or another microcontroller
Relay Module
• A relay module is a device that allows you to control high-
voltage or high-current devices with a low-voltage or low-
current signal
• It is essentially a switch that is controlled by an
electromagnet. When the electromagnet is energized, the
relay contacts close, allowing current to flow through the
device. When the electromagnet is de-energized, the relay
contacts open, breaking the circuit
• The coil voltage is the voltage that is required to operate
the relay. Typical coil voltages for relay modules range
from 3.3 V to 12 V.
Ultrasonic Sensor
• An ultrasonic sensor is a device that measures the
distance to an object by emitting ultrasonic sound waves
and then measuring the time it takes for the waves to
return
• The operating frequency is the frequency of the ultrasonic
sound waves that the sensor emits. Typical operating
frequencies for ultrasonic sensors range from 20 kHz to 40
kHz.
• The power supply is the voltage that the ultrasonic sensor
requires to operate. Typical power supplies for ultrasonic
sensors range from 3.3 V to 5 V
MQ2 Gas Sensor
• The MQ-2 gas sensor is a semiconductor gas sensor,
which means that it uses a semiconductor material to
detect gases. Semiconductor materials are materials that
have electrical conductivity that can be changed by the
presence of certain substances. In the case of the MQ-2
gas sensor, the semiconductor material is tin dioxide
(SnO2)
• The MQ-2 gas sensor works by detecting a change in
electrical conductivity of the tin dioxide (SnO2)
semiconductor material
• The MQ-2 gas sensor is a relatively low-cost sensor and is
easy to use. It can be connected to a microcontroller or
other device using a simple analog signal
LED Display
• A device that uses light-emitting diodes (LEDs) to display
images, text, and other visual information.
• LEDs are small, energy-efficient, and long-lasting, making
them ideal for display applications.
• LED displays are available in a variety of sizes and
resolutions, and can be used for indoor and outdoor
applications.
• Common applications for LED displays include digital
signage, advertising, event displays, and scoreboards
Servometer
• A servomotor is a rotary actuator that can be precisely
positioned. It is controlled by a pulse-width modulated
(PWM) signal, which determines the angle of rotation of
the shaft
• Servomotors typically operate on a voltage of 5V or 12V.

• The current consumption of a servomotor depends on


the size and torque rating of the motor. Typical current
consumption ranges from 100mA to 1A
Software Used
1.Proteus 8

Proteus is a popular software tool used for electronic circuit


design, simulation, and PCB (Printed Circuit Board) layout.

2.Arduino IDE

The Arduino Integrated Development Environment (IDE) is an


open-source software application that is used to program and
develop applications for Arduino microcontroller board

3.MIT App Inventor

MIT App Inventor is a visual programming environment that


allows users to create Android apps without writing any code. It is
developed by Google and the Massachusetts Institute of
Technology (MIT)
Block Diagram
Working
• When the user makes a voice command on the app the reciever of Bluetooth module HC-05 receives it and
send to the transmitter of Arduino
• The Arduino Uno is the main controller of the system. It receives voice commands from the user through the
Bluetooth module and it sends a signal to the relay module to control the home appliances. For example, if
the user says "Turn on the lights," the Arduino Uno will send a signal to the relay module controlling the lights
to turn them on
• Relay module allows the Arduino Uno to control high-voltage devices

• The MQ2 gas sensor detects the presence of LPG gas leakage in the air and sends a signal to the Arduino Uno
when gas is detected. The Arduino Uno then turns on the relay module to activate the exhaust fan and
servometer to turn off regulator
• The ultrasonic sensor detects the water level in the tank and sends a signal to the Arduino Uno. The Arduino
Uno then controls the motor to turn on or off the water pump to maintain the water level at the desired level

• The LED display displays the status of the system, such as the gas leakage status, water level, and whether the
gas valve or water valve is ON or OFF
Work Done Till Date

Successfully implemented the core functionality of our project which involves smart voice control of load , gas
leakage detection and water level control on proteus software

Developed a app for voice control of load using MIT App Inventor
Simulation Result
Work To Be Done
Implementation of a exhaust fan which will be automatically turn on when gas leakage will start

Modification of code to automate exhaust fan and gas regulator control

Hardware implementation and testing


References
• Garg, R., Kumar, P., Tomar, S., Deep, V., and Mehrotra, D. "Voice Assisted Smart Home Automation System." 3rd
Smart Cities Symposium (SCS 2020), 2021, pp. 187-191.
• Design and Implementation of a Home Automation System for Gas Leakage and Water Level Monitoring Using
Arduino Uno", P. Pavithra, G. Sriram, S. Srinivas, 2022
• M. Karthikeyan, T. S. Subashini, and M. S. Prashanth. "Implementation of Home Automation Using Voice
Commands." Advances in Intelligent Systems and Computing, vol. 1079. Springer, 2020.

• P. Bhuvaneshwari, S. Kavipriya, S. Priya, and A. Porselvi. "Leakage Detection and Prevention of its Threats
Using IoT in Smart Home Automation Systems." International Journal of Research in Engineering and
Management 7, no. 11 (2020): 54-60

• Afsana Mim Anika, Ms. Nasrin Akter, Md. Niamul Hasan, Jannatul Ferdous Shoma, and Abdus Sattar. "Gas
Leakage with Auto Ventilation and Smart Management System Using IoT." IEEE Conference Publication, 2021

You might also like