Professional Documents
Culture Documents
Kanika Kankaria
Kanika Kankaria
Kanika Kankaria
Project Report
on
“Smart Floor Cleaning Robot”
of
by
of
by
Kanika Kankaria
Roll no. 18EMVEE300
Electrical Engineering. The work submitted has in our opinion reached a level
Review In-charges
……………………………..
Mr. Manish Parihar
Assistant Professor
……………………………..
Mr. Hanuman Patel
Assistant Professor
Counter Signed by-
…………………………..
Mr. Hitesh Kumar
Jain Head
Dept. of Electrical Engineering
…………………………..
Mr. Dharmendra
Jain Dean
Academics
Mahaveer Institute of Technology & Science
Date: …………….
Place: ……………
i
Student Declaration
I Kanika Kankaria hereby declare that this written submission represents my ideas in
my own words and where others’ idea or words have been included, I have
adequately cited and referenced the original sources. I also declare that I have
adhered to all principles of academic honestly and integrity and have not
submission. I understand that any violation of the above will be cause for
can also evoke penal action from the sources which have thus not been properly
cited or from whim proper permission has not been taken when needed.
………………………
(Signature)
………………………
(Name of Student)
………………………
(Roll No.)
Date: ……………….
ii
Acknowledgeme
Engineering for her constant motivation and support during the course of my project.
I truly appreciate and value her esteemed guidance and encouragement from the
beginning to the end of this thesis. I am indebted to her for having helped me shape
I would like to take this opportunity to thank our HOD, Mr. Hitesh Kumar
project.
Kanika Kankaria
Roll No.: 18EMVEE300
i
Abstract
the community. This project deal with design and implementation of smart floor
cleaning robot using Arduino nano. The aim of this project is to develop and
modernize the system for cleaning robot which is portable and less cost. The system
consist of Arduino nano which is the back bone of the system to function as
required, the brush that clean solid particles before washing, L293D motor driver,
Ultrasonic sensor to calculate the distance between the sonar sensor and the object,
wheels for movement in required direction, DC motor (for pumping water, for
down and Bluetooth module. Based on the command given by user from developed
android application to the system, Arduino direct servo motor to make the brush up
or down, pumper to pour out the water to the floor hear we use water spray motor to
spray a water to the floor, the wheels of the robot to move forward, back ward, left,
right, stop and mopper to do mopping or not. Floor cleaning robot is very useful in
simple, portable, modern house holding device everyone can operate it easily with
safety. Generally, this floor cleaning robot is very important one for our health and
MI iv
Table of
Certificate....................................................................................................................i
Student Declaration...................................................................................................ii
Acknowledgement.....................................................................................................iii
Abstract.....................................................................................................................iv
Table of Contents.......................................................................................................v
List of Figures..........................................................................................................vii
List of Tables.............................................................................................................ix
Chapter 1 Introduction..........................................................................................1
Chapter 3 Methodology.........................................................................................8
5.1 Conclusion...................................................................................................41
References.................................................................................................................43
MI v
List of
MI v
Figure 4-13 Code uploading......................................................................................37
MI vi
List of
MI i
Introducti
Chapter 1
INTRODUCTION
Wireless technologies are becoming more prevalent around the world and the people
or users appreciate this wireless technology which gives them knowledge about
different tasks which can be performed through wireless, reduce human power and
time consume and it’s secured one. Technology is a never-ending process and to
design product using the current technology that will be beneficial to the lives of
devices and less impediment, power consumption, accessible at cheaper rates etc.
In this work, “Mobile aided Arduino nano-based floor cleaning robot using
ultrasonic sensor” is designed for floor buildings. Here floor cleaning robot is
proposed that is controlled through android application and ultrasonic sensor for
floor cleaning purpose. Floor cleaning robot is designed to make housework process
The mopper makes floor cleaning very easy and fast processing using rotating dc
motor. The user may sit at a place, start a robot and clean wherever needed. The
system
MI x
Introducti
consists of a transmitter and receiver components. The transmitter part from android
mobile application is used by the user to transmit command based on the desired
commands to Arduino. Then Arduino direct the components to function based on the
incoming signal from the android. The robot consists of cleaning mop with a water
sprayer for efficient cleaning. The robot has one motorized rotating cleaning brushes
for the cleaning part. It is receiving the movement commands from the android
device through Bluetooth module receiver. The Arduino on receiving the commands
decodes them and thus the motors operate in order to achieve the desired motion.
The android app user can control even the sprayer and cleaner mechanism. This
makes floor cleaning a very easy, fast and an effortless process. This report is a
combination between software and hardware. The hardware of this robot consists of
the Arduino nano, DC motor, servo motor, water pump, Bluetooth module. Lithium-
ion battery etc. Bluetooth serial communication, the power supply and the chassis
for the robot. The software used in this project are Arduino IDE and Proteus to write
Robotic cleaners have taken major attention in robotics research due to their
cleaners are distinguished on their cleaning expertise like floor mopping, dry
vacuum cleaning etc. Some products based on simple obstacle avoidance using
infrared sensors while some utilize laser-mapping technique. Each cleaning and
operating mechanism of robotic floor cleaners has its own advantages and
disadvantages. For example, robots utilizing laser mapping are relatively faster, less
MI 2
Introducti
consuming and less energy efficient due to random cleaning but less costly.
Importing them from abroad increases their costs. Several types of android robots
with different dimensions are designed for various robotic applications. Labour force
is used for purpose of cleaning floor. But this is tedious and laborious.
For this reason, mobile aided Arduino nano-based floor cleaning robot using
ultrasonic sensor designed for cleaning purpose in building including, office, floor,
In fact, all peoples are using sweep for cleaning purpose. From time-to-time
technology come up and need to upgrade for easier human task. Furthermore, in
buildings as well us in living home, industry, cafeterias and other building floors
cleaning process is done by human beings. This is tedious, takes large time and
laborious, difficulties for human being to clean at a time. Due to this reason, mobile
aided Arduino nano-based floor cleaning robot using ultrasonic sensor is proposed to
solve this problem. Therefore, this project is built to be one of the advantages for
human to clean the floor within small period and more effective. In addition, since it
MI 3
Introducti
This project is to design and implement Mobile aided Arduino mega2560 based
floor cleaning robot using ultrasonic sensor for floor buildings by avoiding human
The proposed system is an embedded system that will clean the floor with
less human intervention. This robot controlled with mobile phone and ultrasonic
sensor for any movement, can spraying water to the ground by itself, dust particle
also removed by using servomotor with roller. Since it is small and movable, user
can take it from place to place when he/she need it for cleaning different floors
Cleaning Robot is developed to make cleaning process easier especially for working
people. This robot is designed for specific area Such as dorm, classroom, office,
MI 4
Review of
Chapter 2
REVIEW OF LITERATURE
Manpreet Kaur and Preeti Abrol, in the paper “Design and development of
floor cleaning robot” have made the cleaning using automatic and manual modes.
They have used RF module for wireless communication between remote and robot
having range of 50m. In the automatic mode, robot controls all operations itself and
changes the lane in case of hurdle detection and moves back. In the manual mode
keypad is used to perform the expected task and to operate the robot. [1]
Another paper which was published by Jens Steffen Gutmann, Kristen Culp,
Mario E. Munich and Paolo Pirjanian in the paper “Social impact of a systematic
floor cleaner” explain mint cleaning robot which is an automatic cleaning robot that
sweeps and mops hard surface floors using dusting and moping cloth was developed.
It investigates the product’s social impact with respect to the attitude of customers
towards a systematic floor cleaner and how much a robot influences a lifestyle.
to support the navigation of the robot. The robot employs a systematic cleaning
strategy that maps the environment using GPS like indoor localization. [2]
MI 5
Review of
Many more systems were proposed and among that is the system proposed
by
home intelligent cleaner adopted the ultrasonic and IR sensor array which had the
function of real time environment perceptions introduced and the cleaner is driven
by step motor has the ability of autonomous working by itself and the functions of
automatic detection and obstacle avoidance. This paper adopts grid scan algorithm
placed on electric map, realize floor coverage task and designs synthesis detection
characteristics. However, this system did not support wet detection and it only
It can perform sucking and mopping tasks, obstacle detection, and automatic water
spray Moreover, it is also able to work in manual mode. All hardware and software
replace the cables connecting electronic devices, adapters and exhibits the electronic
operates in the unlicensed ISM band cantered at 2.4 gigahertz and managed using an
"inquiry scan." Scanning devices listen in on known frequencies for devices that are
MI 6
Review of
response with the information needed for the inquiring device to determine and
display the nature of the device that has recognized its signal [5].
We have contributed to make our project more interested and better than we
saw before. So, our contribution is designing Mobile aided Arduino nano-based
floor cleaning robot using ultrasonic sensor, a thing which makes us different from
MI 7
Methodolo
Chapter 3
METHODOLOGY
The methodology part is used to define about how the project should be developed
and finalized. Therefore, the steps to conduct the development of this project are
divided into three phases that has shown in the figure given below. In first phase, the
project workflow involves literature review which related in floor cleaning robot
The next phase introduces the propose design that involve hardware and software
implementation in this project. Finally, integrate the system, testing system and
Arduino Nano
MI 8
Methodolo
Perf Board
Wire
Nano Board R3 Chip without USB Cable chipboard is based on the famous Arduino
platform and does all the functions of Arduino Uno, but with a smaller footprint.
Nano CH340 Soldered Board R3 Chip without USB cable is vital for your small
project where you don’t need much of a pin-outs but the small size is very important
to make it look good. The Nano equipped with a low-cost USB-Serial Chip that
MI 9
Methodolo
makes it less
MI 1
Methodolo
in price than Nano with FTDI USB-Serial Chip used on older versions of Arduino
Nano. The Nano is a small, complete, and breadboard-friendly board based on the
ATmega328 (Arduino Nano R3). It has more or less the same functionality as the
Arduino Uno but in a different package. It lacks only a DC power jack and works
with a Mini-B USB cable instead of a standard one. The Nano can be powered via
the mini- USB connection, 6-20V unregulated external power supply (pin 30), or 5V
regulated external power supply (Pin 27). The power source is automatically
selected to the highest voltage source. The Arduino nano has following features-
MI 1
Methodolo
MI 1
Methodolo
HC-05 6 Pin Wireless Serial Bluetooth Module is a Bluetooth module for use with
any microcontroller. It uses the UART protocol to make it easy to send and receive
data wirelessly.
The HC-06 module is a slave only device. This means that it can connect to most
phones and computers with Bluetooth but it cannot connect to another slave-only
device such as keyboards and other HC-06 modules. To connect with other slave
devices a master module would be necessary such as the HC-05 version which can
do both master and slave. The HC-05 Bluetooth module has following features-
Working current: matching for 30 mA, matching the communication for 8 mA.
Used for a GPS navigation system, water, and electricity gas meter reading
system.
equipment.
Use the CSR mainstream Bluetooth chip, Bluetooth V2.0 protocol standards.
1Mbps/1Mbps.
MI 1
Methodolo
L293D Motor Driver Module is a medium power motor driver perfect for driving
DC Motors and Stepper Motors. It uses the popular L293D motor driver IC. It can
drive 4 DC motors on and off, or drive 2 DC motors with directional and speed
control.
MI 1
Methodolo
The driver greatly simplifies and increases the ease with which you may control
motors, relays, etc from micro-controllers. It can drive motors up to 12V with a total
DC current of up to 600mA.
We can connect the two channels in parallel to double the maximum current or in
series to double the maximum input voltage. This motor driver is perfect for robotics
relays, etc. Perfect for driving DC and Stepper motors for micro-mouse, line-
MI 1
Methodolo
many applications where it requires to measure distance and detect the objects. The
module has two eyes like projects in the front which forms the Ultrasonic transmitter
and Receiver. The HC-SR04 ultrasonic sensor uses sonar to determine the distance
to an object like bats or dolphins do. This Ultrasonic Sensor module is a transmitter,
a receiver and a control circuit in one single pack!! It has very handy and compact
package. Its operation is not affected by sunlight or black material like Sharp range
finders are although acoustically soft materials like cloth can be difficult to detect.
The Trigger and the Echo pins are the I/O pins of this module and hence they can be
connected to the I/O pins of the microcontroller/Arduino. When the receiver detects
return wave the Echo pin goes high for a particular amount of time which will be
equal to the time taken for the wave to return back to the sensor. Ultrasonic Ranging
MI 1
Methodolo
Stable performance
High-density
This cable is an electrical wire or group of them in a cable with a connector or pins
components,
MI 1
Methodolo
without soldering. Individual Dupont Cables are fitted by inserting their “end
connectors” into the slots provided in a breadboard, the header connector of a circuit
Mostly it is useful with Orange Pi, Banana Pi, Raspberry Pi, Arduino, and other mini
easily for prototyping and can be used over and over again.
This is a great blue backlight LCD display. It is fantastic for Arduino based project.
This LCD 16×2 Parallel LCD Display with Blue Backlight is very easy to interface
with Arduino or Other Microcontrollers. This is LCD 16×2 Parallel LCD Display
that provides a simple and cost-effective solution for adding a 16×2 White on RGB
Liquid Crystal Display into your project. The display is 16 characters by 2line
display that has a very clear and high contrast white text upon a blue
background/backlight.
MI 1
Methodolo
The values shown on the display can be either simple text or numerical values read
by the sensors, such as temperature or pressure, or even the number of cycles that
Single LED backlight included can be dimmed easily with a resistor or PWM.
Can be fully controlled with only 6 digital lines (any analogue/digital pins
can be used).
MI 1
Methodolo
The Single-channel 5V-30A Relay Module power failure relay is a 1-channel relay
Arduino, AVR, PIC, ARM any other microcontroller operating at 5V. The relay
module uses an authentic quality mechanical relay and the industry’s top quality sub
miniature two-way isolation optical coupling which gives you the strong anti-
The user can choose the relay control level, can be a high level off, also can be low
level and off. The Single-channel 5V 30A Relay Module Power Failure Relay
contains a limited flow resistance, can directly use the power supply is negative
control, you can also use the MCU I/O control. The relay module equipped with a
power indicator light (red), one road relay status indicator light (blue). With this
relay, you can easily control electrical appliances, lights, etc. The relay module has
following characterises-
The module can be set high level or low-level trigger by the jumper
DC+ and JD+ shorted by jumper cap, DC- and JD- shorted with jumper cap,
it is the same voltage between trigger terminal and relay control terminal.
High and low-level trigger mode selection. Jumper and L pin connection, IN
pin, is low-level trigger Jumper and H pin connection, IN pin, is the high-
level trigger.
MI 2
Methodolo
This DC6-12V MINI Aquarium Water Pump R385 is the perfect choice for any
project that requires water to be moved from one place to another. This pump can be
used in:
When pumping a liquid, the pump runs very quietly. The pump is also capable of
pumping air, though when pumping air, the pump is quite noisy in comparison. The
R385 requires between 6 – 12V DC and between 0.5 – 0.7A and will deliver its
maximum operating values when power is at the upper end of these ranges. The
pump can handle pumping heated liquids up to a temperature of 80°C and when
suitably powered can suck water through the tube from up to 2m and pump water
vertically for up to 3m. This immersible pump can be used to water your plants,
make a fountain
MI 2
Methodolo
or waterfall, and even change your fish tank water. It works quietly with a sound
level under 30db. The pump has a filter inside as well as a suction cup which can
help stick it to smooth surfaces tight. The pump has following features-
MI 2
Methodolo
These motors are simple DC Motors featuring gears for the shaft for obtaining the
Motors because their shaft extends through the centre of their gearbox assembly.
These standard size DC Motors are very easy to use. Also, you don’t have to spend a
lot of money to control motors with an Arduino or compatible board. The L298N H-
bridge module with an onboard voltage regulator motor driver can be used with this
This 12 Volts DC Motor – 500 RPM can be used in all-terrain robots and a variety
of robotic applications. These motors have a 3 mm threaded drill hole in the middle
of the shaft thus making it simple to connect it to the wheels or any other mechanical
assembly. Nut and threads on the shaft to easily connect and internally threaded
shaft for easily connecting it to the wheels. These DC Geared motors with robust
metal/Plastic gearbox for heavy-duty applications, available in the wide RPM range
and ideally suited for robotics and industrial applications. Such types of motor has
following features-
The gearbox is sealed and lubricated with lithium grease and requires no
maintenance.
Although the motor gives 500 RPM at 12V, the motor runs smoothly from
MI 2
Methodolo
and with several fixed output voltages, making them useful in a wide range of
applications. Each type employs internal current limiting, thermal shut-down and
sinking is provided, they can deliver over 1A output current. Although designed
primarily as fixed voltage regulators, these devices can be used with external
components to obtain adjustable voltages and currents. The voltage regulator has
following features-
MI 2
Methodolo
Output Current up to 1A
Output Voltages of 5V
MI 2
Methodolo
Pollution-free
No memory effects
MI 2
Methodolo
MI 2
Design & Implementation of
Chapter 4
As discussed above the features of components used in this project, first we design
the basic block diagram of the project. The block diagram helps us to understand the
MI 2
Design & Implementation of
thickness as the material and attached a very basic 2D CAD layout so we can follow
same. The plywood was cut by hacksaw and drilled the two corners at the front. All
MI 2
Design & Implementation of
The are various type of components used in this project. The components are
properly mount on the chassis as per block diagram and circuit of the project.in
following steps-
First, we mark the space for motor mounting on chassis then drill appropriate holes
for the mounting bracket and put them in place with some nuts and bolts. Now
attach the motors to the mounting brackets. Before attaching the motors, solder two
Drilled a hole for the motor wires to pass through then attached the wheels to motor
MI 2
Design & Implementation of
Drilled a hole for mop & place sensor clamps drill a large hole (depending on your
mop size) at the front of the robot for placing the mop. For the sensors, i got these 3d
printed clamps. They will enable us to install the sensors very easily. Now drill some
holes for the sensor clamps and install them in place with some nuts and bolts. Place
the clamps in such a way that one sensor in the middle will face forward and the
MI 3
Design & Implementation of
The circuit is designed in the Fritzing software and installation of library is also
attached.
a voltage divider, since the HC-05 Bluetooth module works on 3.3V logic level but
Arduino would give 5V signals which might damage the Bluetooth module. If you
don't want to use an LCD, just don't connect it. The project will still work perfectly
without any changes in wiring or code. The circuit was designed using Fritzing. To
place the Arduino 1rst solder some female headers and then connect male headers
parallelly to each of the female header which corresponds to each pin on Arduino.
All external components will be connected to these male headers. To connect the
LCD, again solder some female headers. Add a screw terminal (to connect power
supply from battery), latching switch and voltage regulator to the PCB. Solder some
male headers in front of the voltage regulator. Now add all the resistors as well and
MI 3
Design & Implementation of
connect
MI 3
Design & Implementation of
everything as per the schematic using wires. Why use an external voltage regulator
if Arduino already has one in-built? Since we are using a lot of components that
driver, a relay, an LCD), powering so many of them using Arduino’s in-built voltage
regulator can overheat and damage it. So, we will be connecting some of the
Step-4
Connect All Components to Main Circuit Board After our main circuit board is
complete, now we have to connect all the external components to it. Start by
connecting the Bluetooth module, followed by relay board and motor driver. Just
follow the schematic. connect both motors to the motor driver as well.
Step-5
Connect the Ultrasonic Sensors Connect all the three ultrasonic sensors to their
respective pins using jumper wires, as per the schematic. Since our sensor clamps
MI 3
Design & Implementation of
Step-6
Water Spraying Mechanism To spray water on the mop, I used a 12V Diaphragm
pump with a very simple mechanism. There are two pipes, one is the inlet pipe that
will go to the water reservoir and the other one is the outlet pipe which will go to the
mop. For the inlet pipe, I used 8mm thickness tubing. For the outlet, I used a thinner
pipe I got from drip infusion system which is connected to a small #ow control valve
to control the #ow of water. (Since we don't want our mop to be drenched with
water) A small 200ml bottle is used as a water reservoir. Make sure you connect
inlet and outlet pipes as per the marking on the water pump.
Step-7
Install the Mechanism on Robot I used some zip ties to place the water pump on
robot base. For the water bottle, 1rst I drilled a hole for the inlet pipe. Then I hot
glued the bottle in place. I also hot glued the #ow control valve at the front. The
outlet pipe should be placed as such that water falls directly on to the mop.
MI 3
Design & Implementation of
Step-8
Power Supply For the power supply, we decided to use 3x 18650 Lithium-ion
batteries, 3800mAh each. This is probably the best option to power our robot since
lithium batteries have high energy density so they take up very less space. All the
three batteries are connected in series so we get roughly 12V which is optimum for
our application. we used three single cell holders, hot glued them on a hard board
piece and connected them in series. Connect a switch as well to turn the robot on/off.
Finally, we connected the supply to the main circuit board. One thing that you need
to take care of is, not to discharge the batteries too much since we are not using a
battery management system or any other kind of protection circuit. Also, lithium
batteries are dangerous so avoid any short circuits! To make the robot run longer,
you can increase the capacity by adding one more battery system (with three
MI 3
Design & Implementation of
Step-9
Upload the Code I have attached the code for this project. Before compiling it, we
have need to install 2 libraries- one is for the ultrasonic sensors and other for the
LCD.
Install the Liquid Crystal library by Arduino (In newer versions of IDE it
MI 3
Design & Implementation of
MI 3
Design & Implementation of
Now, to upload the code, first you will need to remove your Arduino from the
circuit. Why? Because there should not be anything connected to Rx and Tx wires of
Arduino while uploading a code and here, we have our Bluetooth module connected.
So, either remove Rx and Tx wires from Bluetooth module before uploading or
remove the entire Arduino from circuit and then upload. After it's done
Step-10
Configure App For controlling the robot via a phone, we will be using the Bluetooth
Serial Controller app. So 1rst download it from Play Store. Now we need to
MI 3
Design & Implementation of
If you go back, you can see 5 buttons in place, but they're not named yet
We also need to set up Stop Commands. These are commands that are sent when the
button in unpressed. If we don't add the stop commands and press the forward button
for example, the robot will keep on moving forward and won't stop even after we
have released the button. So, under Button > Command > Stop Command, check
Button 2, 4, 5, 6, 18
Button 2: 'S'
MI 3
Design & Implementation of
Button 4: 'S'
Button 6: 'S'
Button 8: 'S'
There is one more optional feature that you can add, which is robot speed control.
We have already added it in the code. There are 2 speed control options- Low and
Maximum. To add them, first make buttons 7,9 visible. Then name them as Low and
In the above images you can see how our app looks both with and without speed
control.
MI 4
Design & Implementation of
Step-11
Testing & Troubleshooting After everything is done, it's 1nally time for testing.
Turn on your robot and check if the LCD displays 'Welcome' message. If it doesn't,
try tuning the trimmer pot or recheck your connections. On your phone, turn on
Bluetooth and search for devices. Pair up with HC-05. Password will usually be
'0000' or '1234'. Now check if on pressing a button on your phone is moving the
robot. If it doesn't move, check if the command is displayed on LCD. If the LCD is
displaying correctly but there is no movement, that means Arduino is receiving the
command correctly. It can then be a problem with your motor driver connections. If
neither does the robot move nor it displays anything on the LCD, then check if your
on Arduino and vice versa. Also, check if you have set the commands on the app
properly.
MI 4
Conclusion & Future
Chapter 5
5.1 CONCLUSION
A cheaper and user-friendly smart floor cleaning robot is developed with two
different modes of controlling i.e., Manual and Automatic mobile app based using
MI 4
Conclusion & Future
In this project there are several things we can do in future like battery monitoring
system, self-charging of battery lighter body weight of robot and set alarm for on/off
etc. The above points are in the future scope of this project.
MI 4
Referenc
REFERENCES
[1] Manreet Kaur and Preeti Abrol “Design and development of floor cleaner robot
[2] Jens Steffen Gutmann, Kristen Culp, Mario E. Munich and Paolo Pirjanian
[4] Ajith Thomas, Rohith M. S, Febin Jolly, Jeeson Cheriyan, Ms.Renu Mary
George, “An Advanced Mobile Robot for Floor Cleaning” , International Journal
MI 4