Last active 1746444187

ipu.cls Raw
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 (2023--27)}
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}
110
111
112\usemintedstyle{bw}
113% Changes minted line number size
114\renewcommand{\theFancyVerbLine}{\parbox{10pt}{\centering\footnotesize\arabic{FancyVerbLine}}}
115
116\newtcblisting{code}[2]{
117 listing only,
118 listing engine=minted,
119 minted language=#2,
120 breakable,
121 enhanced,
122 colback=white,
123 coltitle=black,
124 colbacktitle=white,
125 top=0pt,
126 bottom=0pt,
127 sharp corners,
128 title=\textbf{#1:},
129 minted options = {
130 linenos,
131 stripall,
132 breaklines,
133 xleftmargin=10pt,
134 },
135 overlay={%
136 \begin{tcbclipinterior}
137 \draw [line width=1pt] (frame.north west) rectangle ([xshift=18pt]frame.south west);
138 \end{tcbclipinterior}
139 }}
140
141\BeforeBeginEnvironment{code}{\vspace*{-18pt}}
142
143\newtcolorbox{tabularsection}[1]{
144 breakable,
145 enhanced,
146 colback=white,
147 coltitle=black,
148 colbacktitle=white,
149 top=0pt,
150 bottom=0pt,
151 sharp corners,
152 title=\textbf{#1:},
153}
154
main.tex Raw
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\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
38\begin{document}
39
40\maketitle
41\newpage
42\tableofcontents
43\newpage
44
45%-------------------------------------------------------------------------------%
46
47\begin{center}\textbf{\LARGE Project Report}\end{center}
48
49\section{Abstract}
50The IoT Filament Drying Box revolutionizes moisture management for 3D printing materials by integrating advanced IoT-driven automation, precision environmental control, and data-centric optimization.
51This 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.
52Leveraging 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.
53The 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.
54\\\\
55A 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.
56\\
57Through 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.
58
59
60\newpage
61\section{Introduction}
62The 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.
63
64\subsection{Fundamental Thermodynamic Principles}
65The 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.
66\\\\
67The 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.
68
69\subsection{PTC Ceramic Heating Technology}
70The 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.
71\\\\
72This 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.
73PTC heaters offer several critical advantages for this application:
74Self-temperature regulation: The heating element automatically reduces current after reaching preset temperatures, achieving thermal stability without external controls.
75
76\begin{itemize}
77 \item \textbf{Inherent safety protection:} When ambient temperature exceeds material tolerances, the resistance increases sharply, causing current to drop and preventing overheating.
78 \item \textbf{Energy efficiency:} The dynamic power adjustment allows the heater to consume only the energy necessary to maintain target temperatures.
79 \item \textbf{Uniform heating:} The ceramic material provides consistent heat distribution across its surface.
80\end{itemize}
81
82\subsection{Peltier Cooling and Condensation System}
83The 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.
84\\
85In 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.
86\\
87The 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.
88This approach creates a continuous dehumidification cycle:
89
90\begin{itemize}
91 \item Heated air absorbs moisture from filament material
92 \item Moisture-laden air contacts the cold surface of the Peltier module
93 \item Water vapor condenses into liquid
94 \item Condensed water is collected and drained from the system
95 \item Dehumidified air continues circulating within the enclosure
96\end{itemize}
97
98\subsection{Air Circulation System}
99To 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:
100
101\begin{itemize}
102 \item Distributing heat evenly throughout the box, preventing temperature stratification.
103 \item Directing moisture-laden air across cooling surfaces to maximize condensation.
104 \item Ensuring all filament material is exposed to consistent environmental conditions.
105 \item Accelerating the drying process through increased air exchange at material surfaces.
106\end{itemize}
107
108The 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.
109
110\subsection{IoT Control and Monitoring System}
111The 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.\\
112The control architecture employs three Relay switching circuits to regulate power to the system's primary components:
113
114\begin{itemize}
115 \item PTC heating element
116 \item Peltier cooling module
117 \item Circulation fans
118\end{itemize}
119
120
121This 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.
122A 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}
125The 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.
126The 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}
135The IoT Filament Drying Box directly addresses the challenges identified in the problem statement through its comprehensive approach to moisture management. The system effectively tackles:
136Moisture 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}
144This 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.
145By 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}
1503D 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\\
152This 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\\
154When 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\\
156To 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.
157Commercial 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.
158As 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
163IoT-Based Filament Drying Box: A Literature Survey
164Before 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}
1663D 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.\\
167When 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\\
169The 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}
174The 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}
182Positive 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}
185The 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.
186Compared 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
194Recent 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}
211PTC (Positive Temperature Coefficient) ceramic heaters increase their resistance as they heat up, naturally limiting current and stabilizing temperature (typically around 60°C).
212The ceramic heater emits uniform heat that warms the air inside the sealed box.
213A 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}
215Self-regulating – No need for external thermal switches or thermostats.
216Safe and efficient – Won’t overheat; energy-efficient after stabilizing.
217Compact \& 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}
223Even airflow enhances drying efficiency by exposing all surfaces of the filament to warm air.
224Two 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}
237The TEC1-12706 Peltier module uses the thermoelectric effect: when powered, one side becomes cold, and the other becomes hot.
238The 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.
239This condensate is collected in a tray or routed out via a tube.
240
241\subsubsection{Thermal Setup}
242The 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}
248Reads temperature and humidity via sensors like DHT22 or SHT31.
249Based 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}
262Has 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:}
269Relay module (3-channel) connected to ESP32 controls high-power elements (heater, cooler, fans).
270Optional 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}
334Flowcharts 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}
337The 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
355This 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
366The DFD illustrates the data exchange in an IoT filament drying box system:
367The ``User'' entity sends ``Control Signals'' to the "ESP32 Microcontroller" process
368The ``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
384The 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}
400PID (Proportional–Integral–Derivative) controller helps maintain a set temperature or RH% by adjusting power (to heater, fan, or Peltier).
401
402General 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
408Where,
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
419Psychrometrics 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}
429Due 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\\
431Testing 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
481Here 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}
502The IoT Filament Drying Box revolutionizes moisture management for 3D printing materials by integrating advanced IoT-driven automation, precision environmental control, and data-centric optimization.
503This 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.
504Leveraging 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.
505The 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\\\\
507A 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\\
509Through 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}
514The 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}
517The 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\\\\
519The 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}
522The 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\\\\
524This 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.
525PTC heaters offer several critical advantages for this application:
526Self-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}
535The 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\\
537In 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\\
539The 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.
540This 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}
551To 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
560The 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}
563The 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.\\
564The 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
573This 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.
574A 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.
575
576\subsection{System Integration and Power Management}
577The 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.
578The power requirements reflect the demands of the various components:
579
580\begin{itemize}
581 \item PTC heater: Operating at 12V with variable current based on temperature
582 \item Peltier module: Typically consuming 5-10A at 12V during active cooling
583 \item Circulation fans: Requiring minimal current but essential for system performance
584 \item Control electronics: Drawing minimal power but requiring stable voltage
585\end{itemize}
586\subsection{Addressing the Filament Moisture Problem}
587The IoT Filament Drying Box directly addresses the challenges identified in the problem statement through its comprehensive approach to moisture management. The system effectively tackles:
588Moisture 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.
589\begin{figure}
590 \centering
591 \includegraphics[width=0.5\linewidth]{cad_model.png}
592 \caption{CAD Model}
593 \label{fig:cad}
594\end{figure}
595\begin{itemize}
596 \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.
597 \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.
598 \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.
599 \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.
600\end{itemize}
601This 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.
602By 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.
603
604
605\newpage
606\section{Problem Statement}
6073D 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.
608\\
609This 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.
610\\
611When 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\%.
612\\
613To 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.
614Commercial 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.
615As 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.
616
617\newpage
618\section{Literature Survey}
619
620IoT-Based Filament Drying Box: A Literature Survey
621Before 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.
622\subsection{The Critical Need for Filament Drying in 3D Printing}
6233D 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.\\
624When 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\%.
625\\
626The 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.
627
628\subsection{Thermodynamic Principles of Dehumidification}
629
630\subsubsection{Psychrometrics and Moisture Control}
631The 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:
632
633\begin{itemize}
634\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.
635\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.
636\end{itemize}
637
638\subsection{PTC Heating Technology}
639Positive 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.
640
641\subsection{Thermoelectric Cooling Technology}
642The 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.
643Compared to traditional compressor-based dehumidifiers, Peltier-based systems offer several advantages for our application:
644\begin{itemize}
645\item \textbf{Compact Size:} The solid-state nature allows for a smaller footprint
646\item \textbf{No Moving Parts:} Increased reliability with fewer mechanical failure points
647\item \textbf{Precise Temperature Control:} Direct electronic control of cooling power
648\item \textbf{No Refrigerants:} Environmentally friendly operation without chemical coolants
649\end{itemize}
650
651Recent 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\%.
652
653\newpage
654\section{Major Modules Design and Implementation}
655
656\subsection{Heating Module: PTC Ceramic Heater}
657
658\begin{figure}[htb!]
659 \centering
660 \includegraphics[width=0.5\linewidth,angle=90]{heater.jpg}
661 \caption{PTC Ceramic Heater Module}
662 \label{fig:heater-module}
663\end{figure}
664
665\textbf{Description:} This module provides the controlled heat necessary to drive moisture out of the filament material.
666
667\subsubsection{Working Principle}
668PTC (Positive Temperature Coefficient) ceramic heaters increase their resistance as they heat up, naturally limiting current and stabilizing temperature (typically around 60°C).
669The ceramic heater emits uniform heat that warms the air inside the sealed box.
670A 12V DC fan is paired with the heater to actively circulate warm air within the chamber, ensuring consistent drying across the entire filament spool.
671\subsubsection{Functionality}
672Self-regulating – No need for external thermal switches or thermostats.
673Safe and efficient – Won’t overheat; energy-efficient after stabilizing.
674Compact \& quiet – Suitable for a closed box environment.
675
676\subsection{DC Fans -- Air Circulation}
677\textbf{Description:} Ensures uniform temperature distribution and prevents thermal pockets within the drying enclosure.
678
679\subsubsection{Functionality}
680Even airflow enhances drying efficiency by exposing all surfaces of the filament to warm air.
681Two 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.
682
683\subsubsection{Key Components}
684\begin{itemize}
685 \item 12V brushless DC axial fans.
686 \item Controlled via relays and optionally modulated using PWM from the ESP32.
687\end{itemize}
688
689\subsection{Dehumidification Module – Peltier Cooler with Condensation Tray}
690
691\textbf{Description:} The Peltier module condenses moisture from the air after it has been heated and saturated with vapor from the filament.
692
693\subsubsection{Working}
694The TEC1-12706 Peltier module uses the thermoelectric effect: when powered, one side becomes cold, and the other becomes hot.
695The 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.
696This condensate is collected in a tray or routed out via a tube.
697
698\subsubsection{Thermal Setup}
699The hot side of the Peltier is mounted on the outside of the box, with a fan and heat sink to dissipate waste heat.
700
701\subsection{Control Module – ESP32 Microcontroller System}
702\textbf{Description:} The ESP32 microcontroller handles real-time control, monitoring, and automation of all components.
703
704\subsubsection{Functionality}
705Reads temperature and humidity via sensors like DHT22 or SHT31.
706Based on sensor inputs, it:
707\begin{itemize}
708 \item Activates/deactivates the heater.
709 \item Turns fans on/off or modulates their speed via PWM.
710 \item Controls the Peltier cooler to prevent overcooling or unnecessary power drain.
711\end{itemize}
712
713\begin{figure}[htb!]
714 \centering
715 \includegraphics[width=0.5\linewidth]{esp32.png}
716 \caption{ESP32 Development Board}
717 \label{fig:esp32}
718\end{figure}
719Has Wi-Fi and Bluetooth for potential IoT integration, like:
720\begin{itemize}
721 \item A web dashboard.
722 \item MQTT reporting.
723 \item Over-the-air updates (OTA).
724\end{itemize}
725\textbf{Interfaces:}
726Relay module (3-channel) connected to ESP32 controls high-power elements (heater, cooler, fans).
727Optional OLED or LCD display for live status.
728\begin{figure}[htb!]
729 \centering
730 \includegraphics[width=0.5\linewidth]{relay.png}
731 \caption{12V Dual Channel Relay}
732 \label{fig:relay}
733\end{figure}
734
735\subsection{Power Supply Module – 12V, 20A DC Power Unit}
736\begin{figure}[htb!]
737 \centering
738 \includegraphics[width=0.5\linewidth]{psu1.png}
739 \caption{12V 20A DC SMPS}
740 \label{fig:psu1}
741\end{figure}
742\begin{figure}[htb!]
743 \centering
744 \includegraphics[width=0.5\linewidth]{psu2.png}
745 \caption{12V 20A DC SMPS}
746 \label{fig:psu2}
747\end{figure}
748\textbf{Description:} This module provides a regulated 12V supply to power the heater, fans, Peltier, and control electronics.
749
750\subsubsection{Specifications}
751\begin{itemize}
752 \item Voltage: 12V DC
753 \item Current: Up to 20 Amps (sufficient for simultaneous operation of all modules)
754 \item Features: Overcurrent, overvoltage, and thermal protection.
755\end{itemize}
756
757\subsubsection{Power Distribution}
758
759\begin{itemize}
760 \item Heater (~100–150W) and Peltier (~60–80W) draw the most current.
761 \item Fans and ESP32 use negligible current (<1A combined).
762 \item Proper wiring with fuses is recommended to avoid short circuits.
763\end{itemize}
764
765\subsection{Enclosure – Airtight Chamber}
766
767\begin{figure}[htb!]
768 \centering
769 \includegraphics[width=0.5\linewidth,angle=-90]{chamber.png}
770 \caption{Enclosure}
771 \label{fig:chamber}
772\end{figure}
773
774\textbf{Description:} The enclosure forms the physical drying environment. Its design ensures:
775
776\begin{itemize}
777 \item Airtightness – To prevent fresh ambient humidity from entering.
778 \item Thermal retention – To keep the internal temperature stable.
779 \item Safety – To prevent exposure to hot components.
780\end{itemize}
781
782\textbf{Includes:}
783\begin{itemize}
784 \item Inlet/outlet ports for filament spools.
785 \item Access panel for cleaning and servicing.
786 \item Drainage path for condensed water.
787\end{itemize}
788
789\newpage
790\section{Desgin Flow}
791Flowcharts 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.
792
793\subsection{Flowchart}
794The flowchart depicts a temperature control system that functions as follows:
795
796\begin{figure}[htb!]
797 \centering
798 \includegraphics[width=0.75\linewidth]{flowchart.png}
799 \caption{Flowchart}
800 \label{fig:flowchart}
801\end{figure}
802
803\begin{enumerate}
804 \item The process begins at "Start"
805 \item The system initiates by "Increase Heating"
806 \item At the decision point, the system checks if "Temperature $\geq$ Setpoint?"
807 \item If "Yes," the system will "Activate Fans" and then "Stop Heating"
808 \item If "No," the system will "Stop Cooling" and terminate the process
809 \item After "Stop Heating," the process flows to a series of "Stop Cooling" actions before potentially continuing the process.
810\end{enumerate}
811
812This 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.
813
814\subsection{Data Flow Diagram}
815
816\begin{figure}[htb!]
817 \centering
818 \includegraphics[width=0.75\linewidth]{data-flow-diagram.png}
819 \caption{Data Flow Diagram}
820 \label{fig:dataflow}
821\end{figure}
822
823The DFD illustrates the data exchange in an IoT filament drying box system:
824The ``User'' entity sends ``Control Signals'' to the "ESP32 Microcontroller" process
825The ``ESP32 Microcontroller'' process transforms these signals and sends three types of control data to the ``IoT Filament Drying Box'' entity:
826\begin{itemize}
827 \item ``Heater Control'' data
828 \item ``Cooler Control'' data
829 \item ``Fan Control'' data
830\end{itemize}
831
832\subsection{Entity-Relationship Diagram}
833
834\begin{figure}
835 \centering
836 \includegraphics[width=0.75\linewidth]{er_diagram.png}
837 \caption{Entity Relationship Diagram}
838 \label{fig:er-diagram}
839\end{figure}
840
841The E-R diagram depicts the relationships in an IoT filament drying box system:
842\begin{itemize}
843\item The "Filament" entity "CONTAINS" the "IoT Filament Drying Box" entity.
844\item The "Relay" entity "MANAGES" the "IoT Filament Drying Box" entity.
845\item The "MANAGES" relationship connects to "SWITCHES".
846\item The "IoT Filament Drying Box" entity "SWITCHES" both the "Heater" and "Cooler" entities.
847\item Additionally, "SWITCHES" connects to both "Heater" and "Fan" entities.
848\end{itemize}
849
850\newpage
851\section{Methodology Adopted}
852\subsection{Algorithm Formulated}
853\subsection{Mathematical Modelling}
854
855\newpage
856\section{Results}
857\subsection{Screen Shot of Simulator/Emulator/Hardware Kits}
858
859\begin{figure}[htb!]
860 \centering
861 \includegraphics[width=1\linewidth]{readings.png}
862 \caption{Web Application}
863 \label{fig:frontend}
864\end{figure}
865
866\begin{figure}[htb!]
867 \centering
868 \includegraphics[width=0.75\linewidth]{group_photo.png}
869 \caption{From Left to Right: Soham Khanna, Parikshit Pandey,
870 Sujal Singh, Pranav Bisht, Dhruv Grover}
871 \label{fig:enter-label}
872\end{figure}
873
874\begin{figure}[htb!]
875 \centering
876 \includegraphics[width=0.75\linewidth]{raise_chamber.png}
877 \caption{Condensation using Peltier Module}
878 \label{fig:enter-label}
879\end{figure}
880
881\subsection{Graphs and Tables}
882
883\begin{figure}[htb!]
884 \centering
885 \includegraphics[width=0.75\linewidth]{graph.png}
886 \caption{DHT22 Sensor Readings}
887 \label{fig:dht22}
888\end{figure}
889
890\subsection{Comparitive Chart}
891
892\begin{figure}[htb!]
893 \centering
894 \includegraphics[width=0.75\linewidth]{humidity-graph.png}
895 \caption{Humidity Graph}
896 \label{fig:humidity-graph}
897\end{figure}
898
899~
900\newpage
901~
902\newpage
903\section{References/Bibliography}
904
905Here are the key references and sources related to filament drying systems and moisture management in 3D printing:
906
907\nocite{*}
908\printbibliography
909
910%-------------------------------------------------------------------------------%
911\end{document}
912
913%https://docs.google.com/document/d/1i3HB2Bi_Z1GjUn8smszxmyiKsG4jU3o3UwGLgLuICZ8/edit?tab=t.0
references.bib Raw
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@misc{bambulabs,
33 author = {Huminilian},
34 title = {What is the 3d filament dryer you choose?},
35 year = {2023},
36 url = {https://forum.bambulab.com/t/what-is-the-3d-filament-dryer-you-choose/17256},
37 note = {Accessed: 2025-05-05}
38}
39
40@misc{youtube2,
41 author = {GunplaMark},
42 title = {Dry Box Storage System for 3D Printer Filament, Updated for 2024 and Better than Ever!},
43 year = {2024},
44 url = {https://www.youtube.com/watch?v=YuO7iVL-4Cg},
45 note = {Accessed: 2025-05-05}
46}