The Ultimate DIY 3D Printed Ultrasonic Humidifier: Design, Build and Customize to Your Own Comfort
Feel like the air is getting drier? Considering purchasing a humidifier? How about taking control of your indoor environment with a personalized, full-featured gadget you create? Welcome to the world where DIY electronics meet 3D printing! Building your own ultrasonic humidifier is a rewarding project that combines creativity, engineering and practical skills to deliver unparalleled customization. Using an Arduino microcontroller and smart component selection, you can create a humidifier perfectly customized to your space and preferences. Additionally, with 3D printing, you can design unique casings that cannot be found commercially. Let’s dive into how to create a personalized sprayer.
Why DIY?
Commercial humidifiers are readily available, but DIY has distinct advantages:
- Complete customization: Designed in exact shapes, sizes and colors to match your decor. Integrate specific functions (remote control, timer, ambient lighting).
- Cost control: Selectively source components to realize potential savings compared to high-end smart models.
- Educational fun: Deepen your understanding of electronics, microcontrollers (such as Arduino), sensors, and CAD design/3D printing.
- Repairability and upgradeability: Easily replace or upgrade components; no obsolescence planned!
- Uniqueness: Own a functional piece designed entirely by you.
Core components you need:
Gather these points before you start designing and printing:
- Ultrasonic fog machine module: The core of the system. Choose the wattage according to the size of the room (for example, 24V DC, 20-50W for small to medium rooms). Includes piezoelectric transducers.
- Water tank: Easy-to-use waterproof containers (glass bowls, food-safe plastic containers). The size depends on your runtime needs.
- fan: Small DC fans (such as 40mm-60mm, 5V/12V) can effectively dispel the generated fog.
- Microcontroller: Arduino Nano/UNO or ESP8266/ESP32 (the latter adds Wi-Fi capabilities). control logic.
- power supply: Reliable, waterproof power adapter that matches your fog machine voltage/current requirements (e.g. 24V, 2-3A).
- Sensor (optional but recommended):
- DHT22/DHT11: Measures ambient temperature and humidity for automatic adjustment.
- Water level sensor: prevents dry running (vital for protecting the fog machine!).
- Actuator:
- Relay or MOSFET: Safely switch high-power components (fog generators, fans) via low-power signals from a microcontroller.
- Control knob/potentiometer/button: Manually adjust the mist output intensity.
- Fog tube/exit: Flexible tubes direct the mist upwards. Optional nozzle attachment.
- LED (optional): Used for ambient lighting effects or status indications.
- Housing components: Screws, nuts, washers/O-rings for waterproof sealing (especially around wires/fog generators).
- 3D printed parts: Electronic equipment housing, fan mount, mist outlet assembly, sensor bracket, base/platform.
Key considerations for 3D printing:
Choosing the right materials and design methods is critical for functionality and safety:
-
Necessary materials:
- Water resistance/Impermeability: Critical for parts exposed to water vapor or potential leaks. ASA, polyethylene terephthalateor specialized PP (polypropylene) Filament is preferred due to its excellent moisture resistance and high temperature resistance.
- Avoid using PLA: While easy to print, PLA absorbs moisture and degrades/deforms over time, making it unsuitable for humid environments or structural parts near water/warmth.
- Food safety options (optional but recommended): If any printed parts are in direct contact with the water reservoir, please ensure filament certification (filament and printing process Compliance Required – Complex! It is safer to place the printed parts outside).
- Design principles:
- Waterproof channel: Designed for wire entry/exit into wet areas with grommet grooves for a tight seal.
- Component clearance: Be sure to provide enough space for components such as the fogger pan to be located deep enough below the waterline (manufacturer specifications).
- cool down: Ventilation slots near the electronics/fan mount prevent overheating.
- assembly: Slots designed for PCB mounting, screw bosses and access panels. Easily adjust dimensions using parametric design (e.g., OpenSCAD, Fusion 360).
- Safety first: Design enclosed compartments for electronic equipment that are completely isolated from water areas. An overhang on the reservoir/outlet prevents condensation from dripping onto the circuit.
Step-by-step build guide:
- Design your model: Use CAD software to draw the housing components:
- Base plate/casing: houses the Arduino, relays, and power connections. Be sure to be splash proof. Includes mount and wiring.
- Fan Guard/Diffuser: Effectively guides airflow through the mist outlet tube.
- Sensor bracket installation: Fix the DHT/humidity sensor and water level probe in the water tank.
- Mist outlet assembly: Guide the mist tube up through the housing cover/reservoir.
- Removable Lid/Cover: Accessible to electronics/fogging machine.
- Slice and print: Print with ASA/PETG at recommended temperatures/layer heights. Prioritize interlayer bonding strength. Use enough filler (20-40%).
- Prepare electronics:
- Power supply preparation: Cut and strip the wires connected to the main power input terminals.
- Breadboard testing: connecting Arduino, sensor, relay/MOSFET, fan and fogger modules on breadboard. Minimally powered via USB/desktop power supply. Upload basic sketches to test sensor readings, relay switches, fan rotation, and fogger functionality (in a nutshell!).
- Solder core circuit: Building a compact circuit based on successful breadboard testing:
- Microcontroller boards: Clean solder joints for reliable connections.
- Power Distribution: Connect the power input to the fog machine circuit (via relays/MOSFETs), microcontroller, fans, sensors.
- Sensor Circuit: Connect DHT/RH sensor and water level sensor to Arduino pins.
- gather:
- Mount the fog machine securely in the bottom center of the selected tank according to the printed design.
- Use silicone sealant-filled cable glands to seal the cables leading from the tank.
- Route the wires into the base of the electronics enclosure.
- Install the fan and outlet duct assembly onto the housing cover.
- Use brackets to secure the control PCB into the electronics housing base.
- Assemble all printed parts tightly, making sure the waterproof gasket seals properly.
- To program your controller: Write/find/modify Arduino code to:
- Read sensor data.
- Implement safety logic: If water levels are low, shut down the fog machine immediately.
- Control mist intensity via knob/button input.
- (Advanced) Added Humidistat Logic: Use DHT readings to automatically switch fog cycles to maintain target humidity set point.
- Add functions such as timers and LED indicators.
- Safety Check and Fill Test:
- Carefully check all wiring under load.
- Visually inspect seals and watertightness before applying power.
- Minimum filling of water tank, insert Stay away from any valuable electronicsand test functionality carefully.
- Monitor for leaks, component overheating, and correct sensor/safety features.
Basic safety warning:
- High pressure awareness: Fog machines usually require 24V DC. While not life-threatening, please respect electricity. Handle exposed connections with care.
- Water + electricity = danger: Maintain strict isolation. Use waterproof connectors/joints. Never operate exposed electronic equipment near water vapor/potential leaks.
- To prevent dry burning: Operating an ultrasonic disc without sufficient water can cause immediate and irreversible damage. The water level sensor is not optional.
- Prevent scaling: Use only distilled or demineralized water to prevent mineral buildup (scale) from clogging the fogger disc and internal tubing.
- environment: Place on a stable, waterproof surface. Avoid carpets and electronics. Ensure adequate air circulation.
- Material suitability: Definitely use recommended wires (PETG, ASA, PP). Avoid using PLA near constant humidity/temperature.
Conclusion: From prototype to personalized comfort
Building your own DIY 3D printed humidifier is the perfect blend of maker skills: blending CAD design, practical 3D printing using sturdy materials like PETG or ASA, circuit integration and microcontroller programming. The result? Completely custom equipment, tailored to your specific aesthetic and functional preferences. It elevates simple merchandise into rewarding projects that showcase creativity and technical proficiency.
Although this project has given

