Last active 1746444187

sujal's Avatar sujal revised this gist 1746444187. Go to revision

3 files changed, 506 insertions, 15 deletions

ipu.cls

@@ -20,7 +20,7 @@
20 20 % --- Arguments ---
21 21 \renewcommand{\@author}{Sujal Singh}
22 22 \newcommand{\@rollno}{04119051723}
23 - \newcommand{\@batch}{IIOT--B1--23}
23 + \newcommand{\@batch}{IIOT--B1 (2023--27)}
24 24 \newcommand{\@doctitle}{Internet of Things Lab -- Project Report}
25 25 \newcommand{\@projecttitle}{Filament Drying Box}
26 26 \renewcommand{\author}[1]{\renewcommand{\@author}{#1}}
@@ -65,6 +65,50 @@
65 65 \DefTblrTemplate{contfoot}{default}{} % Removes text denoting continuation on next page
66 66
67 67
68 + \usemintedstyle{bw}
69 + % Changes minted line number size
70 + \renewcommand{\theFancyVerbLine}{\parbox{10pt}{\centering\footnotesize\arabic{FancyVerbLine}}}
71 +
72 + \newtcblisting{code}[2]{
73 + listing only,
74 + listing engine=minted,
75 + minted language=#2,
76 + breakable,
77 + enhanced,
78 + colback=white,
79 + coltitle=black,
80 + colbacktitle=white,
81 + top=0pt,
82 + bottom=0pt,
83 + sharp corners,
84 + title=\textbf{#1:},
85 + minted options = {
86 + linenos,
87 + stripall,
88 + breaklines,
89 + xleftmargin=10pt,
90 + },
91 + overlay={%
92 + \begin{tcbclipinterior}
93 + \draw [line width=1pt] (frame.north west) rectangle ([xshift=18pt]frame.south west);
94 + \end{tcbclipinterior}
95 + }}
96 +
97 + \BeforeBeginEnvironment{code}{\vspace*{-18pt}}
98 +
99 + \newtcolorbox{tabularsection}[1]{
100 + breakable,
101 + enhanced,
102 + colback=white,
103 + coltitle=black,
104 + colbacktitle=white,
105 + top=0pt,
106 + bottom=0pt,
107 + sharp corners,
108 + title=\textbf{#1:},
109 + }
110 +
111 +
68 112 \usemintedstyle{bw}
69 113 % Changes minted line number size
70 114 \renewcommand{\theFancyVerbLine}{\parbox{10pt}{\centering\footnotesize\arabic{FancyVerbLine}}}

main.tex

@@ -26,6 +26,15 @@
26 26 \addbibresource{references.bib}
27 27 \onehalfspacing
28 28
29 + \author{Pranav Bisht}
30 + \rollno{02719051723}
31 + %\author{Aditya Jain}
32 + %\rollno{01619051723}
33 + %\author{Parikshit Pandey}
34 + %\rollno{05919051723}
35 + %\author{Soham Khanna}
36 + %\rollno{06019051723}
37 +
29 38 \begin{document}
30 39
31 40 \maketitle
@@ -109,6 +118,458 @@ The control architecture employs three Relay switching circuits to regulate powe
109 118 \end{itemize}
110 119
111 120
121 + This arrangement allows precise power management without requiring the microcontroller to handle the substantial current demands of the heating and cooling components. The ESP32 monitors environmental conditions through temperature and humidity sensors, implementing control algorithms that optimize the drying process while ensuring energy efficiency8.
122 + A critical design consideration is the separation of all control electronics from the high-temperature environment within the drying chamber. This configuration protects sensitive components from heat and humidity while simplifying maintenance access.
123 +
124 + \subsection{System Integration and Power Management}
125 + The system's components are integrated within a sealed enclosure designed to maintain precise environmental conditions. A 12V, 20A power supply provides sufficient current capacity for simultaneous operation of all components, particularly during peak demand periods when both heating and cooling elements are active.
126 + The power requirements reflect the demands of the various components:
127 +
128 + \begin{itemize}
129 + \item PTC heater: Operating at 12V with variable current based on temperature
130 + \item Peltier module: Typically consuming 5-10A at 12V during active cooling
131 + \item Circulation fans: Requiring minimal current but essential for system performance
132 + \item Control electronics: Drawing minimal power but requiring stable voltage
133 + \end{itemize}
134 + \subsection{Addressing the Filament Moisture Problem}
135 + The IoT Filament Drying Box directly addresses the challenges identified in the problem statement through its comprehensive approach to moisture management. The system effectively tackles:
136 + Moisture extraction: By heating filament in a controlled environment to temperatures appropriate for specific materials (45-60°C), the system efficiently draws out absorbed moisture through increased air moisture capacity at elevated temperatures.
137 +
138 + \begin{itemize}
139 + \item \textbf{Moisture elimination:} Rather than simply heating filament (which can lead to reabsorption upon cooling), the system actively removes moisture from the internal environment through condensation, maintaining consistently low humidity levels.
140 + \item \textbf{Material protection:} The self-regulating nature of PTC heating prevents thermal damage to filaments, ensuring materials reach optimal drying temperatures without risking degradation.
141 + \item \textbf{Automation and monitoring:} IoT integration enables precise control, data logging, and remote monitoring, allowing users to optimize drying parameters for different materials and environmental conditions.
142 + \item \textbf{Continuous operation:} The system can maintain low-humidity conditions indefinitely, making it suitable for both initial drying and long-term storage during printing operations.
143 + \end{itemize}
144 + This dual-mechanism approach-combining active moisture extraction through heating with dehumidification through condensation-creates a comprehensive solution that exceeds the capabilities of conventional drying methods, effectively breaking the cycle of moisture absorption that compromises print quality and material performance.
145 + By integrating these technologies into a cohesive system, the IoT Filament Drying Box represents a significant advancement in 3D printing material management, addressing one of the most persistent challenges in additive manufacturing through an elegant application of thermodynamic principles, material science, and connected technology.
146 +
147 +
148 + \newpage
149 + \section{Problem Statement}
150 + 3D printing technology has revolutionized rapid prototyping and manufacturing across various industries by enabling the efficient fabrication of intricate geometries with high customization potential. However, a persistent and critical challenge in Fused Deposition Modeling (FDM) 3D printing lies in the hygroscopic nature of thermoplastic filaments. The tendency of these materials to absorb moisture from the surrounding environment degrades the quality and reliability of prints, posing a major obstacle to consistent manufacturing performance.
151 + \\
152 + This issue originates at the molecular level of polymer-based filaments used in FDM processes. Common 3D printing materials such as PLA, ABS, PETG, Nylon, TPU, and PVA exhibit varying degrees of hygroscopic behavior, meaning they naturally draw in moisture from ambient air. Studies have shown that filaments like ABS can reach a moisture content of over 1\% after prolonged exposure to humid conditions, while PLA can absorb nearly 0.9\% of its weight in moisture within just 24 hours at room temperature. The situation is even more severe with composite filaments—such as wood-filled PLA—which can absorb up to 500\% more moisture than standard variants.
153 + \\
154 + When these moisture-laden filaments are subjected to high extrusion temperatures (typically between 180°C and 280°C), the absorbed water undergoes rapid phase transformation into steam. This leads to two primary degradation mechanisms: foaming, where steam forms bubbles inside the extruded filament, and hydrolysis, where water breaks down polymer chains, reducing molecular weight and structural integrity. These chemical and physical changes manifest as visible defects including stringing, bubbling, poor surface finish, inconsistent layer adhesion, and reduced tensile strength. Mechanical tests show that increased filament moisture levels can reduce tensile strength by up to 25\% and introduce dimensional inaccuracies as high as 10\%.
155 + \\
156 + To counteract this, many users rely on desiccant-based storage solutions, which attempt to passively absorb moisture in sealed containers using silica gel or similar drying agents. However, these conventional approaches are inherently limited. Desiccants have a finite absorption capacity and must be periodically replaced or regenerated through drying, which is often overlooked or neglected in casual or prolonged use. Their efficacy declines over time, especially in high-humidity climates or when containers are frequently opened during active printing sessions. Additionally, improperly managed desiccant disposal poses environmental risks, particularly when synthetic variants are used. Some desiccants can release dust or chemicals that may be hazardous to both users and sensitive equipment when not contained properly.
157 + Commercial filament dryers, food dehydrators, and DIY enclosures have been developed to supplement desiccants, yet these solutions tend to suffer from poor integration into the printing workflow. Most require manual operation, lack feedback mechanisms for real-time monitoring, and do not offer dynamic humidity control or automation. More importantly, none of these methods provide long-term consistency without constant user intervention, making them inadequate for professional or high-throughput printing environments.
158 + As 3D printing moves toward greater adoption in fields such as biomedical engineering, aerospace, and rapid tooling, maintaining precise material conditions becomes increasingly critical. Therefore, an urgent need exists for a smarter, more sustainable, and autonomous method to combat filament moisture—one that goes beyond passive desiccant use and addresses the problem at its source through active environmental control, intelligent monitoring, and process integration.
159 +
160 + \newpage
161 + \section{Literature Survey}
162 +
163 + IoT-Based Filament Drying Box: A Literature Survey
164 + Before diving into the detailed design and implementation of our IoT filament drying box, this literature survey examines existing technologies, scientific principles, and similar implementations that inform our approach to solving the critical problem of moisture control in 3D printing filaments.
165 + \subsection{The Critical Need for Filament Drying in 3D Printing}
166 + 3D printing filaments, particularly hygroscopic varieties like Nylon, PVA, and even PETG, readily absorb moisture from the ambient environment. This moisture absorption is not merely a storage concern but significantly impacts print quality and structural integrity.\\
167 + When moisture-laden filament is extruded through a hot nozzle, the water rapidly converts to steam, causing a range of defects including bubbling, stringing, poor layer adhesion, and potential nozzle clogs. Research indicates that properly dried filament can reduce misprinting by up to 20\% and potentially reduce printer repair costs by up to 50\%.
168 + \\
169 + The industry has responded with various drying solutions, from professional-grade systems like the BigRep SHIELD, which achieves remarkable 0.01\% humidity levels, to consumer products like the Creality Filament Dry Box 2.0 that operates in the 45-65°C range. DIY solutions have also proliferated, with enthusiasts creating systems ranging from modified food containers with desiccants to more sophisticated heated chambers.
170 +
171 + \subsection{Thermodynamic Principles of Dehumidification}
172 +
173 + \subsubsection{Psychrometrics and Moisture Control}
174 + The scientific foundation of our filament drying system is rooted in psychrometrics-the study of air-water mixtures. A fundamental principle is that warmer air can hold significantly more moisture than cooler air. This relationship is visualized on psychrometric charts, which plot temperature against humidity and demonstrate that a 10°F rise in air temperature can decrease relative humidity by approximately 20\%. Our system leverages two key thermodynamic processes:
175 +
176 + \begin{itemize}
177 + \item \textbf{Evaporation Phase:} When ambient temperature increases inside the sealed box, the moisture content capacity of the air increases, drawing moisture out from the filament material through evaporation.
178 + \item \textbf{Condensation Phase:} The moisture-laden air contacts the cold surface of the Peltier cooler, dropping below its dew point temperature, causing water vapor to condense into liquid form that can be collected and removed from the system.
179 + \end{itemize}
180 +
181 + \subsection{PTC Heating Technology}
182 + Positive Temperature Coefficient (PTC) ceramic heaters represent an optimal choice for this application due to their self-regulating properties. Unlike conventional resistive heaters, PTC elements increase in resistance as their temperature rises, creating an inherent safety mechanism that prevents overheating. This self-regulation characteristic ensures that our system maintains optimal drying temperatures without risk of damaging temperature-sensitive filaments like PLA or TPU.
183 +
184 + \subsection{Thermoelectric Cooling Technology}
185 + The Peltier effect, discovered by Jean Charles Athanase Peltier in 1834, creates a temperature differential when electric current flows through a junction of two different materials. Modern thermoelectric coolers (TECs) utilize semiconductor materials to create cold and hot sides when voltage is applied.
186 + Compared to traditional compressor-based dehumidifiers, Peltier-based systems offer several advantages for our application:
187 + \begin{itemize}
188 + \item \textbf{Compact Size:} The solid-state nature allows for a smaller footprint
189 + \item \textbf{No Moving Parts:} Increased reliability with fewer mechanical failure points
190 + \item \textbf{Precise Temperature Control:} Direct electronic control of cooling power
191 + \item \textbf{No Refrigerants:} Environmentally friendly operation without chemical coolants
192 + \end{itemize}
193 +
194 + Recent studies have demonstrated that solid-state dehumidifiers can achieve humidity levels as low as 8-9\% in controlled environments, outperforming traditional desiccant methods which typically plateau around 25\%.
195 +
196 + \newpage
197 + \section{Major Modules Design and Implementation}
198 +
199 + \subsection{Heating Module: PTC Ceramic Heater}
200 +
201 + \begin{figure}[htb]
202 + \centering
203 + \includegraphics[width=0.5\linewidth,angle=90]{heater.jpg}
204 + \caption{PTC Ceramic Heater Module}
205 + \label{fig:heater-module}
206 + \end{figure}
207 +
208 + \textbf{Description:} This module provides the controlled heat necessary to drive moisture out of the filament material.
209 +
210 + \subsubsection{Working Principle}
211 + PTC (Positive Temperature Coefficient) ceramic heaters increase their resistance as they heat up, naturally limiting current and stabilizing temperature (typically around 60°C).
212 + The ceramic heater emits uniform heat that warms the air inside the sealed box.
213 + A 12V DC fan is paired with the heater to actively circulate warm air within the chamber, ensuring consistent drying across the entire filament spool.
214 + \subsubsection{Functionality}
215 + Self-regulating – No need for external thermal switches or thermostats.
216 + Safe and efficient – Won’t overheat; energy-efficient after stabilizing.
217 + Compact \& quiet – Suitable for a closed box environment.
218 +
219 + \subsection{DC Fans -- Air Circulation}
220 + \textbf{Description:} Ensures uniform temperature distribution and prevents thermal pockets within the drying enclosure.
221 +
222 + \subsubsection{Functionality}
223 + Even airflow enhances drying efficiency by exposing all surfaces of the filament to warm air.
224 + Two or more fans may be used—one to blow heated air across the filament, another to assist air movement toward the Peltier cooler for dehumidification.
225 +
226 + \subsubsection{Key Components}
227 + \begin{itemize}
228 + \item 12V brushless DC axial fans.
229 + \item Controlled via relays and optionally modulated using PWM from the ESP32.
230 + \end{itemize}
231 +
232 + \subsection{Dehumidification Module – Peltier Cooler with Condensation Tray}
233 +
234 + \textbf{Description:} The Peltier module condenses moisture from the air after it has been heated and saturated with vapor from the filament.
235 +
236 + \subsubsection{Working}
237 + The TEC1-12706 Peltier module uses the thermoelectric effect: when powered, one side becomes cold, and the other becomes hot.
238 + The cold side, placed inside the box, cools humid air. As the air’s temperature drops below the dew point, moisture condenses into liquid form on a metal heat sink.
239 + This condensate is collected in a tray or routed out via a tube.
240 +
241 + \subsubsection{Thermal Setup}
242 + The hot side of the Peltier is mounted on the outside of the box, with a fan and heat sink to dissipate waste heat.
243 +
244 + \subsection{Control Module – ESP32 Microcontroller System}
245 + \textbf{Description:} The ESP32 microcontroller handles real-time control, monitoring, and automation of all components.
246 +
247 + \subsubsection{Functionality}
248 + Reads temperature and humidity via sensors like DHT22 or SHT31.
249 + Based on sensor inputs, it:
250 + \begin{itemize}
251 + \item Activates/deactivates the heater.
252 + \item Turns fans on/off or modulates their speed via PWM.
253 + \item Controls the Peltier cooler to prevent overcooling or unnecessary power drain.
254 + \end{itemize}
255 +
256 + \begin{figure}[htb]
257 + \centering
258 + \includegraphics[width=0.5\linewidth]{esp32.png}
259 + \caption{ESP32 Development Board}
260 + \label{fig:esp32}
261 + \end{figure}
262 + Has Wi-Fi and Bluetooth for potential IoT integration, like:
263 + \begin{itemize}
264 + \item A web dashboard.
265 + \item MQTT reporting.
266 + \item Over-the-air updates (OTA).
267 + \end{itemize}
268 + \textbf{Interfaces:}
269 + Relay module (3-channel) connected to ESP32 controls high-power elements (heater, cooler, fans).
270 + Optional OLED or LCD display for live status.
271 + \begin{figure}[htb]
272 + \centering
273 + \includegraphics[width=0.5\linewidth]{relay.png}
274 + \caption{12V Dual Channel Relay}
275 + \label{fig:relay}
276 + \end{figure}
277 +
278 + \subsection{Power Supply Module – 12V, 20A DC Power Unit}
279 + \begin{figure}[htb]
280 + \centering
281 + \includegraphics[width=0.5\linewidth]{psu1.png}
282 + \caption{12V 20A DC SMPS}
283 + \label{fig:psu1}
284 + \end{figure}
285 + \begin{figure}[htb]
286 + \centering
287 + \includegraphics[width=0.5\linewidth]{psu2.png}
288 + \caption{12V 20A DC SMPS}
289 + \label{fig:psu2}
290 + \end{figure}
291 + \textbf{Description:} This module provides a regulated 12V supply to power the heater, fans, Peltier, and control electronics.
292 +
293 + \subsubsection{Specifications}
294 + \begin{itemize}
295 + \item Voltage: 12V DC
296 + \item Current: Up to 20 Amps (sufficient for simultaneous operation of all modules)
297 + \item Features: Overcurrent, overvoltage, and thermal protection.
298 + \end{itemize}
299 +
300 + \subsubsection{Power Distribution}
301 +
302 + \begin{itemize}
303 + \item Heater (~100–150W) and Peltier (~60–80W) draw the most current.
304 + \item Fans and ESP32 use negligible current (<1A combined).
305 + \item Proper wiring with fuses is recommended to avoid short circuits.
306 + \end{itemize}
307 +
308 + \subsection{Enclosure – Airtight Chamber}
309 +
310 + \begin{figure}[htb]
311 + \centering
312 + \includegraphics[width=0.5\linewidth,angle=-90]{chamber.png}
313 + \caption{Enclosure}
314 + \label{fig:chamber}
315 + \end{figure}
316 +
317 + \textbf{Description:} The enclosure forms the physical drying environment. Its design ensures:
318 +
319 + \begin{itemize}
320 + \item Airtightness – To prevent fresh ambient humidity from entering.
321 + \item Thermal retention – To keep the internal temperature stable.
322 + \item Safety – To prevent exposure to hot components.
323 + \end{itemize}
324 +
325 + \textbf{Includes:}
326 + \begin{itemize}
327 + \item Inlet/outlet ports for filament spools.
328 + \item Access panel for cleaning and servicing.
329 + \item Drainage path for condensed water.
330 + \end{itemize}
331 +
332 + \newpage
333 + \section{Desgin Flow}
334 + Flowcharts are visual representations of processes that illustrate the sequence of steps and decision points using standardized symbols. The flowchart in the image demonstrates a temperature control system with heating and cooling mechanisms.
335 +
336 + \subsection{Flowchart}
337 + The flowchart depicts a temperature control system that functions as follows:
338 +
339 + \begin{figure}[htb]
340 + \centering
341 + \includegraphics[width=0.75\linewidth]{flowchart.png}
342 + \caption{Flowchart}
343 + \label{fig:flowchart}
344 + \end{figure}
345 +
346 + \begin{enumerate}
347 + \item The process begins at "Start"
348 + \item The system initiates by "Increase Heating"
349 + \item At the decision point, the system checks if "Temperature $\geq$ Setpoint?"
350 + \item If "Yes," the system will "Activate Fans" and then "Stop Heating"
351 + \item If "No," the system will "Stop Cooling" and terminate the process
352 + \item After "Stop Heating," the process flows to a series of "Stop Cooling" actions before potentially continuing the process.
353 + \end{enumerate}
354 +
355 + This flowchart effectively illustrates a basic temperature regulation system, though there are some redundancies in the "Stop Cooling" actions that might benefit from refinement. Flowcharts like this are particularly valuable for visualizing control systems and processes with clear decision points.
356 +
357 + \subsection{Data Flow Diagram}
358 +
359 + \begin{figure}[htb]
360 + \centering
361 + \includegraphics[width=0.75\linewidth]{data-flow-diagram.png}
362 + \caption{Data Flow Diagram}
363 + \label{fig:dataflow}
364 + \end{figure}
365 +
366 + The DFD illustrates the data exchange in an IoT filament drying box system:
367 + The ``User'' entity sends ``Control Signals'' to the "ESP32 Microcontroller" process
368 + The ``ESP32 Microcontroller'' process transforms these signals and sends three types of control data to the ``IoT Filament Drying Box'' entity:
369 + \begin{itemize}
370 + \item ``Heater Control'' data
371 + \item ``Cooler Control'' data
372 + \item ``Fan Control'' data
373 + \end{itemize}
374 +
375 + \subsection{Entity-Relationship Diagram}
376 +
377 + \begin{figure}
378 + \centering
379 + \includegraphics[width=0.75\linewidth]{er_diagram.png}
380 + \caption{Entity Relationship Diagram}
381 + \label{fig:er-diagram}
382 + \end{figure}
383 +
384 + The E-R diagram depicts the relationships in an IoT filament drying box system:
385 + \begin{itemize}
386 + \item The "Filament" entity "CONTAINS" the "IoT Filament Drying Box" entity.
387 + \item The "Relay" entity "MANAGES" the "IoT Filament Drying Box" entity.
388 + \item The "MANAGES" relationship connects to "SWITCHES".
389 + \item The "IoT Filament Drying Box" entity "SWITCHES" both the "Heater" and "Cooler" entities.
390 + \item Additionally, "SWITCHES" connects to both "Heater" and "Fan" entities.
391 + \end{itemize}
392 +
393 + \newpage
394 + \section{Methodology Adopted}
395 + \subsection{Algorithm Formulated}
396 +
397 + \subsection{Mathematical Modelling}
398 +
399 + \subsubsection{Proportional Integral Derivative Controller}
400 + PID (Proportional–Integral–Derivative) controller helps maintain a set temperature or RH% by adjusting power (to heater, fan, or Peltier).
401 +
402 + General PID Equation:
403 +
404 + \begin{center}
405 + $u(t) = K_p e(t) + K_i \int^{t}_0 e(\tau)~d\tau + K_d~\frac{de(t)}{dt}$
406 + \end{center}
407 +
408 + Where,
409 + \begin{itemize}
410 + \item $e(t)$: error = setpoint - measured value
411 + \item $K_p$: Proportional gain
412 + \item $K_i$: Integral gain
413 + \item $K_d$: Derivative gain
414 + \end{itemize}
415 +
416 +
417 + \subsubsection{Psychrometric Curve (Humidity vs Temperature)}
418 +
419 + Psychrometrics tells us how relative humidity (RH) decreases when temperature increases, even if the actual moisture content stays constant. We can use this curve to understand when moisture in filament will evaporate at a given temperature:\vspace{-7pt}
420 + \begin{figure}[htb!]
421 + \centering
422 + \includegraphics[width=0.5\linewidth]{PsychrometricChart.pdf}
423 + \caption{Psychrometric Chart}
424 + \label{fig:humidity-chart}
425 + \end{figure}
426 +
427 + \newpage
428 + \subsection{Simulation Environment}
429 + Due to the practical nature of the project, no software-based simulation tools were used. Instead, a real-time hardware prototyping environment was adopted to validate and fine-tune the system's behavior. The ESP32 microcontroller was programmed and directly interfaced with three power MOSFETs, each controlling the PTC ceramic heater, fans, and Peltier cooling module. Sensors such as DHT22 were integrated to continuously monitor internal temperature and humidity.
430 + \\
431 + Testing was carried out inside a sealed acrylic enclosure designed to emulate operational conditions. System behavior was manually logged and observed under various heating durations, filament types, and ambient conditions. Control logic was iteratively refined by adjusting thresholds and delays based on actual performance data. Output from the ESP32 was monitored via serial communication for debugging, and temperature/humidity values were logged to evaluate moisture removal efficiency. This hands-on approach allowed for accurate observation of thermal response, condensation efficiency, and hardware stability, providing a realistic validation of system performance without relying on virtual simulation tools.
432 +
433 + \begin{figure}[htb]
434 + \centering
435 + \includegraphics[width=0.5\linewidth]{cad_model.png}
436 + \caption{CAD Model}
437 + \label{fig:cad}
438 + \end{figure}
439 +
440 + ~\newpage
441 + \section{Results}
442 + \subsection{Screen Shot of Simulator/Emulator/Hardware Kits}
443 +
444 + \begin{figure}[htb]
445 + \centering
446 + \includegraphics[width=0.75\linewidth]{readings.png}
447 + \caption{Web Application}
448 + \label{fig:frontend}
449 + \end{figure}
450 +
451 + \begin{figure}[htb]
452 + \centering
453 + \includegraphics[width=0.75\linewidth]{raise_chamber.png}
454 + \caption{Condensation using Peltier Module}
455 + \label{fig:enter-label}
456 + \end{figure}
457 +
458 + ~\newpage
459 + \subsection{Graphs and Tables}
460 +
461 + \begin{figure}[htb]
462 + \centering
463 + \includegraphics[width=0.75\linewidth]{graph.png}
464 + \caption{DHT22 Sensor Readings}
465 + \label{fig:dht22}
466 + \end{figure}
467 +
468 + \subsection{Comparitive Chart}
469 +
470 + \begin{figure}[htb]
471 + \centering
472 + \includegraphics[width=0.75\linewidth]{humidity-graph.png}
473 + \caption{Humidity Graph}
474 + \label{fig:humidity-graph}
475 + \end{figure}
476 +
477 + ~
478 + \newpage
479 + \section{References/Bibliography}
480 +
481 + Here are the key references and sources related to filament drying systems and moisture management in 3D printing:
482 +
483 + \nocite{*}
484 + \printbibliography
485 +
486 + ~\newpage
487 + \begin{figure}[htb]
488 + \centering
489 + \includegraphics[width=1\linewidth]{group_photo.png}
490 + \caption{From Left to Right: Soham Khanna, Parikshit Pandey,
491 + Sujal Singh, Pranav Bisht, Dhruv Grover}
492 + \label{fig:group-photo}
493 + \end{figure}
494 +
495 + %-------------------------------------------------------------------------------%
496 + \end{document}
497 +
498 + %https://docs.google.com/document/d/1i3HB2Bi_Z1GjUn8smszxmyiKsG4jU3o3UwGLgLuICZ8/edit?tab=t.0
499 + \begin{center}\textbf{\LARGE Project Report}\end{center}
500 +
501 + \section{Abstract}
502 + The IoT Filament Drying Box revolutionizes moisture management for 3D printing materials by integrating advanced IoT-driven automation, precision environmental control, and data-centric optimization.
503 + This system addresses the critical challenge of hygroscopic degradation in polymers a leading cause of printing defects such as nozzle clogging, poor layer adhesion, and surface irregularities.
504 + Leveraging multi-stage drying protocols, it dynamically adjusts heating (45–70°C) and airflow parameters to accommodate diverse materials, including PLA, ABS, Nylon, and engineering-grade composites.
505 + The design incorporates 360° uniform heating elements (PTC heaters) paired with high-efficiency turbo fans to eliminate moisture gradients, while IoT connectivity enables remote humidity monitoring (5–15\% RH), predictive maintenance alerts, and cloud-based data logging (40,000+ data points) for long-term filament integrity analysis.
506 + \\\\
507 + A modular multi-chamber architecture allows simultaneous drying of multiple filament types, each with customized profiles to prevent cross-contamination or overheating. Machine learning algorithms analyze historical data to optimize drying cycles, reducing energy consumption by up to 30\% compared to conventional systems. Real-time alerts via mobile apps and seamless integration with slicer software ensure compatibility with industrial-scale 3D printing workflows. By maintaining sub-20\% humidity levels, the system extends filament shelf life by 200–300\%, mitigates production downtime, and enhances print quality for high-speed, large-scale additive manufacturing applications. This innovation is particularly critical for aerospace, automotive, and medical sectors, where moisture-sensitive materials demand rigorous environmental control to meet stringent performance standards.
508 + \\
509 + Through its closed-loop feedback system, the IoT Filament Drying Box sets a new benchmark for reliability, scalability, and sustainability in 3D printing material management, bridging the gap between desktop and industrial-grade filament handling solutions.
510 +
511 +
512 + \newpage
513 + \section{Introduction}
514 + The Internet of Things (IoT) Filament Drying Box represents an innovative integration of thermodynamic principles, electronic control systems, and IoT connectivity designed to address a critical challenge in additive manufacturing. This project employs a comprehensive approach to moisture management in 3D printing filaments through an intelligent, automated system that both extracts and eliminates humidity from hygroscopic thermoplastic materials.
515 +
516 + \subsection{Fundamental Thermodynamic Principles}
517 + The operational foundation of the IoT Filament Drying Box is built upon well-established thermodynamic relationships between air temperature and moisture-carrying capacity. Research demonstrates that air's ability to hold moisture increases dramatically with temperature-air heated from 20°C to 50°C experiences a remarkable 380\% increase in moisture-carrying capacity. This fundamental principle creates the basis for the system's dual-mechanism approach to moisture management.
518 + \\\\
519 + The relationship between temperature and moisture capacity follows a predictable exponential curve. At 20°C (68°F), air can hold approximately 17.3 g/m³ of water vapor, while at 60°C (140°F), this capacity increases to approximately 130 g/m³. This dramatic differential enables the system to efficiently extract moisture from filament materials when heated and then remove this moisture from the system through a controlled condensation process.
520 +
521 + \subsection{PTC Ceramic Heating Technology}
522 + The primary heat source within the system utilizes Positive Temperature Coefficient (PTC) ceramic heating technology, selected for its self-regulating properties and efficiency. Unlike conventional resistance heaters, PTC elements exhibit a non-linear resistance profile that increases sharply with temperature. When voltage is applied to the PTC ceramic material, it initially produces significant heat output. However, as the temperature rises, the resistance of the material increases proportionally, automatically reducing current flow and heat generation.
523 + \\\\
524 + This unique characteristic enables PTC heaters to maintain stable temperatures without complex external control systems. The self-regulating behavior occurs through a well-defined operating principle: as current passes through the PTC element, its temperature rises, causing its resistance to increase rapidly, generating heat in the process. The system operates under constant current conditions initially, with heating power proportional to the square of the current.
525 + PTC heaters offer several critical advantages for this application:
526 + Self-temperature regulation: The heating element automatically reduces current after reaching preset temperatures, achieving thermal stability without external controls.
527 +
528 + \begin{itemize}
529 + \item \textbf{Inherent safety protection:} When ambient temperature exceeds material tolerances, the resistance increases sharply, causing current to drop and preventing overheating.
530 + \item \textbf{Energy efficiency:} The dynamic power adjustment allows the heater to consume only the energy necessary to maintain target temperatures.
531 + \item \textbf{Uniform heating:} The ceramic material provides consistent heat distribution across its surface.
532 + \end{itemize}
533 +
534 + \subsection{Peltier Cooling and Condensation System}
535 + The second phase of the moisture removal process employs thermoelectric cooling through a Peltier module. This technology operates on the principle that when electric current passes through a semiconductor junction, a temperature differential is created between its two surfaces-one side becomes cold while the other heats up.
536 + \\
537 + In the IoT Filament Drying Box, the Peltier module is strategically positioned with its cold side inside the enclosure and its hot side (coupled with a heat sink) outside. This configuration creates a localized cold zone within the warm environment. As warm, moisture-laden air contacts this cooled surface, its temperature rapidly decreases below the dew point, causing water vapor to condense into liquid form.
538 + \\
539 + The condensation process follows fundamental vapor pressure principles. When air temperature drops below its dew point-the temperature at which relative humidity reaches 100\%-water vapor condenses into liquid form. The condensation rate depends on the temperature differential between the air and the cooling surface, with greater differentials producing more rapid condensation.
540 + This approach creates a continuous dehumidification cycle:
541 +
542 + \begin{itemize}
543 + \item Heated air absorbs moisture from filament material
544 + \item Moisture-laden air contacts the cold surface of the Peltier module
545 + \item Water vapor condenses into liquid
546 + \item Condensed water is collected and drained from the system
547 + \item Dehumidified air continues circulating within the enclosure
548 + \end{itemize}
549 +
550 + \subsection{Air Circulation System}
551 + To ensure uniform heating and efficient moisture transport, the system incorporates strategically positioned fans that create controlled airflow patterns within the enclosure. These fans serve multiple purposes:
552 +
553 + \begin{itemize}
554 + \item Distributing heat evenly throughout the box, preventing temperature stratification.
555 + \item Directing moisture-laden air across cooling surfaces to maximize condensation.
556 + \item Ensuring all filament material is exposed to consistent environmental conditions.
557 + \item Accelerating the drying process through increased air exchange at material surfaces.
558 + \end{itemize}
559 +
560 + The circulation system is critical for system efficiency, as proper airflow dramatically impacts both the rate of moisture extraction from filaments and the effectiveness of the condensation process.
561 +
562 + \subsection{IoT Control and Monitoring System}
563 + The entire system is orchestrated by an ESP32 microcontroller, which serves as both the control center and IoT gateway. The ESP32 platform offers significant advantages for this application, including dual-core processing capability, integrated Wi-Fi connectivity, numerous GPIO pins for sensor interfaces, and real-time monitoring capabilities.\\
564 + The control architecture employs three Relay switching circuits to regulate power to the system's primary components:
565 +
566 + \begin{itemize}
567 + \item PTC heating element
568 + \item Peltier cooling module
569 + \item Circulation fans
570 + \end{itemize}
571 +
572 +
112 573 This arrangement allows precise power management without requiring the microcontroller to handle the substantial current demands of the heating and cooling components. The ESP32 monitors environmental conditions through temperature and humidity sensors, implementing control algorithms that optimize the drying process while ensuring energy efficiency8.
113 574 A critical design consideration is the separation of all control electronics from the high-temperature environment within the drying chamber. This configuration protects sensitive components from heat and humidity while simplifying maintenance access.
114 575

references.bib

@@ -29,20 +29,6 @@
29 29 note = {Accessed: 2025-05-05}
30 30 }
31 31
32 - @article{ANIULIS2024104103,
33 - title = {Automated non-destructive 3D printing filament material properties monitoring based on electric permittivity, longitudinal encoding and diameter multi-axes real-time measurements},
34 - journal = {Additive Manufacturing},
35 - volume = {84},
36 - pages = {104103},
37 - year = {2024},
38 - issn = {2214-8604},
39 - doi = {https://doi.org/10.1016/j.addma.2024.104103},
40 - url = {https://www.sciencedirect.com/science/article/pii/S2214860424001490},
41 - author = {Jakub Aniulis and Grzegorz Dudzik and Krzysztof M. Abramski},
42 - keywords = {3D printing, Material properties measurement, Relative electric permittivity, Filament moisture, Capacitance sensor, Diameter characteristic},
43 - abstract = {Rapid prototyping is an essential part of today’s research and development process. The ability to produce objects quickly, cost-effectively and on-site is critical to meeting this fundamental requirement. One of the factors that leads to inconsistencies and defects in the produced parts is the uncompensated change in material properties used in the material extrusion 3D printing manufacturing process. This creates the need for a real-time, low-cost filament quality monitor that can characterize the material properties of the filament along its length. This can be achieved by tracking the variation in measured capacitive tube capacitance and diameter of different sensor types over multiple selected axes and encoding the results to a specific fragment of filament used in material extrusion 3D printing. With such collected data it is possible to monitor factors such as material moisture, roundness, internal and external defects, component proportions, relative electrical permeability, Poisson’s ratio and material type. This work presents the first proof of concept of such a device and describes its operating principle in detail. As examples of applications, filament material type recognition is presented based on the characteristics of several types of filaments from different manufacturers, the process of moisture absorption over time for selected filaments is described, and the detection of defects of varying degrees is shown.}
44 - }
45 -
46 32 @misc{bambulabs,
47 33 author = {Huminilian},
48 34 title = {What is the 3d filament dryer you choose?},

sujal's Avatar sujal revised this gist 1746441261. Go to revision

3 files changed, 621 insertions

ipu.cls(file created)

@@ -0,0 +1,109 @@
1 + %! Class = ipu-ai
2 + %! Author = Sujal Singh
3 + %! Date = 11/28/24
4 +
5 + \NeedsTeXFormat{LaTeX2e}
6 + \ProvidesClass{iot-report}[A class for IoT lab project report.]
7 +
8 + \LoadClass[a4paper,12pt,twoside]{article}
9 +
10 + % --- Packages ---
11 + \RequirePackage{lmodern}
12 + \RequirePackage{graphicx}
13 + \RequirePackage{tabularray}
14 + \RequirePackage[a4paper,margin=1.5in]{geometry}
15 + \RequirePackage[outputdir=./build]{minted}
16 + \RequirePackage[most,minted,listings]{tcolorbox}
17 + \RequirePackage{tikz}
18 + \usetikzlibrary{shapes.geometric, arrows, calc}
19 +
20 + % --- Arguments ---
21 + \renewcommand{\@author}{Sujal Singh}
22 + \newcommand{\@rollno}{04119051723}
23 + \newcommand{\@batch}{IIOT--B1--23}
24 + \newcommand{\@doctitle}{Internet of Things Lab -- Project Report}
25 + \newcommand{\@projecttitle}{Filament Drying Box}
26 + \renewcommand{\author}[1]{\renewcommand{\@author}{#1}}
27 + \newcommand{\rollno}[1]{\renewcommand{\@rollno}{#1}}
28 + \newcommand{\batch}[1]{\renewcommand{\@batch}{#1}}
29 + \newcommand{\doctitle}[1]{\renewcommand{\@doctitle}{#1}}
30 + \newcommand{\projectreport}[1]{\renewcommand{\@projecttitle}{#1}}
31 +
32 +
33 + % --- Title Page ---
34 + \renewcommand*{\maketitle}{
35 + \thispagestyle{empty}
36 + \pagenumbering{gobble}
37 + \vspace*{5pt}\noindent%
38 + \begin{minipage}{0.2\textwidth}
39 + \includegraphics[width=0.95\linewidth]{logo}~~~~~\vline
40 + \end{minipage}%
41 + \hfill%
42 + \begin{minipage}{0.75\textwidth}%
43 + \textbf{\Large Guru Gobind Singh Indraprastha University}\\[10pt]%
44 + {\large University School of Automation \& Robotics}
45 + \end{minipage}\vfill%
46 + \begin{center}
47 + \rule{\textwidth}{2pt}\\[30pt]%
48 + \textbf{\Large \@doctitle}\\[20pt]%
49 + \textbf{\large \@projecttitle}%
50 + \\[25pt]\rule{\textwidth}{2pt}\\\vfill%
51 + {\large\begin{tblr}{width=1\textwidth,colspec={|X[c]|X[c]|},rows=30pt,hlines}
52 + \textbf{Name} & \@author \\
53 + \textbf{Enrollment Number} & \@rollno \\
54 + \textbf{Batch} & \@batch \\
55 + \textbf{Submitted to} & \ Dr. Khyati Chopra \\
56 + \end{tblr}}\\[20pt]%
57 + \end{center}
58 + \newpage
59 + \pagenumbering{arabic}
60 + }
61 +
62 + % --- Setup Long Table for Index ---
63 + \DefTblrTemplate{caption}{default}{} % Removes a caption
64 + \DefTblrTemplate{capcont}{default}{} % Removes a caption on subsequent pages
65 + \DefTblrTemplate{contfoot}{default}{} % Removes text denoting continuation on next page
66 +
67 +
68 + \usemintedstyle{bw}
69 + % Changes minted line number size
70 + \renewcommand{\theFancyVerbLine}{\parbox{10pt}{\centering\footnotesize\arabic{FancyVerbLine}}}
71 +
72 + \newtcblisting{code}[2]{
73 + listing only,
74 + listing engine=minted,
75 + minted language=#2,
76 + breakable,
77 + enhanced,
78 + colback=white,
79 + coltitle=black,
80 + colbacktitle=white,
81 + top=0pt,
82 + bottom=0pt,
83 + sharp corners,
84 + title=\textbf{#1:},
85 + minted options = {
86 + linenos,
87 + stripall,
88 + breaklines,
89 + xleftmargin=10pt,
90 + },
91 + overlay={%
92 + \begin{tcbclipinterior}
93 + \draw [line width=1pt] (frame.north west) rectangle ([xshift=18pt]frame.south west);
94 + \end{tcbclipinterior}
95 + }}
96 +
97 + \BeforeBeginEnvironment{code}{\vspace*{-18pt}}
98 +
99 + \newtcolorbox{tabularsection}[1]{
100 + breakable,
101 + enhanced,
102 + colback=white,
103 + coltitle=black,
104 + colbacktitle=white,
105 + top=0pt,
106 + bottom=0pt,
107 + sharp corners,
108 + title=\textbf{#1:},
109 + }

main.tex(file created)

@@ -0,0 +1,452 @@
1 + %! Author = Sujal Singh
2 + %! Date = 5/5/25
3 +
4 + % Preamble
5 + %! suppress = FileNotFound
6 + \documentclass[11pt]{ipu}
7 + \doctitle{Internet of Things Lab -- Project Report}
8 +
9 + % Packages
10 + \usepackage{amsmath}
11 + \usepackage{amssymb}
12 + \usepackage[T1]{fontenc}
13 + \usepackage[
14 + pdftitle={Internet of Things Lab -- Project Report},
15 + pdfsubject={Internet of Things Lab -- Project Report},
16 + pdfauthor={Sujal Singh},
17 + pdfdisplaydoctitle,
18 + hidelinks,
19 + ]{hyperref}
20 + \usepackage{tabularray}
21 + \usepackage{enumitem}
22 + \usepackage{graphicx}
23 + \usepackage[backend=biber,style=alphabetic,sorting=none]{biblatex}
24 + \usepackage{setspace}
25 +
26 + \addbibresource{references.bib}
27 + \onehalfspacing
28 +
29 + \begin{document}
30 +
31 + \maketitle
32 + \newpage
33 + \tableofcontents
34 + \newpage
35 +
36 + %-------------------------------------------------------------------------------%
37 +
38 + \begin{center}\textbf{\LARGE Project Report}\end{center}
39 +
40 + \section{Abstract}
41 + The IoT Filament Drying Box revolutionizes moisture management for 3D printing materials by integrating advanced IoT-driven automation, precision environmental control, and data-centric optimization.
42 + This system addresses the critical challenge of hygroscopic degradation in polymers a leading cause of printing defects such as nozzle clogging, poor layer adhesion, and surface irregularities.
43 + Leveraging multi-stage drying protocols, it dynamically adjusts heating (45–70°C) and airflow parameters to accommodate diverse materials, including PLA, ABS, Nylon, and engineering-grade composites.
44 + The design incorporates 360° uniform heating elements (PTC heaters) paired with high-efficiency turbo fans to eliminate moisture gradients, while IoT connectivity enables remote humidity monitoring (5–15\% RH), predictive maintenance alerts, and cloud-based data logging (40,000+ data points) for long-term filament integrity analysis.
45 + \\\\
46 + A modular multi-chamber architecture allows simultaneous drying of multiple filament types, each with customized profiles to prevent cross-contamination or overheating. Machine learning algorithms analyze historical data to optimize drying cycles, reducing energy consumption by up to 30\% compared to conventional systems. Real-time alerts via mobile apps and seamless integration with slicer software ensure compatibility with industrial-scale 3D printing workflows. By maintaining sub-20\% humidity levels, the system extends filament shelf life by 200–300\%, mitigates production downtime, and enhances print quality for high-speed, large-scale additive manufacturing applications. This innovation is particularly critical for aerospace, automotive, and medical sectors, where moisture-sensitive materials demand rigorous environmental control to meet stringent performance standards.
47 + \\
48 + Through its closed-loop feedback system, the IoT Filament Drying Box sets a new benchmark for reliability, scalability, and sustainability in 3D printing material management, bridging the gap between desktop and industrial-grade filament handling solutions.
49 +
50 +
51 + \newpage
52 + \section{Introduction}
53 + The Internet of Things (IoT) Filament Drying Box represents an innovative integration of thermodynamic principles, electronic control systems, and IoT connectivity designed to address a critical challenge in additive manufacturing. This project employs a comprehensive approach to moisture management in 3D printing filaments through an intelligent, automated system that both extracts and eliminates humidity from hygroscopic thermoplastic materials.
54 +
55 + \subsection{Fundamental Thermodynamic Principles}
56 + The operational foundation of the IoT Filament Drying Box is built upon well-established thermodynamic relationships between air temperature and moisture-carrying capacity. Research demonstrates that air's ability to hold moisture increases dramatically with temperature-air heated from 20°C to 50°C experiences a remarkable 380\% increase in moisture-carrying capacity. This fundamental principle creates the basis for the system's dual-mechanism approach to moisture management.
57 + \\\\
58 + The relationship between temperature and moisture capacity follows a predictable exponential curve. At 20°C (68°F), air can hold approximately 17.3 g/m³ of water vapor, while at 60°C (140°F), this capacity increases to approximately 130 g/m³. This dramatic differential enables the system to efficiently extract moisture from filament materials when heated and then remove this moisture from the system through a controlled condensation process.
59 +
60 + \subsection{PTC Ceramic Heating Technology}
61 + The primary heat source within the system utilizes Positive Temperature Coefficient (PTC) ceramic heating technology, selected for its self-regulating properties and efficiency. Unlike conventional resistance heaters, PTC elements exhibit a non-linear resistance profile that increases sharply with temperature. When voltage is applied to the PTC ceramic material, it initially produces significant heat output. However, as the temperature rises, the resistance of the material increases proportionally, automatically reducing current flow and heat generation.
62 + \\\\
63 + This unique characteristic enables PTC heaters to maintain stable temperatures without complex external control systems. The self-regulating behavior occurs through a well-defined operating principle: as current passes through the PTC element, its temperature rises, causing its resistance to increase rapidly, generating heat in the process. The system operates under constant current conditions initially, with heating power proportional to the square of the current.
64 + PTC heaters offer several critical advantages for this application:
65 + Self-temperature regulation: The heating element automatically reduces current after reaching preset temperatures, achieving thermal stability without external controls.
66 +
67 + \begin{itemize}
68 + \item \textbf{Inherent safety protection:} When ambient temperature exceeds material tolerances, the resistance increases sharply, causing current to drop and preventing overheating.
69 + \item \textbf{Energy efficiency:} The dynamic power adjustment allows the heater to consume only the energy necessary to maintain target temperatures.
70 + \item \textbf{Uniform heating:} The ceramic material provides consistent heat distribution across its surface.
71 + \end{itemize}
72 +
73 + \subsection{Peltier Cooling and Condensation System}
74 + The second phase of the moisture removal process employs thermoelectric cooling through a Peltier module. This technology operates on the principle that when electric current passes through a semiconductor junction, a temperature differential is created between its two surfaces-one side becomes cold while the other heats up.
75 + \\
76 + In the IoT Filament Drying Box, the Peltier module is strategically positioned with its cold side inside the enclosure and its hot side (coupled with a heat sink) outside. This configuration creates a localized cold zone within the warm environment. As warm, moisture-laden air contacts this cooled surface, its temperature rapidly decreases below the dew point, causing water vapor to condense into liquid form.
77 + \\
78 + The condensation process follows fundamental vapor pressure principles. When air temperature drops below its dew point-the temperature at which relative humidity reaches 100\%-water vapor condenses into liquid form. The condensation rate depends on the temperature differential between the air and the cooling surface, with greater differentials producing more rapid condensation.
79 + This approach creates a continuous dehumidification cycle:
80 +
81 + \begin{itemize}
82 + \item Heated air absorbs moisture from filament material
83 + \item Moisture-laden air contacts the cold surface of the Peltier module
84 + \item Water vapor condenses into liquid
85 + \item Condensed water is collected and drained from the system
86 + \item Dehumidified air continues circulating within the enclosure
87 + \end{itemize}
88 +
89 + \subsection{Air Circulation System}
90 + To ensure uniform heating and efficient moisture transport, the system incorporates strategically positioned fans that create controlled airflow patterns within the enclosure. These fans serve multiple purposes:
91 +
92 + \begin{itemize}
93 + \item Distributing heat evenly throughout the box, preventing temperature stratification.
94 + \item Directing moisture-laden air across cooling surfaces to maximize condensation.
95 + \item Ensuring all filament material is exposed to consistent environmental conditions.
96 + \item Accelerating the drying process through increased air exchange at material surfaces.
97 + \end{itemize}
98 +
99 + The circulation system is critical for system efficiency, as proper airflow dramatically impacts both the rate of moisture extraction from filaments and the effectiveness of the condensation process.
100 +
101 + \subsection{IoT Control and Monitoring System}
102 + The entire system is orchestrated by an ESP32 microcontroller, which serves as both the control center and IoT gateway. The ESP32 platform offers significant advantages for this application, including dual-core processing capability, integrated Wi-Fi connectivity, numerous GPIO pins for sensor interfaces, and real-time monitoring capabilities.\\
103 + The control architecture employs three Relay switching circuits to regulate power to the system's primary components:
104 +
105 + \begin{itemize}
106 + \item PTC heating element
107 + \item Peltier cooling module
108 + \item Circulation fans
109 + \end{itemize}
110 +
111 +
112 + This arrangement allows precise power management without requiring the microcontroller to handle the substantial current demands of the heating and cooling components. The ESP32 monitors environmental conditions through temperature and humidity sensors, implementing control algorithms that optimize the drying process while ensuring energy efficiency8.
113 + A critical design consideration is the separation of all control electronics from the high-temperature environment within the drying chamber. This configuration protects sensitive components from heat and humidity while simplifying maintenance access.
114 +
115 + \subsection{System Integration and Power Management}
116 + The system's components are integrated within a sealed enclosure designed to maintain precise environmental conditions. A 12V, 20A power supply provides sufficient current capacity for simultaneous operation of all components, particularly during peak demand periods when both heating and cooling elements are active.
117 + The power requirements reflect the demands of the various components:
118 +
119 + \begin{itemize}
120 + \item PTC heater: Operating at 12V with variable current based on temperature
121 + \item Peltier module: Typically consuming 5-10A at 12V during active cooling
122 + \item Circulation fans: Requiring minimal current but essential for system performance
123 + \item Control electronics: Drawing minimal power but requiring stable voltage
124 + \end{itemize}
125 + \subsection{Addressing the Filament Moisture Problem}
126 + The IoT Filament Drying Box directly addresses the challenges identified in the problem statement through its comprehensive approach to moisture management. The system effectively tackles:
127 + Moisture extraction: By heating filament in a controlled environment to temperatures appropriate for specific materials (45-60°C), the system efficiently draws out absorbed moisture through increased air moisture capacity at elevated temperatures.
128 + \begin{figure}
129 + \centering
130 + \includegraphics[width=0.5\linewidth]{cad_model.png}
131 + \caption{CAD Model}
132 + \label{fig:cad}
133 + \end{figure}
134 + \begin{itemize}
135 + \item \textbf{Moisture elimination:} Rather than simply heating filament (which can lead to reabsorption upon cooling), the system actively removes moisture from the internal environment through condensation, maintaining consistently low humidity levels.
136 + \item \textbf{Material protection:} The self-regulating nature of PTC heating prevents thermal damage to filaments, ensuring materials reach optimal drying temperatures without risking degradation.
137 + \item \textbf{Automation and monitoring:} IoT integration enables precise control, data logging, and remote monitoring, allowing users to optimize drying parameters for different materials and environmental conditions.
138 + \item \textbf{Continuous operation:} The system can maintain low-humidity conditions indefinitely, making it suitable for both initial drying and long-term storage during printing operations.
139 + \end{itemize}
140 + This dual-mechanism approach-combining active moisture extraction through heating with dehumidification through condensation-creates a comprehensive solution that exceeds the capabilities of conventional drying methods, effectively breaking the cycle of moisture absorption that compromises print quality and material performance.
141 + By integrating these technologies into a cohesive system, the IoT Filament Drying Box represents a significant advancement in 3D printing material management, addressing one of the most persistent challenges in additive manufacturing through an elegant application of thermodynamic principles, material science, and connected technology.
142 +
143 +
144 + \newpage
145 + \section{Problem Statement}
146 + 3D printing technology has revolutionized rapid prototyping and manufacturing across various industries by enabling the efficient fabrication of intricate geometries with high customization potential. However, a persistent and critical challenge in Fused Deposition Modeling (FDM) 3D printing lies in the hygroscopic nature of thermoplastic filaments. The tendency of these materials to absorb moisture from the surrounding environment degrades the quality and reliability of prints, posing a major obstacle to consistent manufacturing performance.
147 + \\
148 + This issue originates at the molecular level of polymer-based filaments used in FDM processes. Common 3D printing materials such as PLA, ABS, PETG, Nylon, TPU, and PVA exhibit varying degrees of hygroscopic behavior, meaning they naturally draw in moisture from ambient air. Studies have shown that filaments like ABS can reach a moisture content of over 1\% after prolonged exposure to humid conditions, while PLA can absorb nearly 0.9\% of its weight in moisture within just 24 hours at room temperature. The situation is even more severe with composite filaments—such as wood-filled PLA—which can absorb up to 500\% more moisture than standard variants.
149 + \\
150 + When these moisture-laden filaments are subjected to high extrusion temperatures (typically between 180°C and 280°C), the absorbed water undergoes rapid phase transformation into steam. This leads to two primary degradation mechanisms: foaming, where steam forms bubbles inside the extruded filament, and hydrolysis, where water breaks down polymer chains, reducing molecular weight and structural integrity. These chemical and physical changes manifest as visible defects including stringing, bubbling, poor surface finish, inconsistent layer adhesion, and reduced tensile strength. Mechanical tests show that increased filament moisture levels can reduce tensile strength by up to 25\% and introduce dimensional inaccuracies as high as 10\%.
151 + \\
152 + To counteract this, many users rely on desiccant-based storage solutions, which attempt to passively absorb moisture in sealed containers using silica gel or similar drying agents. However, these conventional approaches are inherently limited. Desiccants have a finite absorption capacity and must be periodically replaced or regenerated through drying, which is often overlooked or neglected in casual or prolonged use. Their efficacy declines over time, especially in high-humidity climates or when containers are frequently opened during active printing sessions. Additionally, improperly managed desiccant disposal poses environmental risks, particularly when synthetic variants are used. Some desiccants can release dust or chemicals that may be hazardous to both users and sensitive equipment when not contained properly.
153 + Commercial filament dryers, food dehydrators, and DIY enclosures have been developed to supplement desiccants, yet these solutions tend to suffer from poor integration into the printing workflow. Most require manual operation, lack feedback mechanisms for real-time monitoring, and do not offer dynamic humidity control or automation. More importantly, none of these methods provide long-term consistency without constant user intervention, making them inadequate for professional or high-throughput printing environments.
154 + As 3D printing moves toward greater adoption in fields such as biomedical engineering, aerospace, and rapid tooling, maintaining precise material conditions becomes increasingly critical. Therefore, an urgent need exists for a smarter, more sustainable, and autonomous method to combat filament moisture—one that goes beyond passive desiccant use and addresses the problem at its source through active environmental control, intelligent monitoring, and process integration.
155 +
156 + \newpage
157 + \section{Literature Survey}
158 +
159 + IoT-Based Filament Drying Box: A Literature Survey
160 + Before diving into the detailed design and implementation of our IoT filament drying box, this literature survey examines existing technologies, scientific principles, and similar implementations that inform our approach to solving the critical problem of moisture control in 3D printing filaments.
161 + \subsection{The Critical Need for Filament Drying in 3D Printing}
162 + 3D printing filaments, particularly hygroscopic varieties like Nylon, PVA, and even PETG, readily absorb moisture from the ambient environment. This moisture absorption is not merely a storage concern but significantly impacts print quality and structural integrity.\\
163 + When moisture-laden filament is extruded through a hot nozzle, the water rapidly converts to steam, causing a range of defects including bubbling, stringing, poor layer adhesion, and potential nozzle clogs. Research indicates that properly dried filament can reduce misprinting by up to 20\% and potentially reduce printer repair costs by up to 50\%.
164 + \\
165 + The industry has responded with various drying solutions, from professional-grade systems like the BigRep SHIELD, which achieves remarkable 0.01\% humidity levels, to consumer products like the Creality Filament Dry Box 2.0 that operates in the 45-65°C range. DIY solutions have also proliferated, with enthusiasts creating systems ranging from modified food containers with desiccants to more sophisticated heated chambers.
166 +
167 + \subsection{Thermodynamic Principles of Dehumidification}
168 +
169 + \subsubsection{Psychrometrics and Moisture Control}
170 + The scientific foundation of our filament drying system is rooted in psychrometrics-the study of air-water mixtures. A fundamental principle is that warmer air can hold significantly more moisture than cooler air. This relationship is visualized on psychrometric charts, which plot temperature against humidity and demonstrate that a 10°F rise in air temperature can decrease relative humidity by approximately 20\%. Our system leverages two key thermodynamic processes:
171 +
172 + \begin{itemize}
173 + \item \textbf{Evaporation Phase:} When ambient temperature increases inside the sealed box, the moisture content capacity of the air increases, drawing moisture out from the filament material through evaporation.
174 + \item \textbf{Condensation Phase:} The moisture-laden air contacts the cold surface of the Peltier cooler, dropping below its dew point temperature, causing water vapor to condense into liquid form that can be collected and removed from the system.
175 + \end{itemize}
176 +
177 + \subsection{PTC Heating Technology}
178 + Positive Temperature Coefficient (PTC) ceramic heaters represent an optimal choice for this application due to their self-regulating properties. Unlike conventional resistive heaters, PTC elements increase in resistance as their temperature rises, creating an inherent safety mechanism that prevents overheating. This self-regulation characteristic ensures that our system maintains optimal drying temperatures without risk of damaging temperature-sensitive filaments like PLA or TPU.
179 +
180 + \subsection{Thermoelectric Cooling Technology}
181 + The Peltier effect, discovered by Jean Charles Athanase Peltier in 1834, creates a temperature differential when electric current flows through a junction of two different materials. Modern thermoelectric coolers (TECs) utilize semiconductor materials to create cold and hot sides when voltage is applied.
182 + Compared to traditional compressor-based dehumidifiers, Peltier-based systems offer several advantages for our application:
183 + \begin{itemize}
184 + \item \textbf{Compact Size:} The solid-state nature allows for a smaller footprint
185 + \item \textbf{No Moving Parts:} Increased reliability with fewer mechanical failure points
186 + \item \textbf{Precise Temperature Control:} Direct electronic control of cooling power
187 + \item \textbf{No Refrigerants:} Environmentally friendly operation without chemical coolants
188 + \end{itemize}
189 +
190 + Recent studies have demonstrated that solid-state dehumidifiers can achieve humidity levels as low as 8-9\% in controlled environments, outperforming traditional desiccant methods which typically plateau around 25\%.
191 +
192 + \newpage
193 + \section{Major Modules Design and Implementation}
194 +
195 + \subsection{Heating Module: PTC Ceramic Heater}
196 +
197 + \begin{figure}[htb!]
198 + \centering
199 + \includegraphics[width=0.5\linewidth,angle=90]{heater.jpg}
200 + \caption{PTC Ceramic Heater Module}
201 + \label{fig:heater-module}
202 + \end{figure}
203 +
204 + \textbf{Description:} This module provides the controlled heat necessary to drive moisture out of the filament material.
205 +
206 + \subsubsection{Working Principle}
207 + PTC (Positive Temperature Coefficient) ceramic heaters increase their resistance as they heat up, naturally limiting current and stabilizing temperature (typically around 60°C).
208 + The ceramic heater emits uniform heat that warms the air inside the sealed box.
209 + A 12V DC fan is paired with the heater to actively circulate warm air within the chamber, ensuring consistent drying across the entire filament spool.
210 + \subsubsection{Functionality}
211 + Self-regulating – No need for external thermal switches or thermostats.
212 + Safe and efficient – Won’t overheat; energy-efficient after stabilizing.
213 + Compact \& quiet – Suitable for a closed box environment.
214 +
215 + \subsection{DC Fans -- Air Circulation}
216 + \textbf{Description:} Ensures uniform temperature distribution and prevents thermal pockets within the drying enclosure.
217 +
218 + \subsubsection{Functionality}
219 + Even airflow enhances drying efficiency by exposing all surfaces of the filament to warm air.
220 + Two or more fans may be used—one to blow heated air across the filament, another to assist air movement toward the Peltier cooler for dehumidification.
221 +
222 + \subsubsection{Key Components}
223 + \begin{itemize}
224 + \item 12V brushless DC axial fans.
225 + \item Controlled via relays and optionally modulated using PWM from the ESP32.
226 + \end{itemize}
227 +
228 + \subsection{Dehumidification Module – Peltier Cooler with Condensation Tray}
229 +
230 + \textbf{Description:} The Peltier module condenses moisture from the air after it has been heated and saturated with vapor from the filament.
231 +
232 + \subsubsection{Working}
233 + The TEC1-12706 Peltier module uses the thermoelectric effect: when powered, one side becomes cold, and the other becomes hot.
234 + The cold side, placed inside the box, cools humid air. As the air’s temperature drops below the dew point, moisture condenses into liquid form on a metal heat sink.
235 + This condensate is collected in a tray or routed out via a tube.
236 +
237 + \subsubsection{Thermal Setup}
238 + The hot side of the Peltier is mounted on the outside of the box, with a fan and heat sink to dissipate waste heat.
239 +
240 + \subsection{Control Module – ESP32 Microcontroller System}
241 + \textbf{Description:} The ESP32 microcontroller handles real-time control, monitoring, and automation of all components.
242 +
243 + \subsubsection{Functionality}
244 + Reads temperature and humidity via sensors like DHT22 or SHT31.
245 + Based on sensor inputs, it:
246 + \begin{itemize}
247 + \item Activates/deactivates the heater.
248 + \item Turns fans on/off or modulates their speed via PWM.
249 + \item Controls the Peltier cooler to prevent overcooling or unnecessary power drain.
250 + \end{itemize}
251 +
252 + \begin{figure}[htb!]
253 + \centering
254 + \includegraphics[width=0.5\linewidth]{esp32.png}
255 + \caption{ESP32 Development Board}
256 + \label{fig:esp32}
257 + \end{figure}
258 + Has Wi-Fi and Bluetooth for potential IoT integration, like:
259 + \begin{itemize}
260 + \item A web dashboard.
261 + \item MQTT reporting.
262 + \item Over-the-air updates (OTA).
263 + \end{itemize}
264 + \textbf{Interfaces:}
265 + Relay module (3-channel) connected to ESP32 controls high-power elements (heater, cooler, fans).
266 + Optional OLED or LCD display for live status.
267 + \begin{figure}[htb!]
268 + \centering
269 + \includegraphics[width=0.5\linewidth]{relay.png}
270 + \caption{12V Dual Channel Relay}
271 + \label{fig:relay}
272 + \end{figure}
273 +
274 + \subsection{Power Supply Module – 12V, 20A DC Power Unit}
275 + \begin{figure}[htb!]
276 + \centering
277 + \includegraphics[width=0.5\linewidth]{psu1.png}
278 + \caption{12V 20A DC SMPS}
279 + \label{fig:psu1}
280 + \end{figure}
281 + \begin{figure}[htb!]
282 + \centering
283 + \includegraphics[width=0.5\linewidth]{psu2.png}
284 + \caption{12V 20A DC SMPS}
285 + \label{fig:psu2}
286 + \end{figure}
287 + \textbf{Description:} This module provides a regulated 12V supply to power the heater, fans, Peltier, and control electronics.
288 +
289 + \subsubsection{Specifications}
290 + \begin{itemize}
291 + \item Voltage: 12V DC
292 + \item Current: Up to 20 Amps (sufficient for simultaneous operation of all modules)
293 + \item Features: Overcurrent, overvoltage, and thermal protection.
294 + \end{itemize}
295 +
296 + \subsubsection{Power Distribution}
297 +
298 + \begin{itemize}
299 + \item Heater (~100–150W) and Peltier (~60–80W) draw the most current.
300 + \item Fans and ESP32 use negligible current (<1A combined).
301 + \item Proper wiring with fuses is recommended to avoid short circuits.
302 + \end{itemize}
303 +
304 + \subsection{Enclosure – Airtight Chamber}
305 +
306 + \begin{figure}[htb!]
307 + \centering
308 + \includegraphics[width=0.5\linewidth,angle=-90]{chamber.png}
309 + \caption{Enclosure}
310 + \label{fig:chamber}
311 + \end{figure}
312 +
313 + \textbf{Description:} The enclosure forms the physical drying environment. Its design ensures:
314 +
315 + \begin{itemize}
316 + \item Airtightness – To prevent fresh ambient humidity from entering.
317 + \item Thermal retention – To keep the internal temperature stable.
318 + \item Safety – To prevent exposure to hot components.
319 + \end{itemize}
320 +
321 + \textbf{Includes:}
322 + \begin{itemize}
323 + \item Inlet/outlet ports for filament spools.
324 + \item Access panel for cleaning and servicing.
325 + \item Drainage path for condensed water.
326 + \end{itemize}
327 +
328 + \newpage
329 + \section{Desgin Flow}
330 + Flowcharts are visual representations of processes that illustrate the sequence of steps and decision points using standardized symbols. The flowchart in the image demonstrates a temperature control system with heating and cooling mechanisms.
331 +
332 + \subsection{Flowchart}
333 + The flowchart depicts a temperature control system that functions as follows:
334 +
335 + \begin{figure}[htb!]
336 + \centering
337 + \includegraphics[width=0.75\linewidth]{flowchart.png}
338 + \caption{Flowchart}
339 + \label{fig:flowchart}
340 + \end{figure}
341 +
342 + \begin{enumerate}
343 + \item The process begins at "Start"
344 + \item The system initiates by "Increase Heating"
345 + \item At the decision point, the system checks if "Temperature $\geq$ Setpoint?"
346 + \item If "Yes," the system will "Activate Fans" and then "Stop Heating"
347 + \item If "No," the system will "Stop Cooling" and terminate the process
348 + \item After "Stop Heating," the process flows to a series of "Stop Cooling" actions before potentially continuing the process.
349 + \end{enumerate}
350 +
351 + This flowchart effectively illustrates a basic temperature regulation system, though there are some redundancies in the "Stop Cooling" actions that might benefit from refinement. Flowcharts like this are particularly valuable for visualizing control systems and processes with clear decision points.
352 +
353 + \subsection{Data Flow Diagram}
354 +
355 + \begin{figure}[htb!]
356 + \centering
357 + \includegraphics[width=0.75\linewidth]{data-flow-diagram.png}
358 + \caption{Data Flow Diagram}
359 + \label{fig:dataflow}
360 + \end{figure}
361 +
362 + The DFD illustrates the data exchange in an IoT filament drying box system:
363 + The ``User'' entity sends ``Control Signals'' to the "ESP32 Microcontroller" process
364 + The ``ESP32 Microcontroller'' process transforms these signals and sends three types of control data to the ``IoT Filament Drying Box'' entity:
365 + \begin{itemize}
366 + \item ``Heater Control'' data
367 + \item ``Cooler Control'' data
368 + \item ``Fan Control'' data
369 + \end{itemize}
370 +
371 + \subsection{Entity-Relationship Diagram}
372 +
373 + \begin{figure}
374 + \centering
375 + \includegraphics[width=0.75\linewidth]{er_diagram.png}
376 + \caption{Entity Relationship Diagram}
377 + \label{fig:er-diagram}
378 + \end{figure}
379 +
380 + The E-R diagram depicts the relationships in an IoT filament drying box system:
381 + \begin{itemize}
382 + \item The "Filament" entity "CONTAINS" the "IoT Filament Drying Box" entity.
383 + \item The "Relay" entity "MANAGES" the "IoT Filament Drying Box" entity.
384 + \item The "MANAGES" relationship connects to "SWITCHES".
385 + \item The "IoT Filament Drying Box" entity "SWITCHES" both the "Heater" and "Cooler" entities.
386 + \item Additionally, "SWITCHES" connects to both "Heater" and "Fan" entities.
387 + \end{itemize}
388 +
389 + \newpage
390 + \section{Methodology Adopted}
391 + \subsection{Algorithm Formulated}
392 + \subsection{Mathematical Modelling}
393 +
394 + \newpage
395 + \section{Results}
396 + \subsection{Screen Shot of Simulator/Emulator/Hardware Kits}
397 +
398 + \begin{figure}[htb!]
399 + \centering
400 + \includegraphics[width=1\linewidth]{readings.png}
401 + \caption{Web Application}
402 + \label{fig:frontend}
403 + \end{figure}
404 +
405 + \begin{figure}[htb!]
406 + \centering
407 + \includegraphics[width=0.75\linewidth]{group_photo.png}
408 + \caption{From Left to Right: Soham Khanna, Parikshit Pandey,
409 + Sujal Singh, Pranav Bisht, Dhruv Grover}
410 + \label{fig:enter-label}
411 + \end{figure}
412 +
413 + \begin{figure}[htb!]
414 + \centering
415 + \includegraphics[width=0.75\linewidth]{raise_chamber.png}
416 + \caption{Condensation using Peltier Module}
417 + \label{fig:enter-label}
418 + \end{figure}
419 +
420 + \subsection{Graphs and Tables}
421 +
422 + \begin{figure}[htb!]
423 + \centering
424 + \includegraphics[width=0.75\linewidth]{graph.png}
425 + \caption{DHT22 Sensor Readings}
426 + \label{fig:dht22}
427 + \end{figure}
428 +
429 + \subsection{Comparitive Chart}
430 +
431 + \begin{figure}[htb!]
432 + \centering
433 + \includegraphics[width=0.75\linewidth]{humidity-graph.png}
434 + \caption{Humidity Graph}
435 + \label{fig:humidity-graph}
436 + \end{figure}
437 +
438 + ~
439 + \newpage
440 + ~
441 + \newpage
442 + \section{References/Bibliography}
443 +
444 + Here are the key references and sources related to filament drying systems and moisture management in 3D printing:
445 +
446 + \nocite{*}
447 + \printbibliography
448 +
449 + %-------------------------------------------------------------------------------%
450 + \end{document}
451 +
452 + %https://docs.google.com/document/d/1i3HB2Bi_Z1GjUn8smszxmyiKsG4jU3o3UwGLgLuICZ8/edit?tab=t.0

references.bib(file created)

@@ -0,0 +1,60 @@
1 + @misc{youtube,
2 + author = {Workshop Feedback},
3 + title = {I designed an air dryer with a Peltier module to keep my coreXY printer filaments dry while printing},
4 + year = {2022},
5 + url = {https://www.wevolver.com/article/how-to-dry-filament},
6 + note = {Accessed: 2025-05-05}
7 + }
8 + @misc{Wevolver,
9 + author = {Tess Boissonneault},
10 + title = {How to Dry Filament: PA, TPU, PLA, PVA \& PET},
11 + year = {2025},
12 + url = {https://www.wevolver.com/article/how-to-dry-filament},
13 + note = {Accessed: 2025-05-05}
14 + }
15 +
16 + @misc{printables,
17 + author = {IVDx Consulting},
18 + title = {Dry Boxes for MMU3 Filament Feed},
19 + year = {2024},
20 + url = {https://www.printables.com/model/920522-dry-boxes-for-mmu3-filament-feed},
21 + note = {Accessed: 2025-05-05}
22 + }
23 +
24 + @misc{amazon,
25 + author = {Creality},
26 + title = {Creality Space Pi Filament Dryer, Filament Storage Box, Upgraded Double 360° Heating Drying with Fan&Touch Screen, 3D Printer Filament Spool Holder, Dehydrator 1.75/2.85/3mm PLA PETG ABS TPU Nylon},
27 + year = {2024},
28 + url = {https://www.amazon.com/dp/B0CPJF3BSS},
29 + note = {Accessed: 2025-05-05}
30 + }
31 +
32 + @article{ANIULIS2024104103,
33 + title = {Automated non-destructive 3D printing filament material properties monitoring based on electric permittivity, longitudinal encoding and diameter multi-axes real-time measurements},
34 + journal = {Additive Manufacturing},
35 + volume = {84},
36 + pages = {104103},
37 + year = {2024},
38 + issn = {2214-8604},
39 + doi = {https://doi.org/10.1016/j.addma.2024.104103},
40 + url = {https://www.sciencedirect.com/science/article/pii/S2214860424001490},
41 + author = {Jakub Aniulis and Grzegorz Dudzik and Krzysztof M. Abramski},
42 + keywords = {3D printing, Material properties measurement, Relative electric permittivity, Filament moisture, Capacitance sensor, Diameter characteristic},
43 + abstract = {Rapid prototyping is an essential part of today’s research and development process. The ability to produce objects quickly, cost-effectively and on-site is critical to meeting this fundamental requirement. One of the factors that leads to inconsistencies and defects in the produced parts is the uncompensated change in material properties used in the material extrusion 3D printing manufacturing process. This creates the need for a real-time, low-cost filament quality monitor that can characterize the material properties of the filament along its length. This can be achieved by tracking the variation in measured capacitive tube capacitance and diameter of different sensor types over multiple selected axes and encoding the results to a specific fragment of filament used in material extrusion 3D printing. With such collected data it is possible to monitor factors such as material moisture, roundness, internal and external defects, component proportions, relative electrical permeability, Poisson’s ratio and material type. This work presents the first proof of concept of such a device and describes its operating principle in detail. As examples of applications, filament material type recognition is presented based on the characteristics of several types of filaments from different manufacturers, the process of moisture absorption over time for selected filaments is described, and the detection of defects of varying degrees is shown.}
44 + }
45 +
46 + @misc{bambulabs,
47 + author = {Huminilian},
48 + title = {What is the 3d filament dryer you choose?},
49 + year = {2023},
50 + url = {https://forum.bambulab.com/t/what-is-the-3d-filament-dryer-you-choose/17256},
51 + note = {Accessed: 2025-05-05}
52 + }
53 +
54 + @misc{youtube2,
55 + author = {GunplaMark},
56 + title = {Dry Box Storage System for 3D Printer Filament, Updated for 2024 and Better than Ever!},
57 + year = {2024},
58 + url = {https://www.youtube.com/watch?v=YuO7iVL-4Cg},
59 + note = {Accessed: 2025-05-05}
60 + }
Newer Older