CEERI Plastic Sorter Report Partial
CEERI Plastic Sorter Report Partial
CEERI Plastic Sorter Report Partial
Submitted By
S.V.Kaushik
B.E. - Computer Science and Engineering
(2008-2012)
Shree Motilal Kanhaiyalal Fomra Institute of Technology,
Old Mahabalipuram Road, Thaiyur, Chengalpet Taluk.
Pin: 603103.
4, Prerequisites 6
7 Bibliography 7
Plastic Sorter for Plastic Waste Recycling
INTRODUCTION:
Plastics are widely used non-biodegradable materials. Instead of throwing away the
existing plastics and manufacturing them again, we recycle them. In existing hand-sorting
techniques, the rate at which plastics are sorted is far lesser when compared to automated
plastics sorting systems. Such automated systems use NIR spectrum to categorize
plastics. The software required to process the process the data from spectrometer was
developed using C++.
SOFTWARE DESCRIPTION:
The application titled “Plastic Sorter - CEERI” was developed using Visual C++ 6.0. It
uses HTML and JavaScript to provide rich user interface, while serial communication
and data processing part is done in C++ to achieve higher performance.
USAGE SPECIFICATION:
Before starting the application, make sure that:
(i) The spectrometer is switched ON.
(ii) The Motor is powered ON.
(iii) The Lamps are powered ON.
Use this to start the application. Once the application starts, it will try to initialize the
spectrometer.
If it could not properly initialize the spectrometer within 5 seconds of startup, the
application will show an error message as shown in Fig (1), and terminate abruptly when
the OK button is pressed. It is to be noted that switching on the spectrometer in this 5 sec
interval will not work.
.
Fig (1)
1
If successful, login screen as shown in Fig (2) is displayed.
Fig (2)
On entering any of these modes, the CSIR logo will smoothly fade off to provide better
readability and keep the screen clean.
2
Administrator Mode:
Fig (3)
The “Dark” button may be used to take Dark Readings. A dialog asks for confirmation
before the Dark values are actually read and stored (so that an accidental press of the
button will not overwrite the existing Dark Readings).
Similarly, the “Reference” button may be used to take Reference Readings. Again, a
dialog appears asking the administrator to confirm his/her action.
It is to be noted that the “Reference” button will be enabled only if the Lamp Source is
turned on. However, when the lamp source is turned on, the “Dark” button gets disabled.
Obviously, it is impossible to have both the “Dark” and “Reference” buttons enabled at
the same time.
The three checkboxes provided in this screen can be used to test the three devices
individually.
Finally, the administrator can go back to the login screen by clicking on the “Logout”
button. There is no confirmation asked before the administrator logs out.
3
Operator Mode:
Fig (4)
Fig (4) shows how the screen looks when the operator logs in.
First of all, the material which we wish to segregate is to be selected using the “Material
to sort” dropdown menu [as shown in Fig (4)]. By default, it is PET.
The “Start” button is to be used to start the sorting process. The Lamps and Motors will
be turned on automatically by the software. Please wait for the motor to pickup its full
speed before feeding the system with plastics.
The “Pause” button can be used to temporarily suspend the process of sorting. When the
system is paused, the software will not take input from the spectrometer even when the
sensor circuit indicates that a plastic article is placed under the spectrometer. However,
certain pending operations are not affected, that is even if the system is paused after the
plastic has passed through the spectrometer and hasn’t reached the airjet-nozzle; the
process of segregation of that plastic article remains unaffected.
Moreover, motor and lamps are turned off by the software as a power saving measure.
4
Fig (5)
The “Pause” button will change its caption to “Resume”, which can be clicked to resume
the process of sorting. The software will once again turn on the motor and lamps.
The “Stop and Reset” button can be used to stop the process of sorting. Several buffers
are cleared from memory. All counters are reset after completion of pending operations,
if any. But the user will see only the old values on screen until he restarts the sorting
process by clicking the “Start” button (which gives him enough time to note down the
number of plastics of each type).
On restarting the sorting process, the Dark readings, Reference readings and the 250
sample readings are reread from corresponding files.
At any point of time, if the user tries to close the application, a dialog asks the user to
confirm his action.
5
PREREQUISITES:
6
IDR_HTML1 (Resource) 7 of 7
"othersStyle">Others</font></td>
298 <td height="100px" width="10%"><font id="others-colon" class=
"othersStyle">:</font></td>
299 <td height="100px" width="36%" style="text-align: right"><font id=
"others-count" class="othersStyle">0</font></td>
300 </tr>
301 SAMPLE SOURCE ONLY
302 </table>
303 </div>
304 <div id="admin-pane" style="display:none;">
305
306 <div style="float: right">
307 <input class="myButton" type="button" value="Logout" id="logout-button" onclick=
"Logout()">
308 </div>
309
310 <table border="0" style="margin-left: 200px">
311 <tr><td>
312 <p style="font-size: 70px; font-weight: bold">Calibration:</p>
313 <input class="myButton" style="margin-left: 0px" type="button" value="Dark"
id="dark-button" onclick="Inform('dark')" disabled />
314 <input class="myButton" type="button" value="Reference" id="ref-button"
onclick="Inform('ref')" disabled />
315 <p style="font-size: 70px; padding-top: 200px; font-weight: bold">Test
Devices:</p><br>
316 <input type="checkbox" id="lamp-box" ondoubleclick=
"this.checked=(!(this.checked)); conditionChanged()" onclick=
"conditionChanged()" ><label for="lamp-box"><font class="generalText">Lamp
Source</font></label><br>
317 <input type="checkbox" id="motor-box" ondoubleclick=
"this.checked=(!(this.checked)); conditionChanged()" onclick=
"conditionChanged()"><label for="motor-box"><font class="generalText">Motor
</font></label><br>
318 <input type="checkbox" id="jet-box" ondoubleclick=
"this.checked=(!(this.checked)); conditionChanged()" onclick=
"conditionChanged()"><label for="jet-box"><font class="generalText">Air Jet
</font></label><br>
319 </td></tr>
320 </table>
321 </div>
322 </body>
323 </html>
http://www.functionx.com/visualc
http://www.w3schools.com/