Choose humidity protection for electronics by checking the complete device’s environmental limits, then separating humid air from condensation and liquid exposure. Near tanks, a gasketed enclosure can stop splashes without solving moisture already inside. An open fan can introduce more humid air and contamination. Start by moving the electronics away from tank openings and plumbing. Then select the enclosure, cable entries and moisture controls around the exposure that remains.
Check the complete device’s environmental limits
There is no universal humidity limit for a microcontroller-based assembly. The processor’s limits do not establish the limits of its circuit board, connectors, power supply or display.
Read the operating specifications for the complete device. Record its temperature range, relative humidity range and any qualification such as “non-condensing.” Also check storage limits if the equipment remains installed while switched off.
A hypothetical specification allowing 90% relative humidity, non-condensing, does not permit droplets on the board. It also does not establish resistance to tank water, salt deposits or cleaning chemicals. The distinction between these exposures is explained in IP rating humidity and corrosion limits.
For an installation operating at 80–85 °F (27–29 °C), measure conditions where the electronics will actually sit. Room measurements across an aisle may miss the humid air immediately above a tank.
Record conditions during normal operation, overnight shutdown and tank maintenance. Include the coldest enclosure surface, not just the surrounding air temperature. A cold wall, pipe or cooling outlet can create a condensation risk despite acceptable room conditions.
If the complete device has no published humidity specification, obtain application guidance from its manufacturer. A processor temperature reading alone cannot establish environmental suitability.
Separate humid air from tank water
Map the credible exposure before choosing a rating. Water does not need to spill directly onto the enclosure to reach its openings.
| Exposure near the tanks | What to establish | Design response |
|---|---|---|
| Humid air only | Maximum humidity and device non-condensing limits | Keep electronics within their stated environmental limits |
| Condensation | Whether any internal surface can fall below the internal dew point | Control moisture entry and maintain suitable surface temperatures |
| Splashes and drips | Direction, frequency and likely maintenance activities | Relocate first, then specify protection for the remaining exposure |
| Hose cleaning | Water direction, pressure, temperature and chemicals | Select a suitable enclosure assembly and review cleaning conditions |
| Salt-bearing spray or deposits | Freshwater, brine, saltwater and cleaning residues | Address corrosion, connectors and material compatibility separately |
Place the enclosure beside the tank system rather than directly above an open tank. Avoid locations beneath pipe joints, valves, overflow outlets or removable hoses. Leave enough separation that routine maintenance does not place an open enclosure door in the splash zone.
Humidity can change quickly when covers are removed or ventilation stops. Continuous operation for several days is not an environmental qualification. Corrosion can also accumulate gradually without causing an immediate electrical fault.
Keep liquid exposure and electrical safety separate from equipment reliability. Use a power supply, wiring method and ground-fault protection suitable for the installation and local requirements. If water enters energized equipment, isolate power before opening or handling it.
Choose a rating for the water exposure
For credible splashes or hose-directed water, a gasketed Type 4X enclosure is a practical starting point, particularly where corrosion matters. It is not a substitute for reviewing the actual cleaning process.
The catalog wall-mount enclosures are rated NEMA 4X / IP66 by the manufacturer; not UL listed. Confirm project approval requirements before ordering. A manufacturer rating does not satisfy a specification that separately requires a third-party listing.
An enclosure rating describes defined protection conditions. It does not establish an allowable internal relative humidity or guarantee that condensation cannot occur. It also does not make every installed connector, fan or cable entry suitable for the same exposure.
Hot cleaning water, high-pressure cleaning, chemical attack and possible immersion require separate application review. Do not infer immersion protection from resistance to water jets. If flooding or overflow can submerge the enclosure, relocation is preferable to treating a splash-resistant box as a submerged installation.
Treat every opening as part of the enclosure assembly. Cable glands, blanking plugs, displays and cooling equipment must suit the intended protection and installation method. The cutouts, glands and HMI windows guide covers the entry and sealing fundamentals.
Neither a dust filter nor an ordinary ventilation fan stops water vapor. A pressure-equalization vent is not a dehumidifier; its limits are covered in enclosure pressure equalization, humidity and heat.
Match the material to water and cleaning chemistry
For indoor freshwater tanks with compatible cleaning products, 304 stainless steel is a reasonable starting material. For saltwater, brine or chloride-bearing deposits, consider 316L stainless steel instead.
The choice depends on exposure, not simply the presence of water. Record chemical names, working concentrations, temperatures and contact times. Include cleaning products used nearby, even when the enclosure itself is not intentionally washed.
316L improves resistance to chloride-related corrosion compared with 304, but it is not immune to chemical attack. Deposits and trapped liquid can still create aggressive local conditions. Plan access for inspection and cleaning without allowing liquid into the electrical space.
Keep conformal coating as secondary protection
Conformal coating can reduce a circuit board’s vulnerability to moisture and contamination when properly specified and applied. It does not seal the enclosure or protect every connector, switch and power-supply opening.
Use the device manufacturer’s approved coating process, if one exists. Applying coating to an assembled commercial device can affect serviceability, thermal interfaces and its evaluated configuration.
Mask electrical contacts, service connections and thermal contact surfaces as required by the coating process. Follow the coating manufacturer’s compatibility, coverage and curing instructions. The article on conformal coating without fouling PCB connectors addresses those practical limits.
Size the enclosure around layout and heat
Choose dimensions from the installed assembly, not the bare board outline. Include mounting hardware, terminal blocks, power conversion, cable bends and access for disconnecting connectors.
For a compact controller, the 10 x 8 x 6 in 304 stainless wall-mount enclosure is one candidate to check against the layout. Its outside dimensions are 10 x 8 x 6 in, in height, width and depth order. Nominal inside dimensions are 9.91 x 7.91 x 5.91 in.
Those inside dimensions do not establish mounting-panel-to-door clearance. Obtain the drawing and account for the mounting panel, component height, door hardware and wiring. Use the electrical enclosure sizing guide for the dimensional fundamentals.
Calculate internal heat from component losses, not the connected equipment’s total output power. Include the controller, power supply, relays and any heater. Check the hottest component under maximum expected ambient temperature and workload.
A processor heatsink transfers heat into the enclosure air. An internal circulation fan redistributes that heat but does not remove it from the enclosure. An exhaust fan exchanges air and can continuously import tank-room humidity or aerosol.
Start with passive heat rejection through the enclosure if the calculated load permits it. If cooling is required, select a method that preserves the required protection. Verify the result using the approach in checking control cabinet temperature limits.
Mount and seal without trapping a moisture problem
Mount the enclosure where the door can open for service without exposure to tank water. Use external mounting provisions where available rather than adding unplanned holes through the electrical space.
Route cables so liquid cannot run directly toward an entry. Where practical, place entries on the bottom and provide external drip loops. Support cables separately so their weight does not distort glands or pull against seals.
Select glands by the actual cable outside diameter and the gland’s specified clamping range. Follow the fitting’s requirements for wall thickness, hole geometry, sealing washers and tightening. An oversized hole filled with sealant is not an equivalent installation.
Bond the stainless enclosure and other required metal parts using the applicable electrical design. Protect bonding connections from contamination and maintain access for inspection.
Assemble the panel with dry components and a clean, dry interior. Close the door after wiring and inspection rather than leaving it open beside operating tanks.
If measurements show a condensation risk, select a controlled heater, maintained desiccant system or dehumidification method appropriate to the enclosure. Heating reduces relative humidity and raises surface temperatures; it does not remove water vapor. Desiccant needs a defined replacement or regeneration interval based on actual moisture loading.
Do not add an unreviewed drain hole or fan opening as a moisture fix. Changes to the enclosure boundary need assessment against the intended rating.
Put the exposure and acceptance limits on the order
Specify the environmental duty alongside the dimensions. “Humid room” is not enough information to select seals, materials or moisture controls.
For chloride exposure, the 10 x 8 x 6 in 316L stainless wall-mount enclosure provides the same outside size as the 304 candidate above. Choose either only after confirming usable space, heat rejection and entry locations.
| Order requirement | What to specify |
|---|---|
| Location | Indoor tank room, enclosure position and distance from splash sources |
| Environmental limits | Measured temperature and humidity ranges, including shutdown conditions |
| Liquid exposure | Freshwater or saltwater, splashes, drips and cleaning conditions |
| Required protection | Required manufacturer rating and any separate listing or approval requirement |
| Material | 304 or 316L stainless steel, supported by the chemical exposure review |
| Dimensions | Outside height x width x depth, required usable mounting area and door clearance |
| Heat | Component losses in watts, maximum ambient temperature and component temperature limits |
| Entries | Cable diameters, gland specifications, hole sizes, locations and unused-entry closures |
| Moisture control | Measured condensation risk, selected control method and maintenance needs |
| Acceptance | Drawing approval, seal inspection and temperature/humidity verification under representative operation |
Use the enclosure selector when environment, approval requirements and usable dimensions are established. A dimensional match still needs a separate thermal check.
If catalog dimensions cannot accommodate the layout and entry positions, we build custom enclosures with customer-defined material, width, height, depth and cutouts. Send the component layout, cable-entry drawing and exposure requirements together so the enclosure boundary can be reviewed before fabrication.
Enclosures in this article
| Enclosure | Material | Outside H x W x D / display | Rating |
|---|---|---|---|
| 10 × 8 × 6 in | 304 stainless | 10 x 8 x 6 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
| 10 × 8 × 6 in | 316L stainless | 10 x 8 x 6 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
Questions
How much humidity can a microcontroller-based device withstand?
There is no universal limit for microcontroller-based equipment. Check the complete device’s operating temperature and relative humidity specifications, including any non-condensing restriction. Connectors, power supplies and other assembly components may have different limits from the processor itself.
Does a sealed enclosure eliminate humidity problems?
No. A water-ingress rating does not establish an internal humidity limit or prevent moisture already inside from condensing. Dry assembly, suitable cable entries and a moisture-control strategy may still be needed when internal surfaces become colder than the internal dew point.
Should an enclosure beside tanks have a ventilation fan?
Not necessarily. An exhaust fan imports ambient moisture and may introduce tank aerosol through its intake. An internal fan circulates air but does not remove moisture or reject heat outside by itself. Establish the thermal requirement before selecting ventilation or closed-loop cooling.
Can conformal coating replace an enclosure near water?
Conformal coating can provide secondary protection when its application is approved for the device. It does not protect every connector, opening or power component, and it does not replace enclosure sealing. Coating selection, masking, curing and thermal-interface compatibility all need review.
Should a tank-side enclosure use 304 or 316L stainless steel?
304 stainless steel is a reasonable starting point for indoor freshwater exposure with compatible cleaning products. Consider 316L for saltwater, brine or chloride-bearing deposits. Review chemical concentration, temperature and contact time because neither grade is resistant to every cleaning or operating condition.





