SlideShare a Scribd company logo
1 of 4
Download to read offline
Color sorting machine using color light to frequency converter
Assia HAMZA
assia.hamza@etu.usthb.dz
Merwan KHENAK
merwan.khenak@etu.usthb.dz
University of science and technology Houari Boumediene
BP 32, El Alia, Bab Ezzouar, 16111 Algiers, Algeria
Department of instrumentation and control
December 20, 2018
Abstract
In our daily life, our vision and actions are influenced by an abundance of geometry and color infor-
mation to identify a technical apparatus for identification. Only by analyzing color information do we
subsequently decide whether we are to continue.
In the industry, color processing is gaining a greater importance in digital signal processing.
With technological advancement optical sensors for reading operations in the visible spectrum with inte-
grated electronic readout circuits are getting affordable, that’s why we chose to use a low cost color light to
frequency converter to build a color sorting machine.
Our project was made in for pedagogical use but a further development using robust materials and compo-
nents could lead to an industrial color sorting machine for a use in the color sorting industry of recyclable
materials.
Keywords : Color sorting machine - Programmable color light to frequency converter - TCS230 - Op-
tical detector - Smart sensor - Arduino Robot - Colorimetry
1 Introduction
Humans have been quite interested in color for many
centuries. However, the scientific beginning of color
studies goes back only to Newton when he performed
his classic experiment with a prism.
Light is a narrow range of electromagnetic waves that
the eye can detect. Electromagnetic waves can have
many different wavelengths and frequencies in a range
known as the electromagnetic spectrum. Different
wavelengths of light produce different perceptions of
color. The longest wavelengths produce the percep-
tion of red, while the shortest ones produce the percep-
tion of violet. The spectrum in the visible, ultraviolet
(UV), and infrared (IR) regions is classified in a spec-
ified way.
The measurement of color is a very important issue
with applications in many types of industrial activi-
ties.
The light to frequency converter TCS230 is a small,
highly integrated color sensing device packaged in a
clear plastic 8-pin. It reports, as analog frequency, the
amount of short-wave (blue), medium-wave (green),
long-wave (red), and wideband (white) optical power
incident onto the device. It can be used in a variety of
color sensing applications.
In our case we use it to command a smart color sort-
ing machine with Arduino Nano controller. We tried
to make the most compact prototype and give it a prac-
tical use. We are going to introduce you how we made
a color sorting machine that which sorts bottles caps
in different boxes.
2 Materials and methods
In our project we only use Arduino Software IDE, but
a multitude of hardware components such as :
Light to frequency converter TCS230 :
The TCS3200 programmable color light-to-frequency
converter combines configurable silicon photodiodes
and a current-to-frequency converter on a single
monolithic CMOS integrated circuit. The output is
a square wave with frequency directly proportional to
light intensity (irradiance). The full-scale output fre-
quency can be scaled by one of three preset values via
two control input pins. Digital inputs and digital out-
put allow direct interface to a microcontroller or other
logic circuitry. Output enable (OE) places the output
1
in the high-impedance state for multiple-unit sharing
of a microcontroller input line. In the TCS3200, the
light-to-frequency converter reads an 8*8 array of pho-
todiodes. Sixteen photodiodes have blue filters, 16
photodiodes have green filters, 16 photodiodes have
red filters, and 16 photodiodes are clear with no fil-
ters. The four types (colors) of photodiodes are inter-
digitated to minimize the effect of non-uniformity of
incident irradiance. All photodiodes of the same color
are connected in parallel. Pins S2 and S3 are used to
select which group of photodiodes (red, green, blue,
clear) are active.
The benefits and features of TCS3200 Programmable
Color Light-to-Frequency Converter are that it :
- Enables High-Resolution Conversion of Light Inten-
sity to Frequency.
- Disables the Output into a Hi-Impedance State when
OE Input Pin is Low.
- Enables Output Range to be Optimized for a Variety
of Low-Cost Measurement Techniques.
- Reduces Board Space Requirements while Simplify-
ing Designs.
- Nonlinearity Error Typically 0.2 at 50kHz.
- Communicates Directly with a Microcontroller.
The functional blocks of this device are shown below
in figure 1:
Figure 1: Functional blocks of the TCS3200
And the TCS3200 pin assignments are described
below in figure 2: figure 1:
Figure 2: TCS3200 pin assignments
Arduino Nano
Arduino Nano is a small microcontroller good for
compact prototypes, it comes with a crystal oscillator
of frequency 16 MHz. It is used to produce a clock of
precise frequency using constant voltage.
Two Sg90 servo motor
We chose this specified servo motor because it is the
lightest on sale. It weights 90g and its engine couple
is up to 1,6 kg.cm on 4,8 Vcc ideal for our compact
prototype.
we use two servo motors one on the top and the 2nd at
the bottom. The top servo is used to bring the bottle
caps under our sensor, and the second servo is used to
deliver the bottle cap to the exact box of it’s color.
5V AC power battery
We chose to make an on-board power supply system
to power our electronics easily anywhere we want to
expose our prototype.
Switch
To disconnect or connect the conducting path in an
electrical circuit, interrupting the electric current or di-
verting it from one conductor to another and make the
machine ON or OFF.
Breadboard
The breadboard lets you easily insert electronic com-
ponents to to build and test an early version of the elec-
tronic circuit of the prototype.
Wires
It is necessary to connect our components in order to
make communication.
We connect the components together according to the
following circuit schematics in figure 3:
Figure 3: Schematics of the color sorting machine
The most important part beside the schematics is
how we calibrate the program to order the servo motor
to move for each color a specified direction.
So we chose 3 different colors bottle caps, red, white
and blue.
2
We pass each color under the sensor different times
and each time in the arduino real time monitor we reg-
ister the RGB colors variations for each bottle cup. By
recovering these datas we can put in our program spec-
ified RGB variation for each bottle cap color so the
servo motor moves to the correct wanted position each
time the sensor detects a bottle cap.
3 Results
The final machine prototype made is illustred in fig-
ure 4: The manner how it mechanically works is that
nitially, the colored bottle caps which are held in the
charger drop into the platform attached on the top
servo motor.
Then the servo motor rotates and brings the colored
bottle caps to the color sensor which detects its color.
After that the bottom servo motor rotates to the partic-
ular position and then the top servo motor rotates again
till the skittle drop into the guide rail.
Figure 4: Our final color sorting machine prototype
4 Conclusion
An automated color sorting machine was made at the
end of this project. Using color to frequency converter
sensor technology we learned how to make a low cost
equipment.
It’s important to admire how much sensor supplements
technology has developed in the last decade, and it’s
all fun to learn how to deal with it.
Color perception is so important for human interac-
tions, so as the industry. So making intelligent auto-
mated machine that can do tasks alone is a big invest-
ment of time for industries.
As many applications in the future require sensor
systems we want to participate in the creation of those
systems, and we won’t be able to achieve our goals
unless we master a variety of sensors.
Acknowledgement
The authors would like to express their special thanks
of gratitude to mr Dejan Nedelkovski founder of ’How
to mecatronics’ who made this work open source to
everyone wanting to learn about it.
3
References
Gaurav Sharma 2003, Electrical engineering and applied signal processing series, Digital Color Imaging Hand-
book
Andreas Koschan, Mongi Abidi 2008, Digital color image processing
Christine Fernandez - Maloigne 2013, Advanced Color Image Processing and Analysis
Asch, Georges 2015, Acquisition de donnees : Du capteur aa l’ordinateur
David C. Swanson 2000, Signal Processing for Intelligent Sensor Systems
Forrest M. Mims III 1996, Engineer’s Mini-Notebook: Sensor Projects
Daniel Malacara 2011, Color Vision and Colorimetry THEORY and APPLICATIONS
4

More Related Content

What's hot

Smartsensor 120713051429-phpapp02
Smartsensor 120713051429-phpapp02Smartsensor 120713051429-phpapp02
Smartsensor 120713051429-phpapp02Chakridhar Chakri
 
DIGITAL SIGNAL PROCESSING
DIGITAL SIGNAL PROCESSINGDIGITAL SIGNAL PROCESSING
DIGITAL SIGNAL PROCESSINGSnehal Hedau
 
DIGITAL SIGNAL PROCESWSING AND ITS APPLICATION
DIGITAL SIGNAL PROCESWSING AND ITS APPLICATIONDIGITAL SIGNAL PROCESWSING AND ITS APPLICATION
DIGITAL SIGNAL PROCESWSING AND ITS APPLICATIONLokeshBanarse
 
Automatic Unauthorized Parking Detector With SMS Notification To Owner
Automatic Unauthorized Parking Detector With SMS Notification To OwnerAutomatic Unauthorized Parking Detector With SMS Notification To Owner
Automatic Unauthorized Parking Detector With SMS Notification To OwnerAkshit Samnani
 
next generation smart sensor
next generation smart sensornext generation smart sensor
next generation smart sensorRicha Ritambhara
 
IRJET- IoT Color based Product Sorting Machine
IRJET- IoT Color based Product Sorting MachineIRJET- IoT Color based Product Sorting Machine
IRJET- IoT Color based Product Sorting MachineIRJET Journal
 
Digital signal processing
Digital signal processingDigital signal processing
Digital signal processingvanikeerthika
 
Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
Bidirectional Visitor Counter using IR sensors and Arduino Uno R3Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
Bidirectional Visitor Counter using IR sensors and Arduino Uno R3Abhishekvb
 
Romain Rogister DSP ppt V2003
Romain  Rogister  DSP  ppt V2003Romain  Rogister  DSP  ppt V2003
Romain Rogister DSP ppt V2003Romain Rogister
 
Design, Construction and Performance Test of a Color Sorter
Design, Construction and Performance Test of a Color SorterDesign, Construction and Performance Test of a Color Sorter
Design, Construction and Performance Test of a Color SorterMd. Muntasir R- Rafi
 
Practical Digital Signal Processing for Engineers and Technicians
Practical Digital Signal Processing for Engineers and TechniciansPractical Digital Signal Processing for Engineers and Technicians
Practical Digital Signal Processing for Engineers and TechniciansLiving Online
 
IOT based Automatic Colour Sorting Machine
IOT based Automatic Colour Sorting MachineIOT based Automatic Colour Sorting Machine
IOT based Automatic Colour Sorting Machinevivatechijri
 
Real-Time Signal Processing: Implementation and Application
Real-Time Signal Processing:  Implementation and ApplicationReal-Time Signal Processing:  Implementation and Application
Real-Time Signal Processing: Implementation and Applicationsathish sak
 
Advanced Topics In Digital Signal Processing
Advanced Topics In Digital Signal ProcessingAdvanced Topics In Digital Signal Processing
Advanced Topics In Digital Signal ProcessingJim Jenkins
 
digital signal processing
digital signal processing digital signal processing
digital signal processing Marmik Kothari
 

What's hot (20)

Smartsensor 120713051429-phpapp02
Smartsensor 120713051429-phpapp02Smartsensor 120713051429-phpapp02
Smartsensor 120713051429-phpapp02
 
DIGITAL SIGNAL PROCESSING
DIGITAL SIGNAL PROCESSINGDIGITAL SIGNAL PROCESSING
DIGITAL SIGNAL PROCESSING
 
DIGITAL SIGNAL PROCESWSING AND ITS APPLICATION
DIGITAL SIGNAL PROCESWSING AND ITS APPLICATIONDIGITAL SIGNAL PROCESWSING AND ITS APPLICATION
DIGITAL SIGNAL PROCESWSING AND ITS APPLICATION
 
Automatic Unauthorized Parking Detector With SMS Notification To Owner
Automatic Unauthorized Parking Detector With SMS Notification To OwnerAutomatic Unauthorized Parking Detector With SMS Notification To Owner
Automatic Unauthorized Parking Detector With SMS Notification To Owner
 
next generation smart sensor
next generation smart sensornext generation smart sensor
next generation smart sensor
 
IRJET- IoT Color based Product Sorting Machine
IRJET- IoT Color based Product Sorting MachineIRJET- IoT Color based Product Sorting Machine
IRJET- IoT Color based Product Sorting Machine
 
B044020609
B044020609B044020609
B044020609
 
Digital signal processing
Digital signal processingDigital signal processing
Digital signal processing
 
Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
Bidirectional Visitor Counter using IR sensors and Arduino Uno R3Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
 
Romain Rogister DSP ppt V2003
Romain  Rogister  DSP  ppt V2003Romain  Rogister  DSP  ppt V2003
Romain Rogister DSP ppt V2003
 
Design, Construction and Performance Test of a Color Sorter
Design, Construction and Performance Test of a Color SorterDesign, Construction and Performance Test of a Color Sorter
Design, Construction and Performance Test of a Color Sorter
 
Arduino
ArduinoArduino
Arduino
 
Practical Digital Signal Processing for Engineers and Technicians
Practical Digital Signal Processing for Engineers and TechniciansPractical Digital Signal Processing for Engineers and Technicians
Practical Digital Signal Processing for Engineers and Technicians
 
Dsp presentation
Dsp presentationDsp presentation
Dsp presentation
 
IOT based Automatic Colour Sorting Machine
IOT based Automatic Colour Sorting MachineIOT based Automatic Colour Sorting Machine
IOT based Automatic Colour Sorting Machine
 
Real-Time Signal Processing: Implementation and Application
Real-Time Signal Processing:  Implementation and ApplicationReal-Time Signal Processing:  Implementation and Application
Real-Time Signal Processing: Implementation and Application
 
Advanced Topics In Digital Signal Processing
Advanced Topics In Digital Signal ProcessingAdvanced Topics In Digital Signal Processing
Advanced Topics In Digital Signal Processing
 
Dsp class 1
Dsp class 1Dsp class 1
Dsp class 1
 
Introduction to digital signal processing
Introduction to digital signal processingIntroduction to digital signal processing
Introduction to digital signal processing
 
digital signal processing
digital signal processing digital signal processing
digital signal processing
 

Similar to Color sorting machine using color light to frequency converter

Color to sound converter for blind people
Color to sound converter for blind peopleColor to sound converter for blind people
Color to sound converter for blind peopleIRJET Journal
 
machine (colour sorting in food)
machine (colour sorting in food) machine (colour sorting in food)
machine (colour sorting in food) Venkatkumar78
 
Porte à puce - Smart Safety Door based on Arduino UNO R3
Porte à puce - Smart Safety Door based on Arduino UNO R3Porte à puce - Smart Safety Door based on Arduino UNO R3
Porte à puce - Smart Safety Door based on Arduino UNO R3Meifani Sumadijaya
 
Smart Safety Door based on Arduino Uno R3
Smart Safety Door based on Arduino Uno R3Smart Safety Door based on Arduino Uno R3
Smart Safety Door based on Arduino Uno R3Ziddan Kundrat
 
Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors B...
Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors  B...Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors  B...
Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors B...Faqih Fadhila Ardiansyah
 
Garbage Monitoring System using Arduino
Garbage Monitoring System using ArduinoGarbage Monitoring System using Arduino
Garbage Monitoring System using Arduinoijtsrd
 
IOT Vehicle Fuel Theft Detection System Using Arduino.pptx
IOT Vehicle Fuel Theft Detection System Using Arduino.pptxIOT Vehicle Fuel Theft Detection System Using Arduino.pptx
IOT Vehicle Fuel Theft Detection System Using Arduino.pptxDeepakK547422
 
Automatic Car Parking
Automatic Car ParkingAutomatic Car Parking
Automatic Car ParkingIRJET Journal
 
IRJET- Oranges Sorting using Arduino Microcontroller
IRJET- Oranges Sorting using Arduino MicrocontrollerIRJET- Oranges Sorting using Arduino Microcontroller
IRJET- Oranges Sorting using Arduino MicrocontrollerIRJET Journal
 
Color Sensor.pptx
Color Sensor.pptxColor Sensor.pptx
Color Sensor.pptxRituSachan2
 
IRJET - Frequency Spectrum Analyser through OLED Display using Arduino Contro...
IRJET - Frequency Spectrum Analyser through OLED Display using Arduino Contro...IRJET - Frequency Spectrum Analyser through OLED Display using Arduino Contro...
IRJET - Frequency Spectrum Analyser through OLED Display using Arduino Contro...IRJET Journal
 
IRJET- Review on Colored Object Sorting System using Arduino UNO
IRJET- Review on Colored Object Sorting System using Arduino UNOIRJET- Review on Colored Object Sorting System using Arduino UNO
IRJET- Review on Colored Object Sorting System using Arduino UNOIRJET Journal
 
Embedded Application on Microcontroller in Assembly and Embedded C
Embedded Application on Microcontroller in Assembly and Embedded CEmbedded Application on Microcontroller in Assembly and Embedded C
Embedded Application on Microcontroller in Assembly and Embedded CAvinash Reddy Penugonda
 
Decibel meter using IoT with notice board
Decibel meter using IoT with notice boardDecibel meter using IoT with notice board
Decibel meter using IoT with notice boardIRJET Journal
 
IRJET- Smart Hand Gloves for Disable People
IRJET-  	  Smart Hand Gloves for Disable PeopleIRJET-  	  Smart Hand Gloves for Disable People
IRJET- Smart Hand Gloves for Disable PeopleIRJET Journal
 
IRJET- Iot Based Route Assistance for Visually Challenged
IRJET- Iot Based Route Assistance for Visually ChallengedIRJET- Iot Based Route Assistance for Visually Challenged
IRJET- Iot Based Route Assistance for Visually ChallengedIRJET Journal
 
COLOR AUTHENTICATION AND FAULT DETECTION USING EMBEDDED SYSTEM
COLOR AUTHENTICATION AND FAULT DETECTION USING EMBEDDED SYSTEMCOLOR AUTHENTICATION AND FAULT DETECTION USING EMBEDDED SYSTEM
COLOR AUTHENTICATION AND FAULT DETECTION USING EMBEDDED SYSTEMmlnptl
 
Gesture Control Robot using Arduino
Gesture Control Robot using ArduinoGesture Control Robot using Arduino
Gesture Control Robot using Arduinoijtsrd
 
ARM Based Handy and Portable Oscilloscope Using Graphical Display
ARM Based Handy and Portable Oscilloscope Using Graphical DisplayARM Based Handy and Portable Oscilloscope Using Graphical Display
ARM Based Handy and Portable Oscilloscope Using Graphical DisplayIJERA Editor
 
Adding Remote Controller Functionality To Any Stereo
 Adding Remote Controller Functionality To Any Stereo Adding Remote Controller Functionality To Any Stereo
Adding Remote Controller Functionality To Any StereoEditor IJCATR
 

Similar to Color sorting machine using color light to frequency converter (20)

Color to sound converter for blind people
Color to sound converter for blind peopleColor to sound converter for blind people
Color to sound converter for blind people
 
machine (colour sorting in food)
machine (colour sorting in food) machine (colour sorting in food)
machine (colour sorting in food)
 
Porte à puce - Smart Safety Door based on Arduino UNO R3
Porte à puce - Smart Safety Door based on Arduino UNO R3Porte à puce - Smart Safety Door based on Arduino UNO R3
Porte à puce - Smart Safety Door based on Arduino UNO R3
 
Smart Safety Door based on Arduino Uno R3
Smart Safety Door based on Arduino Uno R3Smart Safety Door based on Arduino Uno R3
Smart Safety Door based on Arduino Uno R3
 
Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors B...
Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors  B...Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors  B...
Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors B...
 
Garbage Monitoring System using Arduino
Garbage Monitoring System using ArduinoGarbage Monitoring System using Arduino
Garbage Monitoring System using Arduino
 
IOT Vehicle Fuel Theft Detection System Using Arduino.pptx
IOT Vehicle Fuel Theft Detection System Using Arduino.pptxIOT Vehicle Fuel Theft Detection System Using Arduino.pptx
IOT Vehicle Fuel Theft Detection System Using Arduino.pptx
 
Automatic Car Parking
Automatic Car ParkingAutomatic Car Parking
Automatic Car Parking
 
IRJET- Oranges Sorting using Arduino Microcontroller
IRJET- Oranges Sorting using Arduino MicrocontrollerIRJET- Oranges Sorting using Arduino Microcontroller
IRJET- Oranges Sorting using Arduino Microcontroller
 
Color Sensor.pptx
Color Sensor.pptxColor Sensor.pptx
Color Sensor.pptx
 
IRJET - Frequency Spectrum Analyser through OLED Display using Arduino Contro...
IRJET - Frequency Spectrum Analyser through OLED Display using Arduino Contro...IRJET - Frequency Spectrum Analyser through OLED Display using Arduino Contro...
IRJET - Frequency Spectrum Analyser through OLED Display using Arduino Contro...
 
IRJET- Review on Colored Object Sorting System using Arduino UNO
IRJET- Review on Colored Object Sorting System using Arduino UNOIRJET- Review on Colored Object Sorting System using Arduino UNO
IRJET- Review on Colored Object Sorting System using Arduino UNO
 
Embedded Application on Microcontroller in Assembly and Embedded C
Embedded Application on Microcontroller in Assembly and Embedded CEmbedded Application on Microcontroller in Assembly and Embedded C
Embedded Application on Microcontroller in Assembly and Embedded C
 
Decibel meter using IoT with notice board
Decibel meter using IoT with notice boardDecibel meter using IoT with notice board
Decibel meter using IoT with notice board
 
IRJET- Smart Hand Gloves for Disable People
IRJET-  	  Smart Hand Gloves for Disable PeopleIRJET-  	  Smart Hand Gloves for Disable People
IRJET- Smart Hand Gloves for Disable People
 
IRJET- Iot Based Route Assistance for Visually Challenged
IRJET- Iot Based Route Assistance for Visually ChallengedIRJET- Iot Based Route Assistance for Visually Challenged
IRJET- Iot Based Route Assistance for Visually Challenged
 
COLOR AUTHENTICATION AND FAULT DETECTION USING EMBEDDED SYSTEM
COLOR AUTHENTICATION AND FAULT DETECTION USING EMBEDDED SYSTEMCOLOR AUTHENTICATION AND FAULT DETECTION USING EMBEDDED SYSTEM
COLOR AUTHENTICATION AND FAULT DETECTION USING EMBEDDED SYSTEM
 
Gesture Control Robot using Arduino
Gesture Control Robot using ArduinoGesture Control Robot using Arduino
Gesture Control Robot using Arduino
 
ARM Based Handy and Portable Oscilloscope Using Graphical Display
ARM Based Handy and Portable Oscilloscope Using Graphical DisplayARM Based Handy and Portable Oscilloscope Using Graphical Display
ARM Based Handy and Portable Oscilloscope Using Graphical Display
 
Adding Remote Controller Functionality To Any Stereo
 Adding Remote Controller Functionality To Any Stereo Adding Remote Controller Functionality To Any Stereo
Adding Remote Controller Functionality To Any Stereo
 

Recently uploaded

(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduitsrknatarajan
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 

Recently uploaded (20)

Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 

Color sorting machine using color light to frequency converter

  • 1. Color sorting machine using color light to frequency converter Assia HAMZA assia.hamza@etu.usthb.dz Merwan KHENAK merwan.khenak@etu.usthb.dz University of science and technology Houari Boumediene BP 32, El Alia, Bab Ezzouar, 16111 Algiers, Algeria Department of instrumentation and control December 20, 2018 Abstract In our daily life, our vision and actions are influenced by an abundance of geometry and color infor- mation to identify a technical apparatus for identification. Only by analyzing color information do we subsequently decide whether we are to continue. In the industry, color processing is gaining a greater importance in digital signal processing. With technological advancement optical sensors for reading operations in the visible spectrum with inte- grated electronic readout circuits are getting affordable, that’s why we chose to use a low cost color light to frequency converter to build a color sorting machine. Our project was made in for pedagogical use but a further development using robust materials and compo- nents could lead to an industrial color sorting machine for a use in the color sorting industry of recyclable materials. Keywords : Color sorting machine - Programmable color light to frequency converter - TCS230 - Op- tical detector - Smart sensor - Arduino Robot - Colorimetry 1 Introduction Humans have been quite interested in color for many centuries. However, the scientific beginning of color studies goes back only to Newton when he performed his classic experiment with a prism. Light is a narrow range of electromagnetic waves that the eye can detect. Electromagnetic waves can have many different wavelengths and frequencies in a range known as the electromagnetic spectrum. Different wavelengths of light produce different perceptions of color. The longest wavelengths produce the percep- tion of red, while the shortest ones produce the percep- tion of violet. The spectrum in the visible, ultraviolet (UV), and infrared (IR) regions is classified in a spec- ified way. The measurement of color is a very important issue with applications in many types of industrial activi- ties. The light to frequency converter TCS230 is a small, highly integrated color sensing device packaged in a clear plastic 8-pin. It reports, as analog frequency, the amount of short-wave (blue), medium-wave (green), long-wave (red), and wideband (white) optical power incident onto the device. It can be used in a variety of color sensing applications. In our case we use it to command a smart color sort- ing machine with Arduino Nano controller. We tried to make the most compact prototype and give it a prac- tical use. We are going to introduce you how we made a color sorting machine that which sorts bottles caps in different boxes. 2 Materials and methods In our project we only use Arduino Software IDE, but a multitude of hardware components such as : Light to frequency converter TCS230 : The TCS3200 programmable color light-to-frequency converter combines configurable silicon photodiodes and a current-to-frequency converter on a single monolithic CMOS integrated circuit. The output is a square wave with frequency directly proportional to light intensity (irradiance). The full-scale output fre- quency can be scaled by one of three preset values via two control input pins. Digital inputs and digital out- put allow direct interface to a microcontroller or other logic circuitry. Output enable (OE) places the output 1
  • 2. in the high-impedance state for multiple-unit sharing of a microcontroller input line. In the TCS3200, the light-to-frequency converter reads an 8*8 array of pho- todiodes. Sixteen photodiodes have blue filters, 16 photodiodes have green filters, 16 photodiodes have red filters, and 16 photodiodes are clear with no fil- ters. The four types (colors) of photodiodes are inter- digitated to minimize the effect of non-uniformity of incident irradiance. All photodiodes of the same color are connected in parallel. Pins S2 and S3 are used to select which group of photodiodes (red, green, blue, clear) are active. The benefits and features of TCS3200 Programmable Color Light-to-Frequency Converter are that it : - Enables High-Resolution Conversion of Light Inten- sity to Frequency. - Disables the Output into a Hi-Impedance State when OE Input Pin is Low. - Enables Output Range to be Optimized for a Variety of Low-Cost Measurement Techniques. - Reduces Board Space Requirements while Simplify- ing Designs. - Nonlinearity Error Typically 0.2 at 50kHz. - Communicates Directly with a Microcontroller. The functional blocks of this device are shown below in figure 1: Figure 1: Functional blocks of the TCS3200 And the TCS3200 pin assignments are described below in figure 2: figure 1: Figure 2: TCS3200 pin assignments Arduino Nano Arduino Nano is a small microcontroller good for compact prototypes, it comes with a crystal oscillator of frequency 16 MHz. It is used to produce a clock of precise frequency using constant voltage. Two Sg90 servo motor We chose this specified servo motor because it is the lightest on sale. It weights 90g and its engine couple is up to 1,6 kg.cm on 4,8 Vcc ideal for our compact prototype. we use two servo motors one on the top and the 2nd at the bottom. The top servo is used to bring the bottle caps under our sensor, and the second servo is used to deliver the bottle cap to the exact box of it’s color. 5V AC power battery We chose to make an on-board power supply system to power our electronics easily anywhere we want to expose our prototype. Switch To disconnect or connect the conducting path in an electrical circuit, interrupting the electric current or di- verting it from one conductor to another and make the machine ON or OFF. Breadboard The breadboard lets you easily insert electronic com- ponents to to build and test an early version of the elec- tronic circuit of the prototype. Wires It is necessary to connect our components in order to make communication. We connect the components together according to the following circuit schematics in figure 3: Figure 3: Schematics of the color sorting machine The most important part beside the schematics is how we calibrate the program to order the servo motor to move for each color a specified direction. So we chose 3 different colors bottle caps, red, white and blue. 2
  • 3. We pass each color under the sensor different times and each time in the arduino real time monitor we reg- ister the RGB colors variations for each bottle cup. By recovering these datas we can put in our program spec- ified RGB variation for each bottle cap color so the servo motor moves to the correct wanted position each time the sensor detects a bottle cap. 3 Results The final machine prototype made is illustred in fig- ure 4: The manner how it mechanically works is that nitially, the colored bottle caps which are held in the charger drop into the platform attached on the top servo motor. Then the servo motor rotates and brings the colored bottle caps to the color sensor which detects its color. After that the bottom servo motor rotates to the partic- ular position and then the top servo motor rotates again till the skittle drop into the guide rail. Figure 4: Our final color sorting machine prototype 4 Conclusion An automated color sorting machine was made at the end of this project. Using color to frequency converter sensor technology we learned how to make a low cost equipment. It’s important to admire how much sensor supplements technology has developed in the last decade, and it’s all fun to learn how to deal with it. Color perception is so important for human interac- tions, so as the industry. So making intelligent auto- mated machine that can do tasks alone is a big invest- ment of time for industries. As many applications in the future require sensor systems we want to participate in the creation of those systems, and we won’t be able to achieve our goals unless we master a variety of sensors. Acknowledgement The authors would like to express their special thanks of gratitude to mr Dejan Nedelkovski founder of ’How to mecatronics’ who made this work open source to everyone wanting to learn about it. 3
  • 4. References Gaurav Sharma 2003, Electrical engineering and applied signal processing series, Digital Color Imaging Hand- book Andreas Koschan, Mongi Abidi 2008, Digital color image processing Christine Fernandez - Maloigne 2013, Advanced Color Image Processing and Analysis Asch, Georges 2015, Acquisition de donnees : Du capteur aa l’ordinateur David C. Swanson 2000, Signal Processing for Intelligent Sensor Systems Forrest M. Mims III 1996, Engineer’s Mini-Notebook: Sensor Projects Daniel Malacara 2011, Color Vision and Colorimetry THEORY and APPLICATIONS 4