Make: Projects
Automated Fan Speed Controller
Steady temperatures in a server room, using the MAKE Controller.
When our house was built, I put a server room next to my office. Unfortunately, it had only a small bathroom-style fan with a 4″ duct leading outside, and during the summer I had to leave the door open, which made my office hot and loud.
So I installed a larger fan, along with an 8″ duct that dumps the waste heat into our basement during winter and outside during the summer.
The new fan works well, but also draws a lot of power — almost 300 watts. To reduce energy usage, I installed a manual speed control, but this made the temperature vary too much.
Finally, I built a control system that automatically adjusts the fan speed to maintain a constant temperature in the room. I was already using a serial-port temperature sensor connected to a computer to monitor and plot the server room temperature, so I closed the control loop using a MAKE Controller, a stepper motor, and some Lego Technic gears to turn the manual speed control knob.
I considered getting a different temperature sensor that would connect to the MAKE Controller directly. This would allow the system to stand alone without the computer. But in the end I chose to extend my existing setup and simply use the controller as an interface to the motor.
Steps
Step #1: Assemble the parts.
Next


- I mounted all the hardware onto a scrap of board. I screwed an outlet box onto one corner for the 2 power supplies, and drilled the wood to let the 115V AC wiring enter through the back.
- I mounted the MAKE Controller in another corner using some hex screw standoffs, and I secured the stepper motor in a bracket sized to hold 2×4 studs.
- Next came the connections. From the controller’s Application Board, Main Power connects to DC (I used a 10V DC, 0.3A wall wart), and an Ethernet cable connects to the PC. The motor has 5 wires; 4 connect to Digital Outs Bank 1 on the Application Board and 1 connects to ground. I figured out which went where by trial and error.
Conclusion
I had a lot of fun with this project. It taught me about microcontrollers and stepper motors, and even gave me an excuse to play with Lego. This was my first project using the MAKE Controller, which I was eager to try, and I’m already looking forward to my next “MAKE Controlled” project. Meanwhile, the fan control system has been very reliable during its 20-plus months of service.
This project first appeared in MAKE Volume 21, page 139.
































This is really awesome – I love it! Bill has made good use of a variety of parts and brought them together to be used for a very creative application. I love building projects as well, and I have found that it is very helpful to understand what parts are available and then using your creativity to assemble the parts for a new application, and that’s what has been demonstrated here. Congratulations on your project!