Tuesday, July 23, 2013

Repairing And Understanding A Zalman Fanmate-2 Fan Speed Controller

UPDATE: I made an assumption...that was wrong. The regulator is a 7805, the resistor is a 710 ohm (708 ohms measured) and the potentiometer is 1K ohm. It turns out that reading resistor color bands is difficult without good lighting and measuring components in circuit can introduce errors. See here for an updated analysis. Although some of this post should be useful still.
DSCF1211    
I picked this up at a yard sale a year ago. A Zalman Fanmate-2 computer case fan speed controller. For some reason the 3 wire connector for the motherboard had been cut.
DSCF1212
Not the most exciting thing to look at.
DSCF1218
I pried the housing apart. Surprisingly it did not break.
DSCF1220
A neat little layout. The heat sink covers up a resistor and what I presume is an LM317T variable voltage regulator (could be something else I suppose but it’s behaving like one). Read the datasheet!
DSCF1225
You can see the three legs of the LM317. It’s bolted to the heatsink (which also means that its live with the output voltage).
DSC03576
Some LM317Ts from my parts drawer.
DSCF1222DSCF12221
My general impression of the circuit which seems to follow the classic LM317 voltage regulator, without any capacitors. It was nearly impossible to take a picture of the resistor, but it has bands (red, none, black, black, red, purple) that indicate it’s a 200 Ohm, 2% resistor. The potentiometer has a variable resistance between 637 Ohms and 1721Ohms. Plugging those values into an LM317T calculator it shows a voltage 5.23V and 12.01V. Because there is a voltage drop from supply voltage on the regulator (that depends on mumble, mumble, mumble, more math than I want to do), the maximum voltage it can produce from 12V should be about  10V. In real life I get a voltage of between 5.13V and 10.5V with a fan hooked up. the power supply voltage, resistor, potentiometer, load from the fan and my consumer grade voltmeter all conspire to make this less than an exact science.
DSCF1234
Oh yeah, I soldered on a connector.
DSC03575
Running it out of the case to measure temperature on the heatsink (90 deg. in a 78 deg. room)
DSCF1236
Just running a fan at different speeds. Fun.

Sunday, July 21, 2013

Update To My ATX Bench Power Supply

DSCF1115
I needed (wanted, procrastinating other work) to test some PC fans the other day and the easiest way was to use my ATX Bench Power Supply and snake one of the molex connectors out through the gap in the back of the enclosure. It sure was ugly though.

DSCF1116
I ordered one of these 3.5” bay adapters from Monoprice just for the power cable.

DSCF1118
I should look on Ebay for these…

DSCF1121
Some front panel filing…

DSCF1123
And now I have a convenient plug.

DSCF1124
I was thinking of adding the USB connector too but decided against it.

DSCF1132
Spinning a fan.

Wednesday, July 10, 2013

Using a Dell Optiplex 745 Motherboard in a Dell Dimension 5100 Case.

Give a guy an empty case and he’ll think it’s a PC
My previous workstation was a Dell Dimension 5100 I bought in 2006. When I upgraded to my current machine (Dell Studio XPS 8100) in 2010, the 5100 was consigned to a shelf. Note to self: this means you can justify upgrading your desktop PC next year. It sports a Pentium 4 single core processor which really isn’t up to much these days. I hated to let the machine languish so I looked into upgrades and found that some people had installed Pentium D dual core processors. I tried it and it worked but had an annoying message about the processor being unsupported and I had to hit F1 every time I booted up. The Pentium D is the worst dual-core processor (unless used as a space heater), so the performance gain wasn’t that great.
Then a month or so ago I reanimated a used Dell Optiplex 745. It supports Core2Duo processors with a 1066MHz FSB, which is still somewhat limited but far zippier than a P4. It also has Gigabit LAN, etc. Long story short I bought a spare 745 motherboard for $18.00 on Ebay. I had a Pentium Dual core e2200 laying around surplus to my needs (it’s about twice as capable as a Pentium D in spite of the low amount of cache and clock speed). I proceeded to cram the 745 motherboard into the 5100 case.
Did I mention that the whole hassle arose because Dell chose to use the BTX form factor during this period? Yeah, that’s right, an ATX motherboard will not fit. If it had been ATX/micro ATX I would have had a wide array of motherboards to use.
DSC03429
I did have to nibble out the I/O plate (which is not removable) to fit the different I/O configuration. It’s ugly but what the heck, the alternative was not doing it at all. Did I mention that this whole project is a monumental waste of time?
DSC03432
The front panel connection is identical however.
DSC03412
When I booted up I was more than irritated to see this message. Once I hit F1 to boot the fan ran at 100% speed (think small turbojet engine), making the machine way too noisy for general use. It ran at this rate even with the operating system running. I did boot into Linux, perhaps Windows controls this better, although being a Dell I doubt it. They often have weird hardware overrides in their various BIOS-es. Like the irritating one that detects that you’re using a non-Dell charger on your laptop and throttles CPU speed.
DSC03416
Optiplex 745 front panel board top.
DSC03418
Bottom.
DSC03423
If you look closely at the top you can see what I believe is a nickel thin film resistance temperature detector.
DSC03403
Dimension 5100 board, top. There are some interesting unpopulated pads on the board. But I’m not going to add an air temperature sensor.
Why? Because the whole notion is incredibly stupid. All the sensor is measuring is the temperature of the room air entering the case. If the PC overheats because of ambient air temperature then something has gone seriously awry in the case design. It might make sense if the sensor was inside the middle of the case, or maybe up top by the power supply.
DSC03401
Bottom.
DSC03396
Off to the bench for some poking and prodding. The microscope was of help.
DSC03398
Pins identified.
DSC03424
The scrawl of a madman.
DSC03400
Wires identified, cut and stripped. I then added female connectors to them.
DSC03407
I hooked a 5k potentiometer up to the wires and tried different resistances. Of interest is that adjusting the potentiometer once the machine had booted did not seem to cause any sort of fan speed adjustment, so I had to boot repeatedly. It was also quite sensitive with a small range of resistances being acceptable. I wanted a relatively quiet fan speed. In theory the processor temperature should dictate fan speed once the PC is running.
DSC03436
I settled on a 3.3K Ohm resistor.
DSC03438DSC03440
Made a little pluggable unit just in case I need to swap it out.
DSC03442
Installed.
DSC03434
Anyway now it boots up fine with no sensor warning and the fan doesn’t run full bore. As a bonus the existing XP install booted up fine on the Optiplex board. A couple of missing drivers but that’s easily taken care of. At least I kept it out of the landfill…