Professional Documents
Culture Documents
v1 Covered
v1 Covered
Using Arduino
ODO AMOS C ( odoamosc@gmail.com )
Aditya college of engineering
A.mahesh
P.H.V. Ganesh
Na.Manikanta
S.L. Ravi Teja
Research Article
Keywords:
DOI: https://doi.org/10.21203/rs.3.rs-3392190/v1
License: This work is licensed under a Creative Commons Attribution 4.0 International License.
Read Full License
Additional Declarations:
The authors declare no competing interests.
OBJECT SORTING BASED ON SIZE AND IR sensor modules is used to detect the product
COLOUR DETECTION USING ARDUINO movement on the conveyor belt, color sensor is Used
ODO AMOS C,A.MAHESH,P.H.V.GANESH,N.MANIKANTA,S.L.RAVI TEJA detect color of an object and sends the signal to controller.
The IR sensors sense the size of the object and send the
ADITYA COLLEGE OF ENGINEERING
high or low values to the controller and as per the size the
(Approved by AICTE New-Delhi and Affiliated to Jawaharlal
Nehru Technological University, Kakinada) Surampalem microcontroller controls the servo motor and shifts the
533291, A.P, INDIA object to its destination. The LCD interfaced with the
Department of Electronics and Communication Engineering. controller is used to indicate number of color objects.
ABSTRACT
Automation has become the primary requirement for
almost all the businesses. The accuracy and speed with
which a machine performs a task is higher when compared
to that of humans. In most of the industries major
activities involve measurement, cutting and sorting.
Sorting can be done based on size, shape, color and quality
etc. The sorting will be done based on quality in our
project. And quality is analyzed based on the object size
and color. In the project we developed a system for sorting
objects, the gear motors used to rotate the conveyor belt.
i
2.LITERATURE REVIEW
1. INTRODUCTION The main aim of our project is to save time
and reduce manual work. Our real time
Industrial automation is the use of control project enables us to sort the objects
systems, such as computers or robots, and based on size and color. We are using
information technologies for handling Arduino mega, IR sensor modules, color
different processes and machineries in an sensor and conveyer belt system are used
industry to replace human beings. It is the to develop this project. In this project we
second step beyond mechanization in the separated the objects based on color and
scope of industrialization. In this module size.
the mechanization will be done based on
the object size with the help of IR sensors The authors Tushar
and color sensors for the color sorting. G.Galkr,Soham,N.Zadokar,Rajendra
S.Bhandari,Sagar S.Patil developed a
Earlier the purpose of automation was to sorting mechanism using color sensor and
increase productivity (since automated arduino uno. The primary reason for the
systems can work 24 hours a day), and to framework is to separate the item as per
reduce the cost and errors associated with their shading code a naturally circulate the
human operators (i.e. wages & benefits). item as per their hues. In this module we
However, today the focus of automation will distinguish the shade of the item
has shifted to increasing quality and which is put on transport line. This can be
flexibility in a manufacturing process. In accomplished effectively by utilizing
the automobile industry, the installation headway as a part of innovation
of pistons into the engine used to be particularly in the field of inserted
performed manually with an error rate of frameworks. Today’s innovations are
1-1.5%. Presently, this task is performed turning out to make our way of life more
using automated machinery with an error solace, extravagant and secure. In this
rate of 0.00001%. article we are utilizing Arduino (controller)
1
and shading sensor. This shading sensor color is based on the frequency analysis of
distinguishes shading and gives serial yield the output of TCS230 sensor. Two
of RBG worth. It can distinguish 16.7 conveyor belts were used, each controlled
million shading shades giving RGB esteem by separate DC motors. The first belt is for
for the recognized shading. The placing the product to be analyzed by the
distinguished shading is recognized as color sensor, and the second belt is for
measure of three essential shading values moving the container, having separated
to be specific Red, Green and Blue with 8- compartments, in order to separate the
bit exactness for every essential shading. products. The experimental results
Any shading can be isolated or promise that the prototype will fulfill the
consolidated into three essential hues needs for higher production and precise
Red, Green and Blue utilizing the RBG quality in the field of automation.[2]
values.[1]
Colour is the most common feature to
The authors Kunhimohammed C.K, distinguish between objects, sorting,
Muhammed Saifudeen K. K, Sahna S, recognizing and tracking. In this paper a
Gokul M. S and Shaeez Usman Abdulla project is proposed to separate the
designed a project using TCS230 color objects from a set according to their
sensor and pic microcontroller and colour. This can be useful to categorize the
conveyer belt system. Sorting of products objects which move on a conveyer belt.
is a very difficult industrial process. The proposed method of categorization is
Continuous manual sorting creates based on colour of the object. The
consistency issues. This paper describes a detection of the particular colour is done
working prototype designed for automatic by a light intensity to frequency converter
sorting of objects based on the color. method. This technique helps in reducing
TCS230 sensor was used to detect the manual work involved in sorting of objects
color of the product and the PIC16F628A and thus saves time consumed and
microcontroller was used to control the increases the efficiency of the application.
overall process. The identification of the Colour sorting can find various
2
applications in cargo industry, food and
packaging industry etc.[3]
3.1 BLOCK DIAGRAM
In many situations,
autonomous robots can provide effective The below figure3.1 shows the block
solutions to grueling tasks. In this case, it diagram of Arduino based “Object sorting
is desirable to create an autonomous based on color and size”. In this block
robot that can identify objects from the diagram the output of IR sensor modules
conveyor belt and relocate them if the and color sensor are connected to Arduino
object meets certain criteria. Dealing with mega. The four servo motors are
many objects is a very menial task, this is connected to the Arduino in order to shift
an excellent application for a robot of this the objects according to the outputs of IR
type. In this case, to keep costs and design sensors and color sensor.
complexity low, the robot is designed
around the platform and uses several
different sensors to collect information
about the robot’s environment to allow
the robot to react accordingly. This paper
aims at the problem I am attempting to
solve is to create an autonomous robot
that can identify objects when placed on
the conveyor belt based on color sensing
and then sort by relocating them to a
specific location. It will be using a picking
arm which uses a controller motor to pick
the object from the conveyor belt and
place it according to the color sensing.[4]
3
Servomotors are placed between the IR
sensors.
5
It contains everything needed to support
the microcontroller; simply connect it to a
computer with a USB cable or power it
with a AC-to DC adapter or battery to get
started. The Mega is compatible with
most shields designed for the Arduino
Duemilanove or Diecimila
AREF. Reference voltage for the analog A Software Serial library allows for serial
inputs. Used with analogReference(). communication on any of the Mega2560’s
9
digital pins. The Atmega2560 also Inthe TCS3200, the light-to-frequency
supports I2C (TWI) and SPI converter reads an 8 x 8 array of
communication. The Arduino software photodiodes. Sixteen photodiodes have
includes a Wire library to simplify use of blue filters, 16 photodiodes have green
the I2C bus; see the documentation on the filters, 16 photodiodes have red filters,
Wiring website for details. For SPI and 16 photodiodes are clear with no
communication, use the SPI library. filters. In the TCS3210, the light-to
frequency converter reads a 4 x 6 array of
3.4 COLOR SENSOR TCS3200D photodiodes. Six photodiodes have blue
filters, 6 photodiodes have green filters, 6
The TCS3200 and TCS3210 programmable photodiodes have red filters, and 6
color light to frequency converters that photodiodes are clear with no filters. The
combine configurable silicon photodiodes four types (colors) of photodiodes are
and a current to frequency converter on a interdigitated to minimize the effect of
single monolithic CMOS integrated circuit. non-uniformity of incident irradiance. All
The output is a square wave (50% duty photodiodes of the same color are
cycle) with frequency directly connected in parallel. Pins S2 and S3 are
proportional to light intensity (irradiance). used to select which group of photodiodes
The full-scale output frequency can be (red, green, blue, clear) are active.
scaled by one of three preset values via Photodiodes are 110 μm x 110 μm in size
two control input pins. and are on134-μm centers.
Digital inputs and digital output allow
direct interface to a microcontroller or
other logic circuitry. Output enable (OE)
places the output in the high-impedance
state for multiple-unit sharing of a
microcontroller input line.
Fig.3.4 color sensor functional block diagram
10
Table.3.2 Output Selectable Options of color sensor
Table.3.1 Output frequency scaling of color sensor
OUTPUT S S
S0 S1 FREQUENCY
2 3 PHOTODIOD
SCALING (f0)
E TYPE
L L POWER
L L RED
DOWN
L H 2% L H
BLUE
H L 20%
H L
H H 100% CLEAR
H H
GREEN
11
3.9.1.1 IR SENSOR MODULE 3.5.1 FEATURES
IR obstacle-based detector
Adjustable range with POT.
Logic output 1 or 0.
Sensitivity up to 30cm adjustable
3.5.3 SPECIFICATIONS
Table.3.3 Specifications of IR Sensor Module
PARAMETER VALUE
3 .6 SERVOMOTOR(SG90)
13
3.6.1 WORKING PRINCIPLE OF SERVO MOTORS
14
Operating voltage: 4.8 V (~5V)
Dead band width: 10 µs
Temperature range: 0 ºC – 55
3.6.2 SPECIFICATIONS
Weight: 9 g
Dimension: 22.2 x 11.8 x 31 mm
28pprox..
Stall torque: 1.8 kgf·cm
Operating speed: 0.1 s/60 degree
15
3.7 CONVEYOR BELT SYSTEM the cover. The carcass is often a woven fabric having
A conveyor belt is the carrying medium of a belt a warp & weft. The most common carcass materials
conveyor system (often shortened to belt conveyor). are polyester, nylon and cotton. The cover is often
A belt conveyor system is one of many types of various rubber or plastic compounds specified by use
conveyor systems. A belt conveyor system consists of of the belt. Covers can be made from more exotic
two or more pulleys (sometimes referred to as materials for unusual applications such as silicone for
drums), with an endless loop of carrying medium the heat or gum rubber when traction is essential. A
conveyor belt that rotates about them. One or both conveyor belt can be a slide and be controlled by the
pulleys are powered, moving the belt and the force of gravity.
material on the belt forward. The powered pulley is
Material flowing over the belt may be weighed in
called the drive pulley while the unpowered pulley is
transit using a belt weigher. Belts with regularly
called the idler pulley. There are two main industrial
spaced partitions, known as elevator belts, are used
classes of belt conveyors; Those in general material
for transporting loose materials up steep inclines.
handling such as those moving boxes along inside a
Belt Conveyors are used in self-unloading bulk
factory and bulk material handling such as those
freighters and in live bottom trucks. Belt conveyor
used to transport large volumes of resources and
technology is also used in conveyor transport such
agricultural materials, such as grain, salt, coal, ore,
as moving sidewalks or escalators, as well as on
sand, overburden and more. Today there are
many manufacturing assembly lines. Stores often
different types of conveyor belts that have been
have conveyor belts at the check-out counter to
created for conveying different kinds of material
move shopping items. Ski areas also use conveyor
available in PVC and rubber materials. The belt
belts to transport skiers up the hill. Some of the
consists of one or more layers of material. Many
major global conveyor belt manufacturers and
belts in general material handling have two layers.
service providers are Fenner plc, Kale
An under layer of material to provide linear strength
and shape called a carcass and an over layer called
16
Conveyor,Terra Nova Technologies, ThyssenKrupp,
HESE Maschinenfabrik GmbH and Tenova Takraf.
3.8.1BLOCK DIAGRAM OF POWER SUPPLY
(a) Capacitors
17
Components used are as follows A diode can be used as rectifier. There are various
types of diodes. However, semiconductor diodes are
(i) 100µF/25v for +12v very popularly used as rectifiers. A semiconductor
diode is a solid-state device consisting of two
(ii) 2200µF/25v elements is being an electron emitter or cathode, the
other an electron collector or anode. Since electrons
in a semiconductor diode can flow in one direction
(b) Step down transformer
only-form emitter to collector-the diode provides
the unilateral conduction necessary for rectification.
(i) 230v / 12v- 0 -12v/ 500Ma Transformer
The rectified Output is filtered for smoothening the
DC, for this purpose capacitor is used in the filter
(c) Diodes: 1N4007 circuit. The filter capacitors are usually connected in
parallel with the rectifier output and the load. The AC
can pass through a capacitor, but DC cannot, the
ripples are thus limited, and the output becomes
smoothed. When the voltage across the capacitor
plates tends to rise, it stores up energy back into
voltage and current. Thus, the fluctuation in the
output voltage is reduced considerable
19
Output Transistor Safe Operating Area
Protection
21
4.4 FLOW CHART
22
FIG.5.1 OBJECT SORTING AND COLOUR DETECTION USING ARDUINO
23
FIG.5.2 RESULT OF COLOR SORTING ON SERIAL MONITOR
The proposed system has separated objects according to their size and has indicated color of an object the results shown in tables given
below and speed of motors for 5V:
6 Inches 10 9 90
24
6. CONCLUSION AND FUTURSCOPE
5.2ADVANTAGES 6.1CONCLUSION
Sorting the objects according We can conclude that time and human effort can be
to the size. reduced by implementing such projects in industries like
Sorting the objects according chemical, food, chip manufacturing etc.
to the three colors.
Easy analysis.
Human work can be reduced. 6.2FUTURE SCOPE
Less costly for small scale Can be used in color spaces other than
industries. RGB with high accuracy.
Can be used in industrial level to sort
5.4APPLICATIONS materials according to their temperature.
Can be used to sort only particular objects
Automotive industry. from a group.
Food and Packaging industries.
Computer and Electronic industry.
Aerospace field
25
REFERENCES ACKNOWLEDGEMENT
1. ”Object Sorting using Color Sensor and Arduino " by The authors would like to thank Mr.P.Bhupa Reddy, Ms.K.Vijay Kumari
ushar G. Gaikar , Soham N. Zadokar ,Rajendra S. for their help in technical design and documentation.
Bhandari , Sagar S. Patil.
26