Iot Based Autonomous Floor Cleaning Robot: A Projrct Report On
Iot Based Autonomous Floor Cleaning Robot: A Projrct Report On
Iot Based Autonomous Floor Cleaning Robot: A Projrct Report On
PROJRCT REPORT
On
ITRODUCTION
1.1 Background
Cleaning is Important work approximate every place. Sometimes this is easy and
sometimes difficult. Sometimes we assigned people for purpose of cleaning and pay money and
sometimes cleaning is required in areas where presence of living being dangerous so we cannot
assigned living being in every place. Some places are so that have a large floor areas in that
place for cleaning purpose we need more than one person so we required some technique to
compensate these problems. In advancement of science a robot come in light but it operate by a
personnel. To avoid this limitation of personnel we require more technologies.
Households of today are becoming smarter and also more automated. Home automation
delivers convenience and creates more time for people. Domestic robots are entering the
homes and people’s daily lives, but it is yet a relatively new and immature market. However,
a growth is predicted and adoption of domestic robots is evolving. Several robotic vacuum
cleaners are available on market but only few ones implement wet cleaning of floors.
Purpose of this project is design and implement a Vacuum Robot Autonomous and
Manual via Phone Application named as blynk. Vacuum Cleaner Robot is designed to make
cleaning process become easier rather than by using manual vacuum.
The main objective of this project is to design and implement a vacuum robot
prototype by using Arduino Nano, motor driver Ultrasonic Sensor and to achieve the goal of
this project. Vacuum Robot will have several criteria that are user-friendly.
P a g e 1 | 46
1.2 Objective
Objective of this project is to design the automatic floor cleaning robot in order to
work human hazards place and to skip need of personnel. To develop an autonomous
robotics system using internet of things and to design a floor cleaning robot without human
to the driving. Mainly it is used when obstacle are less and large area is required to be clean.
Mostly problem occurs during large floor that the human capability. Its means that in large
floor areas the human can get tired. In areas like nuclear plants or chemical industries the
dangerous radiations, chemicals, air, pollutions can make a man sick or death.
So this robot has applicable in that places. There are many features are added in this
project like vacuum cleaner in front side and a wiper motor and water pump in middle for
tightly wet cleaning of floor. Vacuum cleaner suck solid particle and clean floor after that
wiper make tightly cleaning.
The scope of this project is to develop an automatic device that can derived from
control room by internet of thing that work of sweeping floor without need of personnel and
we need to just click a start button of the robot in smartphone application. This project has a
scope in the areas like a large floor area, human hazards area in industries like nuclear plant
chemical plant and the areas where threat of dangerous gasses presence.
IOT systems allow users to achieve deeper automation, analysis, and integration
within a system. They improve the reach of these areas and their accuracy. IOT utilizes
existing and emerging technology for sensing, networking, and robotics.
IOT exploits recent advances in software, falling hardware prices, and modern attitudes
toward technology. Its new and advanced elements bring major changes in the delivery of
products, goods, and services and the social, economic, and political impact of those changes.
P a g e 2 | 46
IOT systems have applications across industries through their unique flexibility and
ability to be suitable in any environment. They enhance data collection, automation,
operations, and much more 0through smart devices and powerful enabling technology.
The most important features of IOT include artificial intelligence, connectivity, sensors,
active engagement, and small device use. A brief review of these features is given below:
P a g e 3 | 46
Active Engagement – Much of today's interaction with connected technology
happens through passive engagement. IOT introduces a new paradigm for active
content, product, or service engagement.
Small Devices – Devices, as predicted, have become smaller, cheaper, and more
powerful over time. IOT exploits purpose-built small devices to deliver its precision,
scalability, and versatility.
The advantages of IOT span across every area of life style and business. Here is a list
of some of the advantages that IOT has to offer:
Technology Optimization – The same technologies and data which improve the
customer experience also improve device use and aid in more potent improvements
to technology. IOT unlocks a world of critical functional and field data.
Reduced Waste – IOT makes areas of improvement clear. Current analytics give us
superficial insight, but IOT provides real-world information leading to more
effective management of resources.
Enhanced Data Collection – Modern data collection suffers from its limitations and
its design for passive use. IOT breaks it out of those spaces and places it exactly
where humans really want to go to analysis our world. It allows an accurate picture
of everything.
Though IOT delivers an impressive set of benefits, it also presents a significant set of challenges.
Here is a list of some its major issues:
P a g e 4 | 46
Security – IOT creates an ecosystem of constantly connected devices communicating over
networks. The system offers little control despite any security measures. This leaves users
exposed to various kinds of attackers.
Privacy – The sophistication of IOT provides substantial personal data in extreme detail
without the user's active participation.
Complexity – Some find IOT systems complicated in terms of design, deployment, and
maintenance given their use of multiple technologies and a large set of new enabling
technologies.
Flexibility – Many are concerned about the flexibility of an IOT system to integrate easily with
another. They worry about finding themselves with several conflicting or locked systems.
Compliance – IOT, like any other technology in the realm of business, must comply with
regulations. Its complexity makes the issue of compliance seem incredibly challenging when
many consider standard software compliance a battle.
Process extension within the IOT network. They exploit integration with critical business
systems (e.g., ordering systems, robotics, scheduling, and more) in the execution of related
tasks.
Data Collection
This software manages sensing, measurements, light data filtering, light data security,
and aggregation of data. It uses certain protocols to aid sensors in connecting with real-
time, machine-to-machine networks. Then it collects data from multiple devices and
distributes it in accordance with settings. It also works in reverse by distributing data
over devices. The system eventually transmits all collected data to a central server.
Device Integration
P a g e 5 | 46
Real-Time Analytics
These applications take data or input from various devices and convert it into viable
actions or clear patterns for human analysis. They analyse information based on
various settings and designs in order to perform automation-related tasks or provide
the data required by industry.
These applications extend the reach of existing systems and software to allow a wider,
more effective system. They integrate predefined devices for specific purposes such as
allowing certain mobile devices or engineering instruments access. It supports improved
productivity and more accurate data collection. IOT primarily exploits standard protocols
and networking technologies.
However, the major enabling technologies and protocols of IOT are RFID, NFC, low-
energy Bluetooth, low-energy wireless, low-energy radio protocols, LTE-A, and Wi Fi-
Direct. These technologies support the specific networking functionality needed in an IOT
system in contrast to a standard uniform network of common systems.
P a g e 6 | 46
1.9.1 Common Uses
This technology supports the low-power, long-use need of IOT function while
exploiting a standard technology with native support across systems.
Low-Energy Wireless
This technology replaces the most power hungry aspect of an IOT system. Though
sensors and other elements can power down over long periods, communication links
(i.e., wireless) must remain in listening mode. Low-energy wireless not only reduces
consumption, but also extends the life of the device through less use.
Radio Protocols
Zig Bee, Z-Wave, and Thread are radio protocols for creating low-rate private area
networks. These technologies are low-power, but offer high throughput unlike many
similar options. This increases the power of small local device networks without the
typical costs.
Wi Fi - Direct
Wi Fi-Direct eliminates the need for an access point. It allows P2P (peer-to-peer)
connections with the speed of Wi Fi but with lower latency. Wi Fi-Direct eliminates
an element of a network that often bogs it down, and it does not compromise on
speed or throughput.
IOT has applications across all industries and markets. It spans user groups from those
who want to reduce energy use in their home to large organizations who want to streamline their
operations. It proves not just useful, but nearly critical in many industries as technology
advances and we move towards th0e advanced automation imagined in the distant future.
P a g e 7 | 46
1.9.2 Engineering, Industry and Infrastructure
Example
Joan runs a manufacturing facility that makes shields for manufacturing equipment.
When regulations change for the composition and function of the shields, the new
appropriate requirements are automatically programmed in production robotics, and
engineers are alerted about their approval of the changes.
IOT applied to government and safety allows improved law enforcement, defence,
city planning, and economic management. The technology fills in the current gaps, corrects
many current flaws, and expands the reach of these efforts. For example, IOT can help city
planners have a clearer view of the impact of their design, and governments have a better
idea of the local economy.
Example
Joan lives in a small city. She’s heard about a recent spike in crime in her area, and
worries about coming home late at night. Local law enforcement has been alerted
about the new “hot” zone through system flags, and they’ve increases their presence.
Area monitoring devices have detected suspicious behaviour and law enforcement
has investigated these leads to prevent crimes.
P a g e 8 | 46
1.9.4 Home and Office
In our daily lives, IOT provides a personalized experience from the home to the office
to the organizations we frequently do business with. This improves our overall satisfaction,
enhances productivity, and improves our health and safety. For example, IOT can help us
customize our office space to optimize our work.
Current monitoring technology for air and water safety primarily uses manual labour
along with advanced instruments, and lab processing. IOT improves on this
technology by reducing the need for human labour, allowing frequent sampling,
increasing the range of sampling and monitoring, allowing sophisticated testing on-
site, and binding response efforts to detection systems. This allows us to prevent
substantial contamination and related disasters.
Extreme Weather
Though powerful, advanced systems currently in use allow deep monitoring, they
suffer from using broad instruments, such as radar and satellites, rather than more
granular solutions. Their instruments for smaller details lack the same accurate
targeting of stronger technology.
New IOT advances promise more fine-grained data, better accuracy, and flexibility.
Effective forecasting requires high detail and flexibility in range, instrument type, and
deployment. This allows early detection and early responses to prevent loss of life
and property.
P a g e 9 | 46
Commercial Farming
IOT allows operations to remove much of the human intervention in system function,
farming analysis, and monitoring. Systems detect changes to crops, soil, environment,
and more. They optimize standard processes through analysis of large, rich data
collections. They also prevent health hazards from happening and allow better control.
Residential Energy
The rise of technology has driven energy costs up. Consumers search for ways to
reduce or control consumption. IOT offers a sophisticated way to analyse and
optimize use not only at device level, but throughout the entire system of the home.
This can mean simple switching off or dimming of lights, or changing device
settings and modifying multiple home settings to optimize energy use.
IOT can also discover problematic consumption from issues like older appliances,
damaged appliances, or faulty system components. Traditionally, finding such
problems required the use of often multiple professionals.
P a g e 10 | 46
Commercial Energy
Energy waste can easily and quietly impact business in a major way, given the
tremendous energy needs of even small organizations. Smaller organizations wrestle
with balancing costs of business while delivering a product with typically smaller
margins, and working with limited funding and technology. Larger organizations
must monitor a massive, complex ecosystem of energy use that offers few simple,
effective solutions for energy use management.
IOT simplifies the process of energy monitoring and management while maintaining a
low cost and high level of precision. It addresses all points of an organization's
consumption across devices. Its depth of analysis and control provides organizations with a
strong means of managing their consumption for cost shaving and output optimization. IOT
systems discover energy issues in the same way as functional issues in a complex business
network, and provide solutions.
Reliability
The analytics and action delivered by IOT also help to ensure system reliability.
Beyond consumption, IOT prevents system overloads or throttling. It also detects
threats to system performance and stability, which protects against losses such as
downtime, damaged equipment, and injuries.
P a g e 11 | 46
1.9.7 Consumer Applications
Consumers benefit personally and professionally from the optimization and data
analysis of IOT. IOT technology behaves like a team of personal assistants, advisors, and
security. It enhances the way we live, work, and play.
Butler – IOT waits for you to return home, and ensures your home remains fully
prepared. It monitors your supplies, family, and the state of your home. It takes
actions to resolve any issues that appear.
Chef – An IOT kitchen prepares meals or simply aids you in preparing them.
Nanny – IOT can somewhat act as a guardian by controlling access, providing
supplies, and alerting the proper individuals in an emergency.
Gardner – The same IOT systems of a farm easily work for home landscaping.
Repairman – Smart systems perform key maintenance and repairs, and also request
them.
Security Guard – IOT watches over you 24/7. It can observe suspicious individuals
miles away, and recognize the potential of minor equipment problems to become
disasters well before they do.
P a g e 12 | 46
Work
A smart office or other workspace combines customization of the work environment
with smart tools. IOT learns about you, your job, and the way you work to deliver an
optimized environment. This results in practical accommodations like adjusting the
room temperature, but also more advanced benefits like modifying your schedule
and the tools you use to increase your output and reduce your work time. IOT acts as
a manager and consultant capable of seeing what you cannot
Play
IOT learns as much about you personally as it does professionally. This enables the
technology to support leisure:
• Culture and Night Life – IOT can analyse your real-world activities and response
to guide you in finding more of the things and places you enjoy such as
recommending restaurants and events based on your preferences and experiences.
• Vacations – Planning and saving for vacations proves difficult for some, and many
utilize agencies, which can be replaced by IOT.
• Products and Services – IOT offers better analysis of the products you like and
need than current analytics based on its deeper access. It integrates with key
information like your finances to recommend great solutions.
P a g e 13 | 46
1.10 Equipment and Cost
Following equipments are used in this project and their cost is also shown in the table.
P a g e 14 | 46
CHAPTER-2
HARDWARE DESCRIPTION
1. Arduino Nano
2. Ultrasonic sensor
4. Node MCU
5. DC shunt motor
6. Wiper motor
7. Vacuum cleaner
The Arduino Nano is a surface mount breadboard compatible version of the ever-
popular Arduino micro controller. It's small with integrated on-board USB and is breadboard
friendly. As the function It has almost all the analog and digital pins that the UNO or
Duemilanove and the same function as Duemilanove or UNO. With the smaller and portable
package Arduino Nano would be more friendly and convenient for users to enter the Arduino
world and make use of Arduino to make their dream into reality.
P a g e 15 | 46
As a upgrade version of Arduino Nano is 100% compatible to Arduino Nano and its shield
and IDEs. On the hardware part remarkable changes are taken to improve the flexibility and
user experience. Memory of arduino nano is ATmega328 has 32 KB, (also with 2 KB used
for the boot loader) and has 2 KB of SRAM and 1 KB of EEPROM.
ATmega168
P a g e 16 | 46
2.1.2 Ultrasonic Sensor
Ultrasonic ranging and detecting devices use high frequency sound waves called
ultrasonic waves to detect presence of an object and its range. Normal frequency range of human
ear is roughly 20Hz to 20,000Hz. Ultrasonic sound waves are sound waves that are above the
range of human ear, and thus have frequency above 20,000Hz. An ultrasonic sensor necessarily
consists of a transducer for conversion of one form of energy to another, a housing enclosing the
ultrasonic transducer and an electrical connection. These sensors are of two types:
Ultrasonic Receiver – If the ultrasonic wave detects the obstacle, it will produce a
reflected wave. An ultrasonic receiver is used for receiving the ultrasonic waves
reflected from the road surface to generate a reception signal. There is ultrasonic
transducer that will transform back the sound wave to electrical energy. This signal
amplified by an amplifier. The amplified signal is compared with reference signal to
detect components in the amplified signal due to obstacles on the road surface. The
P a g e 17 | 46
magnitude of the reference signal or the amplification factor of the amplifier is
controlled to maintain a constant ratio between the average of the reference signal
and the average of the amplified signal.
L293D is a dual H-bridge motor driver integrated circuit (IC). Motor drivers act as
current amplifiers since they take a low-current control signal and provide a higher-current
signal. This higher current signal is used to drive the motors. L293D contains two inbuilt H-
bridge driver circuits. In its common mode of operation, two DC motors can be driven
simultaneously, both in forward and reverse direction.
P a g e 18 | 46
Pin Diagram
The motor operations of two motors can be controlled by input logic at pins 2 & 7 and
10 & 15. Input logic 00 or 11 will stop the corresponding motor. Logic 01 and 10 will rotate
it in clockwise and anticlockwise directions, respectively. Enable pins 1 and 9 (corresponding
to the two motors) must be high for motors to start operating. When an enable input is high,
the associated driver gets enabled.
As a result, the outputs become active and work in phase with their inputs. Similarly,
when the enable input is low, that driver is disabled, and their outputs are off and in the high-
impedance state.
P a g e 19 | 46
Pin Description:
Node MCU is an open source IOT platform. It includes firmware which runs on the
ESP8266 Wi-Fi SOC from Espressif Systems and hardware which is based on the ESP-12
module. The term "Node MCU" by default refers to the firmware rather than the development
kits. The firmware uses the LUA scripting language.
It is based on the ELUA project and built on the Espressif Non-OS SDK for ESP8266.
It uses many open source projects, such as LUA-CJSON and SPIFFS.
P a g e 20 | 46
Fig.2.6 Node MCU
A DC motor is any of a class of rotary electrical machines that converts direct current
electrical energy into mechanical energy. The most common types rely on the forces
produced by magnetic fields. Nearly all types of DC motors have some internal mechanism,
either electromechanical or electronic, to periodically change the direction of current flow in
part of the motor.
DC motors were the first form of motor widely used, as they could be powered from
existing direct-current lighting power distribution systems. Speed of DC motor can be
controlled over a wide range using either a variable supply voltage or by changing the
strength of current in field windings. Small DC motors are used in tools, toys, and appliances.
The universal motor can operate on direct current but is a light weigh brushed motor
used for portable power tools and appliances.
P a g e 21 | 46
Larger DC motors are currently used in propulsion of electric vehicles elevator and
hoists and in drives for steel rolling mills. The advent of power electronics has made
replacement of DC motors with AC motors possible in many applications.
Let us now consider the voltage and current being supplied from the electrical
terminal to the motor be given by E and Itotal respectively.
This supply current in case of the shunt wound DC motor is split up into 2 parts. I a
flowing through the armature winding of resistance R a and Ish flowing through the field winding
of resistance Rsh. The voltage across both windings remains the same. From there we can write..
P a g e 22 | 46
Thus we put this value of armature current Ia to get general voltage equation of a DC shunt
motor.
Now in general practice when the motor is in its running condition and the supply voltage is
constant and the shunt field current given by-
But we know Ish ∝ Φ
i.e. field flux Φ is proportional to filed current Ish. Thus the field flux remains more or less
constant, and for this reason, a shunt wound DC motor is called a constant flux motor.
Windscreen wiper motor brushes have played very important role in the construction
of wiper motors. The motors used in windscreen wipers are also known as Ferrite magnet
type motors as permanent magnets are used in them. These motors contain gears to control
the speed of the wiper and three brushes to be used according to the speed of the wiper and
the motor itself.
These three brushes include a high speed brush, a low speed brush and a common
brush for the ground. The gear section of the wiper motor also contains a cam switch to stop
the wiper every time at the same position.
The armature coils in the wiper motor generate a counter-electromotive force when it
is turned to control the speed of rotation of the motor.
P a g e 23 | 46
When low-speed brush from the three Windscreen wiper motor brushes provides
current into the armature coils then they generate a large counter electromotive force to slow
down the speed of rotation of the wiper motor.
The first vacuum-cleaning device to be portable and marketed at the domestic market
was built in 1905 by Walter Griffith manufacturer in Birmingham, England. His Griffith's
Improved Vacuum Apparatus for Removing Dust from Carpets resembled modern-day
cleaners it was portable easy to store and powered by any one person (such as the ordinary
domestic servant) who would have the task of compressing a bellows-like contraption to
through a removable, flexible pipe to which a variety of shaped nozzles could be attached.
2.1.8 Relay
A relay is an electrical switch that uses an electromagnet to move the switch from the
off to on position instead of a person moving the switch. It takes a relatively small amount of
power to turn on a relay but the relay can control something that draws much more power.
Ex: A relay is used to control the air conditioner in your home. The AC unit
probably runs off of 220VAC at around 30A. That's 6600 Watts! The coil that controls the
relay may only need a few watts to pull the contacts together.
P a g e 24 | 46
Fig.2.11 Relay
This is the schematic representation of a relay. The contacts at the top are normally
open (i.e. not connected). When current is passed through the coil it creates a magnetic field
that pulls the switch closed (i.e. connects the top contacts). Usually a spring will pull the
switch open again once the power is removed from the coil.
This magnetic field moves the relay armature for opening or closing the connections.
The small power relay has only one contacts, and the high power relay has two contacts for
opening the switch. The inner section of the relay is shown in the figure below. It has an iron
core which is wound by a control coil.
P a g e 25 | 46
The power supply is given to the coil through the contacts of the load and the control
switch. The current flows through the coil produces the magnetic field around it.Due to this
magnetic field, the upper arm of the magnet attracts the lower arm.
Hence close the circuit, which makes the current flow through the load. If the contact
is already closed, then it moves oppositely and hence open the contacts.
Project is assemble on a ply board. Four wheels are connect with all four corners.
Two wheels that’s on front side of board and two wheels are connected with back side of ply
board. Front side wheels are free to move while back side wheels are connected with motors.
These motors are dc shunt motors.
Two batteries are used one battery is of 12 volt and other battery is of 8 volt and these
Batteries also have a 12 to 5 volt convertor and a 8 to 5 volt convertor because some devices
are used 12 volt supply and some used 5 volt supply. The classification of 12v and 5v
supplies is given below-
5V operated devices
Ardiuno
Node MCU
Ultrasonic sensor
Water pump
Two wheels operate with dc motors and these dc motors are operated with the motor driver
L293D the motor driver use Arduino programming and pin connection.
In Arduino software digital write pin is used for providing input. For operation of
motor driver we provide input to motor driver from the Arduino digital write pin. Different
pins are assigned for the operation of Arduino. The pin used is given below –
D6 M1b
D5 M1a
D8 M2b
D7 M2a
There are two Arduino nano used and these are nominated with arduino 1 and arduino
2. Arduino 1 is used for the programming of three relays and is operate at a voltage of 5v.
This is programmed with the Arduino software.
This is also connected with the node MCU for IOT connection. Second Arduino is
used for the programming of motor driver. Motor driver is programmed for the motion
control of dc motors. When ultrasonic sensor send signal to the Arduino then as per the turn
number motor driver operate motors for right turn or left turn and then motor move forward.
P a g e 27 | 46
Node MCU is used for the IOT control of floor cleaner. This node mcu is programed
with the Arduino software. Node MCU is connected with Blynk app. When internet is
connected to node MCU and Blynk app is operate then we can control the four circuits.
D0 vacuum cleaner
D1 water pump
D2 wiper motor
D3 motor driver
All devices are assemble and placed their most suitable place. Figure of project is given below-
Circuit Diagram
P a g e 28 | 46
Project Picture
P a g e 29 | 46
CHAPTER 3
SOFTWARE DESCRIPTION
We know that there are two Arduino Nano used in this project. Function of first Arduino
Nano is to driven water pump, wiping motor and vacuum cleaner. The programming for this
is mention below-
void setup()
/ initialize serial
communication: PinMode(5,
OUTPUT); pinMode(6,
OUTPUT); pinMode(7,
OUTPUT); pinMode(8,
OUTPUT); digitalWrite(5,
digitalWrite(7, HIGH);
pinMode(2, INPUT);
digitalWrite(2, HIGH);
pinMode(3, INPUT);
digitalWrite(3, HIGH);
pinMode(4, INPUT);
digitalWrite(4, HIGH);
void loop()
P a g e 30 | 46
{
if(digitalRead(2)==1)
digitalWrite(5, LOW);
if(digitalRead(2)==0)
digitalWrite(5, HIGH);
if(digitalRead(3)==1)
digitalWrite(6, LOW);
if(digitalRead(3)==0)
digitalWrite(6, HIGH);
if(digitalRead(4)==1)
digitalWrite(7, LOW);
if(digitalRead(4)==0)
digitalWrite(7, HIGH);
P a g e 31 | 46
This program is make for the operation of relay module connected with the water
pump, wiper motor and vacuum cleaner.
Arduino nano 2 is programmed for operate the motor driver. Motor driver receive
input functioning from the Arduino Nano 2 and move the wheels. Programing for Arduino
Nano 2 is given below.
int rounds=0;
int sem = 0;
void setup()
analogWrite(3, 180);
Serial.begin(9600); pinMode(5,
OUTPUT); pinMode(6,
OUTPUT); pinMode(7,
OUTPUT); pinMode(8,
digitalWrite(7, LOW);
P a g e 32 | 46
digitalWrite(A0, HIGH);
void loop()
while(digitalRead(A0)==0)
digitalWrite(trigPin, LOW);
delayMicroseconds(2);
digitalWrite(trigPin, HIGH);
delayMicroseconds(10);
digitalWrite(trigPin, LOW);
inches = microsecondsToInches(duration);
P a g e 33 | 46
cm = microsecondsToCentimeters(duration);
Serial.print(inches);
Serial.print("in, ");
Serial.print(cm);
Serial.print("cm");
Serial.println();
delay(500);
if(cm>50 )
digitalWrite(5, LOW);
digitalWrite(7, LOW);
Serial.println("fwd");
while(rounds>3)
digitalWrite(5, LOW);
digitalWrite(7, LOW);
P a g e 34 | 46
while(cm<=50 && rounds<5)
rounds++;
Serial.print("rounds: ");
Serial.println(rounds);
digitalWrite(5, LOW);
digitalWrite(7, HIGH);
delay(5000);
digitalWrite(5, LOW);
digitalWrite(7, LOW);
delay(1500);
digitalWrite(5, LOW);
digitalWrite(7, HIGH);
delay(5000);
digitalWrite(5, LOW);
P a g e 35 | 46
digitalWrite(6, LOW); //left motor
digitalWrite(7, LOW);
l=1
break;
r=1;
l=0;
sem=0;
rounds++;
digitalWrite(5, HIGH);
digitalWrite(7, LOW);
delay(5000);
digitalWrite(5, LOW);
digitalWrite(7, LOW);
delay(1500);
digitalWrite(5, HIGH);
P a g e 36 | 46
digitalWrite(6, LOW); //left motor
digitalWrite(7, LOW);
delay(5000);
digitalWrite(5, LOW);
gitalWrite(7, LOW);
break;
While (digitalRead(A0)==1)
Serial.println("iot off");
digitalWrite(5, LOW);
digitalWrite(7, LOW);
P a g e 37 | 46
{
/ 73.746 microseconds per inch (i.e. sound travels at 1150 feet per
/ The ping travels out and back, so to find the distance of the
return microseconds / 29 / 2;
Node MCU is also programmed by Arduino Nano software. Node MCU is used to receive
signal from Blynk App
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
/ Your Wi Fi credentials;
P a g e 38 | 46
char ssid[] = "Qadir";
float lock;
void setup()
Serial.begin(9600);
pinMode(sensorPin, INPUT);
Blynk.virtualWrite(V0, lock);
Blynk.run();
void loop()
lock = analogRead(sensorPin);
Blynk.virtualWrite(V0, lock);
delay(100);
Blynk.run();
P a g e 39 | 46
CHAPTER-4
WORKING OF PROJECT
4.1 Working
Floor cleaning robot has two switch that are connected with two batteries. First step is
to on both switches and connected Wi Fi with node MCU and make whole circuit online with
Blynk app. When we give signal from Blynk app to start motion than a Forword motion will
start by the program set by the Arduino Nano.
Project has three more switch from Blynk app. First switch is connected with water
pump second one is connected with water pump and third one is connected with vacuum
cleaner. we can control the all three switch from Blynk app as per the requirement of the
cleaning.
When switch D3 turn ON from the Blynk app then the wheel start to move to forward
direction. If any obstacle or wall come in front of robot than ultrasonic sensor receive the
signal and send information to Arduino Nano than wheels start to turn. This turn is move
towards left if round is even and move to left if round is odd than robot turn to right.
We have need to analyse the dimension of room and then set number of turn in
Arduino software programming. For motion straight or turning to left or right we have to
connection the motor driver to Arduino Nano software and setting low or high the pins D5,
D6, D7, D8. These pin are set in program as given below-
D5 low
D6 high
D7 low
D8 high
P a g e 40 | 46
For turn right motion
D5 high
D6 low
D7 low
D8 high
D6 high
D7 high
D8 low
4.2 Methodology
ON
START
STRAIGHT MOTION
IF WALL DETECTED IF
TURN RIGHT TURN LEFT
T=ODD (ULTRASONIC SENSOR) T=EVEN
IF
IF
T<=N
T>N
STOP
P a g e 41 | 46
CHEPTER – 5
RESULT
5.1 RESULT
As a result of this autonomous IOT based floor cleaning robot, the function of each
part is working well and the whole system is successfully accomplished. This perform well
the working of movement in a whole room direction and make cleaning of the room.
The ranging accuracy of ultrasonic sensor in this prototype is about 20cm to 2m and
works effectively within the prescribed limit of 50 cm range.
In this project, we have checked the working of our project, we connected it with a
batteries and whose cleaning and moving system is controlled by a DC gear motor and pump.
This technique is eco-friendly and this work is an attempt to reduce accidents while in critical
driving conditions. We have tested the working of the system by placing various objects ahead
as obstacles.
The system responded by reducing the speed of the vehicle when the obstacle is placed
at various distances from it. Also system properly perform the cleaning via vacuum cleaner
and wiper motor and this process is properly controlled by internet of things. Controlling of
P a g e 42 | 46
APPLICATION
Floor cleaning robot is developed to make floor cleaning process easier. This can be
used in power plant like nuclear power plants because in that places the harmful radiations is
placed and cause serious health problems.
To avoiding this we can send a robot to perform the whole operation. In colleges and
other places where large floor area is present we can use floor cleaning robot to clean that
areas. In industries we required cleaning in large areas as well as small areas and both areas
can be clean without need of personnel. By this we can save money and time.
The Android app is generally developed using JAVA language. The app controlling
this vacuum robot can be built without having the knowledge in java language. It is called as
“VBot211” developed by MIT App Inventor. Shown below is a diagram which shows the
interface of the app.
In this way, some functional requirements that would improve the robot performance
were not taking into account due either to their inherent complexity or to their mechanical
implications. These robots operate semi- or fully autonomously to perform services useful to
the well-being of humans and equipment. With the aim of keeping our robot as simple as
possible, while able to perform the initial goals, i.e. an autonomous vacuum cleaner robot
able to randomly navigate through a room or a house with the minimum human assistance,
the following specifications were found:
P a g e 43 | 46
FUTURE SCOPE
This robot can modified in future for a better effective work and multipurpose.
Efficiency of cleaning can be improve. By using IR sensor and to add other features we can
make a device that perfectly work for cleaning. If we add a timer than it can work for a
special time with starting automatically.
This floor cleaning robot is limited to clean floor stairs cannot be cleaned by this so it
can be modified for cleaning of stairs. This robot can be modified for cleaning of more than
one room by one robot. This robot cannot clean circular room we can programmed for
cleaning every shaped room. So these are the future scope of floor cleaning robot
P a g e 44 | 46
CONCLUSION
We have successfully completed the autonomous IOT based floor cleaning robot
model prototype and this project presents the implementation of an Automatic cleaning
System controlled by Internet of Thing, but the speed of the vehicle can be reduced
automatically due to the sensing of the obstacles.
It reduces the accident levels and tends to save the lives of so many people. By doing
this project practically we gained the knowledge about working of automatic braking system
and with this future study and research.
We hope to develop the system into an even more advanced speed control system for
automobile safety, while realizing that this certainly requires tons of work and learning, like
the programming and operation of microcontrollers and the automobile structure.
P a g e 45 | 46
REFERENCE
4.http://web.stevens.edu/ses/me/fileadmin/me/senior_design/2007/group01/DesignFinal.pdf
5. http://eng.najah.edu/sites/eng.najah.edu/files/robotic_vacuum_pre_1.pptx
6.http://www.ecs.umass.edu/ece/sdp/sdp05/preston/sdp_data/Draft%20System%20Specificati
on.doc
7. http://letsmakerobots.com/node/40288
8. http://www.intorobotics.com/build-diy-roomba-style-robot-vacuum-cleaner/
9. http://www.irobot.com/For-the-Home/Vacuum-Cleaning/Roomba.aspx
10.http://eprints2.utem.edu.my/4710/1/Design_And_Implementation_Of_Vacuum_Robot_-
_24_pages.pdf
11.http://www.instructables.com/id/Floor-vacuum-cleaner-robot-controlled-by-Arduino-w/
12. http://www.scribd.com/doc/231094704/Automatic-vacuum-cleaner-project#scribd
P a g e 46 | 46