Wemos D1 Mini Heater Fan Controller 3D Printer Model

Author: @
License: CC BY
File formats: stl,zip,FCStd,xz
Download type: zip
Size:2.5MB

The file 'Wemos D1 Mini Heater Fan Controller 3D Printer Model' is (stl,zip,FCStd,xz) file type, size is 2.5MB.

Summary

There is a large list of radiator fan mounting models

But there are no open PCBs to control the fans, read out temperatures and to monitor/control it over wifi. Instead of implementing everything from scratch, the ESP8266 based Wemos Lolin D1 mini v4.0 can be used. Only a simple IO board + enclosure had to be designed. It is responsible for:

  • Attaching a 12VDC (~1A) power supply
  • converting the 12V to 5V for the Wemos power supply
  • mounting the Wemos Lolin D1 mini v4.0
  • attaching multiple DS18B20 based temperature sensors
  • enabling/disabling up to 4 12V fans (max 200mA recommended)

There are two versions available. One with only through-hole components and one with mostly SMD components. The former is easier to assemble but the SMD version is also not too difficult. The PCB itself can be produced using the attached gerber files by JLCPCB, Aisler, PCBWay, OSH Park, ...
Please check the ibom.html inside the gerber zip files to get the list of components which need to be ordered for the PCB.

The Wemos Lolin D1 mini v4.0 should be installed (while not being mounted to the PCB) using the Tasmota Web Installer. After the installation finished, it has to be mounted on the PCB and configured via the devices' web interfaces (under Configuration):

  • Configuration Module:
    • Module Type: Generic (18)
    • D3 GPIO0: None
    • TX GPIO1: None
    • D4 GPIO2: None
    • RX GPIO3: Counter (1)
    • D2 GPIO4: PWM (1)
    • D1 GPIO5: Relay (1)
    • D6 GPIO12: DeepSleep
    • D7 GPIO13: DS18xS20 (1)
    • D5 GPIO14: None
    • D8 GPIO15: None
    • D0 GPIO16: None
    • A0 GPIO17: None
  • Configuration Timer:
    • Enable Timers: Yes
    • Enable (for each rule): Yes
    • Repeat (for each rule): Yes
    • Action (for each rule): Rule
    • (even rules are used to disable fans, odd rules are used to enable the temperature based fan control)
  • Console
    • Timezone according to Tasmota's table
    • Activation rules (see below)
    • default settings
      # Control with Dimmer/Color commandsSetOption15 1# Single Channel PWMSetOption68 0# Set PWM frequency (25000 would be correct but Tasmota only has PWM_MAX set to 4kHz)PwmFrequency 4000# Ensure PWM range is 0..1023PWmRange 1023

The rules are helpful to configure when the fans should be started. They need to be configured in the console:

# rule1 is used to control the fan based on the temperaturerule1 on DS18B20#Temperature<34.5 do power1 off endon      on DS18B20#Temperature>=35.0 do power1 on endon      on DS18B20#Temperature>=45.0 do channel2 100 on break      on DS18B20#Temperature>=40.0 do channel2 98 on break      on DS18B20#Temperature>=35.0 do channel2 93 on endon# activate the rule1rule1 on# rule2 disables/enables the first rule at specific times# the odd timers are used to enable rule1# the eventtimers are used to disable rule1 + stop fansrule2  on Clock#Timer=1 do Rule1 1 endon  on Clock#Timer=2 do Rule1 0 endon  on Clock#Timer=2 do power1 off endon  on Clock#Timer=3 do Rule1 1 endon  on Clock#Timer=4 do Rule1 0 endon  on Clock#Timer=4 do power1 off endon  on Clock#Timer=5 do Rule1 1 endon  on Clock#Timer=6 do Rule1 0 endon  on Clock#Timer=6 do power1 off endon  on Clock#Timer=7 do Rule1 1 endon  on Clock#Timer=8 do Rule1 0 endon  on Clock#Timer=8 do power1 off endon  on Clock#Timer=9 do Rule1 1 endon  on Clock#Timer=10 do Rule1 0 endon  on Clock#Timer=10 do power1 off endon  on Clock#Timer=11 do Rule1 1 endon  on Clock#Timer=12 do Rule1 0 endon  on Clock#Timer=12 do power1 off endon  on Clock#Timer=13 do Rule1 1 endon  on Clock#Timer=14 do Rule1 0 endon  on Clock#Timer=14 do power1 off endonrule2 on

For the enclosure, a couple of extra parts need to be purchased:

  • 4x M2.5 Inserts
  • 4x M2.5 Screws
bottom.stl 1.2MB
gerber_ibom_smd.zip 290.7KB
gerber_ibom_throughhole.zip 294.5KB
housing.FCStd 5.0MB
kicad_src_smd.tar.xz 423.8KB
kicad_src_tht.tar.xz 422.7KB
top_70mm.stl 703.2KB
top_80mm.stl 702.8KB