<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ke Longd</title>
    <description>The latest articles on DEV Community by Ke Longd (@ke_longd_b7f7aa5a280cdeb5).</description>
    <link>https://dev.to/ke_longd_b7f7aa5a280cdeb5</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4265723%2F9d033549-6751-4a96-9b28-729d596fe784.png</url>
      <title>DEV Community: Ke Longd</title>
      <link>https://dev.to/ke_longd_b7f7aa5a280cdeb5</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ke_longd_b7f7aa5a280cdeb5"/>
    <language>en</language>
    <item>
      <title>Building an IoT Moisture Monitoring Pipeline for Sports Flooring: From Sensor Telemetry to Failure Prediction</title>
      <dc:creator>Ke Longd</dc:creator>
      <pubDate>Thu, 26 Nov 2026 01:09:56 +0000</pubDate>
      <link>https://dev.to/ke_longd_b7f7aa5a280cdeb5/building-an-iot-moisture-monitoring-pipeline-for-sports-flooring-from-sensor-telemetry-to-failure-7no</link>
      <guid>https://dev.to/ke_longd_b7f7aa5a280cdeb5/building-an-iot-moisture-monitoring-pipeline-for-sports-flooring-from-sensor-telemetry-to-failure-7no</guid>
      <description>&lt;p&gt;Relative humidity swings are the single largest cause of premature sports floor failure, and manual hygrometer spot-checks catch them far too late. By the time a facility manager notices cupping boards or a hollow-sounding panel during routine walkover, the subfloor has already crossed the fiber saturation threshold and the repair is no longer a calibration problem — it is a full court replacement. This article walks through the design of a continuous monitoring pipeline that turns raw sensor telemetry into actionable failure predictions, using engineered wood sports flooring as the concrete domain.&lt;/p&gt;

&lt;p&gt;The domain details here come from public technical documentation published by &lt;a href="https://www.ldksportsequipment.com/sports-wood-flooring-systems/" rel="noopener noreferrer"&gt;LDK Sports Flooring Systems&lt;/a&gt;, a manufacturer whose court installations are subject to FIBA and EN 14904 performance requirements. That reference material is used as a real-world dataset for the thresholds and tolerances discussed below.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. Why Continuous Telemetry Beats Periodic Inspection
&lt;/h2&gt;

&lt;p&gt;A wood sports floor is a hygroscopic assembly. Its dimensional state is a function of moisture content, and moisture content is a function of the relative humidity of the surrounding air and the vapor profile of the concrete subfloor beneath it. Periodic inspection samples the system at discrete points in time; continuous telemetry samples it as a time series, which is the only representation that supports trend analysis and prediction.&lt;/p&gt;

&lt;h3&gt;
  
  
  1.1 Failure modes that spot-checks miss
&lt;/h3&gt;

&lt;p&gt;Four failure modes dominate moisture-driven floor degradation:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Cupping&lt;/strong&gt; — boards concave across their width when the top surface is drier than the underside, common in radiant-heated gymnasiums.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Crowning&lt;/strong&gt; — the inverse of cupping, where boards convex upward as the underside dries faster.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Buckling&lt;/strong&gt; — gross vertical displacement when overall moisture content exceeds the fiber saturation point and expansion is constrained.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Delamination&lt;/strong&gt; — adhesive joint failure between the wear layer and the engineered substrate under cyclic humidity stress.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each of these has a latency period of days to weeks. A sensor placed correctly detects the humidity gradient that &lt;em&gt;precedes&lt;/em&gt; the visible defect, which is the entire engineering value of the pipeline.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fu7kf7wtofxkbagc047j9.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fu7kf7wtofxkbagc047j9.webp" alt="LDK instrumented hardwood sports court installation used as monitoring testbed" width="800" height="600"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  1.2 Standards that define the thresholds
&lt;/h3&gt;

&lt;p&gt;Three reference frameworks constrain the allowable moisture state:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Standard&lt;/th&gt;
&lt;th&gt;Domain&lt;/th&gt;
&lt;th&gt;Relevance to monitoring&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;ASTM F2170&lt;/td&gt;
&lt;td&gt;In-situ concrete relative humidity&lt;/td&gt;
&lt;td&gt;Defines the probe depth and equilibration time for subfloor RH measurement&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;EN 14904&lt;/td&gt;
&lt;td&gt;Sports surface performance&lt;/td&gt;
&lt;td&gt;Sets force reduction and vertical deformation bands that a moisture-swollen floor can drift out of&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;DIN 18032-2&lt;/td&gt;
&lt;td&gt;Competition gymnasium floors&lt;/td&gt;
&lt;td&gt;Specifies ball rebound consistency tolerances sensitive to surface stiffness changes&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;A floor that passes EN 14904 at installation can fail force reduction after moisture-driven swelling raises local surface stiffness. The monitoring pipeline therefore tracks not just humidity but the derived mechanical state implied by it.&lt;/p&gt;




&lt;h2&gt;
  
  
  2. Sensor Layer: Hardware and Placement Geometry
&lt;/h2&gt;

&lt;p&gt;The sensing layer has three tiers: subfloor RH probes, ambient temperature/RH sensors, and surface contact sensors for direct deformation measurement.&lt;/p&gt;

&lt;h3&gt;
  
  
  2.1 Sensor selection
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Subfloor probes&lt;/strong&gt; — comply with ASTM F2170, placed at 40% depth for slabs drying from one side. Log at 15-minute intervals.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ambient sensors&lt;/strong&gt; — digital T/RH with ±2% RH accuracy, mounted at 1.2 m above finished floor, away from HVAC vents and direct sunlight.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Contact sensors&lt;/strong&gt; — capacitive displacement transducers over sleeper lines, sampled at 1 Hz during load events.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The full installation protocol, including probe depth calculation and equilibration windows, is documented in the manufacturer's &lt;a href="https://www.ldksportsequipment.com/sports-wood-flooring-installation/" rel="noopener noreferrer"&gt;sports wood flooring installation guide&lt;/a&gt;, which is useful background for the placement assumptions below.&lt;/p&gt;

&lt;h3&gt;
  
  
  2.2 Placement geometry and the spacing formula
&lt;/h3&gt;

&lt;p&gt;Sensor spacing is not arbitrary. For a hall of dimensions L × W with a target spatial resolution d (typically 6–8 m for competition courts), the grid count follows:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;n_x = ceil(L / d)
n_y = ceil(W / d)
N   = n_x * n_y + n_edge
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;where &lt;code&gt;n_edge&lt;/code&gt; adds sensors along perimeter walls, which experience the steepest humidity gradients. For a 40 m × 25 m court at d = 7 m, this yields n_x = 6, n_y = 4, N = 24 + 8 = 32 sensing points.&lt;/p&gt;

&lt;p&gt;The critical derived quantity is the &lt;strong&gt;moisture gradient&lt;/strong&gt; ΔRH between surface and subfloor:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;ΔRH = RH_subfloor - RH_ambient
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A ΔRH exceeding 25 percentage points over a 72-hour rolling window is the earliest reliable predictor of cupping in maple wear layers.&lt;/p&gt;




&lt;h2&gt;
  
  
  3. Data Pipeline Architecture
&lt;/h2&gt;

&lt;p&gt;The pipeline is deliberately boring: a time-series ingest layer, a normalization stage, a rule engine, and an alerting sink. Reliability matters more than sophistication here because the system runs unattended for years.&lt;/p&gt;

&lt;h3&gt;
  
  
  3.1 Ingest and storage
&lt;/h3&gt;

&lt;p&gt;Each sensor publishes MQTT messages to a broker with a topic structure of &lt;code&gt;court/{zone}/sensor/{id}/telemetry&lt;/code&gt;. A lightweight consumer writes to a time-series database with retention policies:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Raw 15-minute samples: 90 days hot, 2 years cold.&lt;/li&gt;
&lt;li&gt;Aggregated hourly means: 5 years.&lt;/li&gt;
&lt;li&gt;Derived gradient series: indefinitely.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Storing the derived series permanently is important because it is the input to the failure model and the only record needed for warranty disputes.&lt;/p&gt;

&lt;h3&gt;
  
  
  3.2 Normalization stage
&lt;/h3&gt;

&lt;p&gt;Sensors drift. The normalization stage applies a two-point calibration correction and a temperature compensation for RH readings:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;RH_corrected = RH_raw + k_c * (T_sensor - T_ref)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;where &lt;code&gt;k_c&lt;/code&gt; is the sensor-specific compensation coefficient from the calibration certificate (typically 0.3–0.7 %RH/°C). Without this step, a 5 °C seasonal swing produces a false ±2.5 %RH trend that can mask a real gradient.&lt;/p&gt;

&lt;h3&gt;
  
  
  3.3 Rule engine
&lt;/h3&gt;

&lt;p&gt;The rule engine evaluates three classes of condition:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Absolute threshold&lt;/strong&gt; — subfloor RH &amp;gt; 75% sustained for 72 h.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Gradient threshold&lt;/strong&gt; — |ΔRH| &amp;gt; 25 points over 72 h.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Rate-of-change&lt;/strong&gt; — dRH/dt &amp;gt; 3 points per day, indicating an active leak or HVAC fault.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;These thresholds are configurable per hall because a pool-adjacent gymnasium has a very different baseline from a climate-controlled collegiate arena.&lt;/p&gt;




&lt;h2&gt;
  
  
  4. Failure Prediction and Derived Mechanical State
&lt;/h2&gt;

&lt;p&gt;The most useful output is not a humidity number but a predicted mechanical state. Moisture-driven expansion changes the surface profile, which in turn changes the performance metrics that EN 14904 and DIN 18032-2 govern.&lt;/p&gt;

&lt;h3&gt;
  
  
  4.1 Expansion calculation
&lt;/h3&gt;

&lt;p&gt;Tangential expansion of a wood wear layer is approximately linear within the normal moisture range:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;ΔL = L * α * ΔMC
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;where α is the tangential expansion coefficient (≈ 0.0025 per 1% MC change for hard maple) and ΔMC is the moisture content change. For a 2.4 m board undergoing a 4% MC swing, ΔL ≈ 24 mm of accumulated movement across the board — which the sleeper and expansion-gap system must absorb without generating buckling.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkn7zxaav0zf4wub3dmmq.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkn7zxaav0zf4wub3dmmq.webp" alt="LDK multi-layer engineered sports wood flooring subfloor structure showing expansion gaps and sleeper layout" width="800" height="800"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  4.2 From expansion to performance drift
&lt;/h3&gt;

&lt;p&gt;The mechanical consequence is captured in a simple stiffness drift model:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;k_eff = k_0 * (1 - β * ΔMC)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A rise in moisture content lowers the effective stiffness &lt;code&gt;k_eff&lt;/code&gt;, reducing force reduction (the floor feels harder) and tightening ball rebound consistency outside its tolerance band. The pipeline flags a hall when the predicted &lt;code&gt;k_eff&lt;/code&gt; drift exceeds the EN 14904 force reduction band, even before any visible deformation appears.&lt;/p&gt;

&lt;h3&gt;
  
  
  4.3 Failure mode classification
&lt;/h3&gt;

&lt;p&gt;Combining the gradient, rate, and expansion outputs yields a classification:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Cupping risk&lt;/strong&gt; — ΔRH positive and rising, radiant heat active.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Crowning risk&lt;/strong&gt; — ΔRH negative, dehumidification active in subfloor.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Buckling risk&lt;/strong&gt; — absolute RH high, expansion gap consumed.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Delamination risk&lt;/strong&gt; — cyclic ΔRH sign reversals over 30+ days.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  5. Operational Checklist
&lt;/h2&gt;

&lt;p&gt;Deployment sequence that has proven reliable across multiple installations:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Survey the slab and compute probe depth per ASTM F2170 before flooring is laid.&lt;/li&gt;
&lt;li&gt;Install ambient sensors at 1.2 m, clear of air vents and solar gain.&lt;/li&gt;
&lt;li&gt;Lay out the grid using the spacing formula; add edge sensors on all four perimeter walls.&lt;/li&gt;
&lt;li&gt;Calibrate each sensor and record its compensation coefficient &lt;code&gt;k_c&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Configure the three rule classes with hall-specific thresholds.&lt;/li&gt;
&lt;li&gt;Run a 30-day baseline before enabling failure predictions.&lt;/li&gt;
&lt;li&gt;Wire alerts to a maintenance ticketing system, not a generic email inbox.&lt;/li&gt;
&lt;li&gt;Review the derived gradient series quarterly and re-tune thresholds after seasonal cycles.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  6. Lessons from the Field
&lt;/h2&gt;

&lt;p&gt;Two patterns recur in real deployments. First, the perimeter sensors generate most of the actionable alerts — the center of the court is usually stable. Second, false positives peak during HVAC changeover seasons, which is why the rate-of-change rule must be temperature-compensated before it is trusted.&lt;/p&gt;

&lt;p&gt;The engineering tolerances referenced throughout this article — FIBA-level surface uniformity, EN 14904 force reduction bands, DIN 18032-2 ball rebound consistency — are the same constraints that manufacturers design to. Grounding a monitoring pipeline in those published standards, rather than in arbitrary sensor thresholds, is what turns a hobby-grade IoT project into a defensible facility-management tool.&lt;/p&gt;

</description>
      <category>iot</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
