Atomic I/O letters column #105

Originally published 2009, in Atomic: Maximum Power Computing
Reprinted here May 4, 2010
Last modified 16-Jan-2015.
 

Electric car-radiator fans are 12V, you know...

Can you just hang a mains-powered 120mm fan off the back of a computer case? I mean, just get a 240V fan, solder on a mains power lead, screw it in place and be done? Will there be problems with earthing or something?

I ask because I've got an overclocked Core i7 that makes too much heat for the standard case fans to dissipate, so I've been considering scrapping the quiet 12V 120mm jobbie on the inside of the case and replacing it with an internal or "external" (on the back of the case) high-powered fan. Maybe with a resistor to slow it down a bit, unless that adds another way for me to kill myself.

We've got mains fans in some rack gear at work and they run 24/7 for years and years with zero problems, and aren't super-loud either. The CFM numbers for noisy high-powered 12V fans and the quieter mains ones look about the same, too.

OK, what am I forgetting/not knowing in the first place? Odds of me being alive this time next week are...?

Trent

Answer:
If you're sensible and have basic soldering and heat-shrinking skills, your survival odds are pretty good.

Note that mains wiring of any kind is not a good first electronics project, and making home-wired contraptions may break some law where you live, and may also invalidate your home insurance. All usual disclaimers apply, read the whole of repairfaq.org twice, this advice provided for entertainment purposes only, ask a grown-up to help you aim the nerve-gas rockets.

All that said, though, wiring up a mains fan really isn't very difficult, and hanging one off the back of a computer is even easier than hacking one into the front panel.

The easiest way is to get an old but intact mains lead, cut the end off and solder the brown (active) and light blue (neutral) wires to the fan's input wires (either way around is fine). Next, insulate (with a layer or three of heat-shrink, not a mummy-wrapping of vinyl tape...) and tie everything down. Include "strain relief" of some sort, so yanking on the cable won't fracture wires.


Here's one I made earlier.
(Not yet all tied down and insulation-mummified, so you can see where the wires go.)

Mains fans of this sort often have earth-lug holes on their cast-aluminium frame, to which you can bolt the green-and-yellow (here in Australia) ground wire. Make sure to clean off any paint, so you make proper contact. But it's not a major danger if you don't. If you're using only two wires of a three-wire lead, though, you should break the earth pin off the plug (another thing that may be illegal in some countries!) to make clear that there isn't actually any grounding.

And yes, you can slow these sorts of fans down by just putting a resistor in-line with them. A "220/240V" fan will probably spin up OK from as little as 120V, and you can bodge up the right resistor value by pretending it's a DC circuit and carefully applying Ohm's Law and a multimeter. You'll need a power resistor with a rating of at least a few watts for any meaningful speed change, though.

An easier but even dodgier solution is to connect two fans in series, for around half the air flow of a single full-speed unit. (I've used this trick to run US-voltage fans at full speed from Australian mains power.)

 

Sunglasses also an option

I own a 27-inch Dell 2707WFP. I bought it in December 2006, so it's a bit older than your 3000WFP-HC.

For me, like you, the lowest brightness setting is too bright, especially at night. I go to great lengths with desk lighting to try and mitigate this, but it would be really nice to have a -30% setting.

The monitor's duty cycle is some ten hours per day, so I had assumed it would dim over time. To my surprise, while the casing and trim is slowly falling apart (including the D E L L logo sticker, letter by letter), the backlight shines bright as ever.

Recently, however, I've discovered that running the panel at 100%, zombie-killing, eye-blasting, too-bright-for-direct-sunlight brightness, for some hours at a time, has slightly reduced the panel's minimum brightness. It must be wearing it out. I am actually pleased at this, because I've lost hope that it'll ever dim by itself. I'm not recommending this as a solution to brightness problems, but it's an observation I've been meaning to let you know about.

Two bits of miscellany: when you buy NiMH batteries, whence do you buy them?

And, you might remember writing a thorough, helpful answer to my question about an outlet tester registering "not OK". I did the room-by-room unplug and the culprit was my housemate's old Sunbeam electric blanket. The moment I unplugged it, the tester shone happily red and green once more. I binned the blanket without permission, and lo and behold, our mysterious fortnightly RCD trips stopped too. Thank you, as always for your advice.

Jonathan

Answer:
You can turn brightness down in software, you know. In Nvidia's Windows Control Panel thing, for instance, it's under "Adjust Desktop Color Settings".

(You should be able to have different brightness settings for the desktop and for video playback, and with any luck for games as well.)

This isn't an ideal solution, because you're just using some lower portion of the monitor's total pixel brightness range, which will lower the contrast ratio and probably cause noticeable banding pretty quickly. But this doesn't matter if you're Web-surfing or word-processing or whatever, late at night, and just want to stop your eyeballs melting out of your face.

(There's also the opposite situation, where you're watching a movie and turn the brightness up to liven up the image. A lot of movies, and some TV shows, are rather dark. There are now monitors and video projectors that adjust the projection-lamp or monitor-backlight brightness on the fly to match the brightness of the image they're displaying at that moment.)

The better solution to this problem would be to cut the brightness of the actual physical backlight without just trying to wear it out. This would probably actually be pretty easy for those new-fangled LED-backlit screens; you could just hack a resistor (with adequate cooling...) in between the driver and the LEDs themselves. For old-style cold-cathode-fluorescent-backlit screens you might be able to do something analogous - or you could slide a barrier made of neutral-grey transparent plastic over the lamp, or something.

I haven't re-calibrated my 3007 since I got it; I presume it's lost a bit of brightness too. Fortunately, its minimum brightness has always been only slightly brighter than I want it to be; as I mentioned in the review, I rigged a Rube Goldberg bias light behind the screen to reduce the difference between its brightness and the brightness of the wall, but I haven't bothered actually using the bias light for ages.

The only NiMH cells I've been buying for some time now are, if we agree not to speak of The BTY Incident, the low-self-discharge ("LSD"!) type. LSD NiMH cells have lower nominal capacity, but don't go flat fast on the shelf. That's a major problem for normal NiMHs.

The first LSD AAs were Sanyo's "Eneloop" cells, but now you can get them from all the big names and quite a few others. (There are rather more brands of LSD NiMH than there are actual factories making them; you can buy the exact same cells under different brands, for different prices.)

When LSD NiMHs were new and exciting, electronics stores usually overcharged for them, so it was a better idea to hit eBay and search for the less-well-known brands, like Uniross's "Hybrio" cells or Gold Peak's "ReCyko". LSD AA and AAA cells are available from the supermarket now, though, and usually not for completely stupid prices.

If I'm not in a hurry then I'll still buy from eBay or DealExtreme, though. To the best of my knowledge, there's not much counterfeiting of LSD cells going on - especially not of brands that're less famous than Eneloop. So as long as a Hong Kong eBay dealer has a decent amount of good feedback, you should be fine.

(If you need C- or D-sized LSD cells, you'll have a harder time finding them. They do exist, though, as do plastic adapters that enlarge AAs to fit the larger battery bays, which with modern high-capacity AA rechargeables are often a sensible option. You can get AA-to-D adapters that accept more than one AA cell, too, giving better capacity.)

 

Redundant Array of Totally Free Disks

You know how all your extended family will give you $5 for your birthday, so you end up with a sizable sum in tiny bills? Well I have that problem with hard drives.

I recently came into some lightly used 3.5" SATA hard drives, 8x80Gb and 8x160Gb, and I just can't find a cost effective way of using all of them. (I also have several 40Gb 2.5" ATA drives, but I'm not too concerned with them right now.)

My question is, how can I cheaply employ all these more as hard drives and less as dust collectors? They aren't obsolete enough for me to just shelve them, but they don't have enough capacity to make selling them on eBay look attractive, and since I could use some extra storage space I feel obligated to put these guys to work.

As far as I can tell I have a few options open to me:

1: Get a RAID enclosure. This is what first came to mind but I'm not really ready to drop a lot of cash to RAID-5 the 160s, and definitely not the 80s. The speed and security gains just aren't attractive enough, especially considering I could get about 3Tb for the same cost as the cheapest 5-bay enclosure I can find. I would love to get all the 160s together in an 8-bay enclosure though.

2: Cram 4 to 5 of them into my main gaming box. I think the mobo allows 2 software ["FakeRAID"] RAIDs in there. That I can do with just a little investment of time. I could also do the same thing for my old HTPC but since it streams off the gaming box's external drive anyways it would be somewhat pointless. So that would take care of maybe about 6 drives, still leaving plenty just sitting around.

3: I can get a good 'n' cheap hard drive hotswappable dock. But even with the added convenience of plug and play I wouldn't be able to access the drives together or in other locations like I could with a RAID attached to an FTP server, which more or less relegates any I use this way to archive storage.

So what do you think? Do I have any other options here? Maybe some kind of homebrew hacky setup?

David

Answer:
Yeah, those really are on the border line between capacity-worth-paying-for and "who cares, $10 thumb drives are bigger", aren't they?

If, I repeat if, I was determined to get all or most of these drives RAIDed together, I'd do it in software. You can get "fakeraid" pseudo-hardware RAID cards that can accept eight drives (all cheap ATA RAID cards, and consumer-motherboard RAID controllers, are fakeraid. They make the CPU do the RAIDing work, via the driver). But eight-drive fakeraid cards cost a few hundred bucks, and don't even give you proper hardware RAID.

(Real hardware RAID cards that can accept a bunch of parallel or serial ATA drives also now exist, but they're expensive.)

So, instead, I'd just shoehorn as many of them as I could into my computer and connect them to the finest, cheapest four-drive PCI controller cards I could scrape up on eBay/DealExtreme/wherever, and then glue 'em all together with software RAID 5. Four-drive SATA cards are under $US20 including delivery now, so this is not a completely demented idea.

The standard version of Mac OS supports software RAID 5 on all sorts of devices, as do umpteen Linux flavours. If you stuffed the old drives into a spare computer, you could try something like the FreeNAS Linux LiveCD, which lets you get Linux RAID-5 working somewhat simply.

Windows, however, has for some generations now made you pay extra for the special "Server" or "Enterprise" editions, or do some slight hacking, to get RAID 5.

To be honest, though, I wouldn't actually bother doing this, even on the OSes that make it relatively easy.

If you hooked all eight of your 160Gb drives together in a RAID 5 array, you'd get 1120 unformatted hard-drive-manufacturers' billion-byte gigabytes of capacity, which would format to about 1040 real powers-of-two gigabytes (a.k.a. gibibytes). In theory RAID 5 would make this more reliable than a single drive of similar capacity, but 160Gb drives of unknown provenance are not actually known for their bulletproof-ness, even if you ignore the hassle of rebuilding the array if one fails. In the real world, a brand new "1.5Tb" drive (formatted capacity about 1400 real gigabytes) will be faster and very probably more reliable than a herd of 160Gb units, and as I write this those are down around $AU150, delivered.

Your stack of drives certainly isn't useless, though. If I were you, I'd go with option 3 and use them for backups. The power and data connectors on the back of SATA drives make it easy to plug them straight into an inexpensive 5.25-inch-bay mounting-rack doodad without any special caddy.

You can also, as you mentioned, get USB desktop dock things with a slot in the top that lets you just plug SATA drives in like game cartridges. (That one's got an eSATA connector too, which ought to be rather faster than USB 2, if it works.)

If you don't actually need 80-to-160Gb backup devices then this won't of course be of much interest, but a lot of people have been trying to find a way past the gaping hole in home-and-small-business backup devices between the capacity of cheap DVD-Rs and cheap-per-gigabyte current-model hard drives. 25Gb single-layer BD-Rs are now floating down into about the same price-per-capacity range as DVD-R, which has considerably reduced the pressure - but a box-full of free lower-capacity SATA drives remains a lovely interim solution, while we wait for big enough cheap Flash devices.

OK. Now for the Ways In Which This Can Go Horribly Wrong:

1: The drives may turn out to be flaky. I would not use one of these drives to back up important frequently-changing data only once every six months. Take advantage of the number of 'em you've got, and put the 80s on weekly rotation and the 160s on a quarterly schedule, or whatever similarly-frequent arrangement lines up best with your backup needs.

2: Bare hard drives need more careful handling than backup tapes. If you drop a 3.5-inch drive even a short distance onto a hard surface it's probably going to be toast, and they're susceptible to static damage too. I don't think modern drives are very easy to kill with imperceptibly tiny static electricity discharges, but I'd still at least do some talismanic bare-earthed-metal touching while handling the things, and I'd store them in anti-static bags or some not-very-staticky wrapping material, like newspaper.

3: If you use any drive-dock system that involves a direct SATA connection, then even if the rack has "Hot Swap" written on the box, the SATA controller you connect it to has to also support hot-swap. If it doesn't, then the PC will hang if you unplug a drive while the computer is powered up.

I think most current motherboard SATA controllers do support hot-swap, and stock Windows drivers may even work right with it now too, but you should not assume that this is the case.

Other ways in which this can go wrong are shared with many other backup systems. Like, for instance, you shouldn't keep your backups - or, at least, not all of your backups - in the same physical location as the data you're backing up, or the fire/tornado/giant-monster-attack that destroys your computer may destroy the backup too.

Even if you're not interested in setting up a whole backup solution using the drives, you might still like to consider imaging your boot drive onto one or more of the 160Gb ones, so you can easily repair the system if the boot drive dies. If you don't have big data directories on your boot drive, then even a porky Vista install and a bunch of apps is likely to come in at least a bit under the roughly 150Gb formatted capacity of a single "160Gb" drive.

 

Other letters columns

I/O #1
I/O #2
I/O #3
I/O #4
I/O #5
I/O #6
I/O #7
I/O #8
I/O #9
I/O #10
I/O #11
I/O #12
I/O #13
I/O #14
I/O #15
I/O #16
I/O #17
I/O #18
I/O #19
I/O #20
I/O #21
I/O #22
I/O #23
I/O #24
I/O #25
I/O #26
I/O #27
I/O #28
I/O #29
I/O #30
I/O #31
I/O #32
I/O #33
I/O #34
I/O #35
I/O #36
I/O #37
I/O #38
I/O #39
I/O #40
I/O #41
I/O #42
I/O #43
I/O #44
I/O #45
I/O #46
I/O #47
I/O #48
I/O #49
I/O #50
I/O #51
I/O #52
I/O #53
I/O #54
I/O #55
I/O #56
I/O #57
I/O #58
I/O #59
I/O #60
I/O #61
I/O #62
I/O #63
I/O #64
I/O #65
I/O #66
I/O #67
I/O #68
I/O #69
I/O #70
I/O #71
I/O #72
I/O #73
I/O #74
I/O #75
I/O #76
I/O #77
I/O #78
I/O #79
I/O #80
I/O #81
I/O #82
I/O #83
I/O #84
I/O #85
I/O #86
I/O #87
I/O #88
I/O #89
I/O #90
I/O #91
I/O #92
I/O #93
I/O #94
I/O #95
I/O #96
I/O #97
I/O #98
I/O #99
I/O #100
I/O #101
I/O #102
I/O #103
I/O #104
I/O #105
I/O #106
I/O #107
I/O #108
I/O #109
I/O #109
I/O #110
I/O #111
I/O #112
I/O #113
I/O #114
I/O #115
I/O #116
I/O #117
I/O #118
I/O #119
I/O #120
I/O #121
I/O #122
I/O #123
I/O #124
I/O #125
I/O #126
I/O #127
I/O #128
I/O #129
I/O #130
I/O #131
I/O #132
I/O #133
I/O #134
I/O #135
I/O #136
I/O #137
I/O #138
I/O #139
I/O #140
I/O #141
I/O #142
I/O #143
I/O #144
I/O #145
I/O #146
I/O #147
I/O #148
I/O #149
I/O #150
I/O #151
I/O #152
I/O #153
I/O #154
I/O #155
I/O #156
I/O #157
I/O #158
I/O #159
I/O #160
I/O #161
I/O #162
I/O #163
I/O #164
Dan's Data letters #1
Dan's Data letters #2
Dan's Data letters #3
Dan's Data letters #4
Dan's Data letters #5
Dan's Data letters #6
Dan's Data letters #7
Dan's Data letters #8
Dan's Data letters #9
Dan's Data letters #10
Dan's Data letters #11
Dan's Data letters #12
Dan's Data letters #13
Dan's Data letters #14
Dan's Data letters #15
Dan's Data letters #16
Dan's Data letters #17
Dan's Data letters #18
Dan's Data letters #19
Dan's Data letters #20
Dan's Data letters #21
Dan's Data letters #22
Dan's Data letters #23
Dan's Data letters #24
Dan's Data letters #25
Dan's Data letters #26
Dan's Data letters #27
Dan's Data letters #28
Dan's Data letters #29
Dan's Data letters #30
Dan's Data letters #31
Dan's Data letters #32
Dan's Data letters #33
Dan's Data letters #34
Dan's Data letters #35
Dan's Data letters #36
Dan's Data letters #37
Dan's Data letters #38
Dan's Data letters #39
Dan's Data letters #40
Dan's Data letters #41
Dan's Data letters #42
Dan's Data letters #43
Dan's Data letters #44
Dan's Data letters #45
Dan's Data letters #46
Dan's Data letters #47
Dan's Data letters #48
Dan's Data letters #49
Dan's Data letters #50
Dan's Data letters #51
Dan's Data letters #52
Dan's Data letters #53
Dan's Data letters #54
Dan's Data letters #55
Dan's Data letters #56
Dan's Data letters #57
Dan's Data letters #58
Dan's Data letters #59
Dan's Data letters #60
Dan's Data letters #61
Dan's Data letters #62
Dan's Data letters #63
Dan's Data letters #64
Dan's Data letters #65
Dan's Data letters #66
Dan's Data letters #67
Dan's Data letters #68
Dan's Data letters #69
Dan's Data letters #70
Dan's Data letters #71
Dan's Data letters #72
Dan's Data letters #73
Dan's Data letters #74
Dan's Data letters #75
Dan's Data letters #76
Dan's Data letters #77
Dan's Data letters #78
Dan's Data letters #79
Dan's Data letters #80
Dan's Data letters #81
Dan's Data letters #82
Dan's Data letters #83
Dan's Data letters #84
Dan's Data letters #85
Dan's Data letters #86
Dan's Data letters #87
Dan's Data letters #88
Dan's Data letters #89
Dan's Data letters #90
Dan's Data letters #91
Dan's Data letters #92
Dan's Data letters #93
Dan's Data letters #94
Dan's Data letters #95
Dan's Data letters #96
Dan's Data letters #97
Dan's Data letters #98
Dan's Data letters #99
Dan's Data letters #100
Dan's Data letters #101
Dan's Data letters #102
Dan's Data letters #103
Dan's Data letters #104
Dan's Data letters #105
Dan's Data letters #106
Dan's Data letters #107
Dan's Data letters #108
Dan's Data letters #109
Dan's Data letters #110
Dan's Data letters #111
Dan's Data letters #112
Dan's Data letters #113
Dan's Data letters #114
Dan's Data letters #115
Dan's Data letters #116
Dan's Data letters #117
Dan's Data letters #118
Dan's Data letters #119
Dan's Data letters #120
Dan's Data letters #121
Dan's Data letters #122
Dan's Data letters #123
Dan's Data letters #124
Dan's Data letters #125
Dan's Data letters #126
Dan's Data letters #127
Dan's Data letters #128
Dan's Data letters #129
Dan's Data letters #130
Dan's Data letters #131
Dan's Data letters #132
Dan's Data letters #133
Dan's Data letters #134
Dan's Data letters #135
Dan's Data letters #136
Dan's Data letters #137
Dan's Data letters #138
Dan's Data letters #139
Dan's Data letters #140
Dan's Data letters #141
Dan's Data letters #142
Dan's Data letters #143
Dan's Data letters #144
Dan's Data letters #145
Dan's Data letters #146
Dan's Data letters #147
Dan's Data letters #148
Dan's Data letters #149
Dan's Data letters #150
Dan's Data letters #151
Dan's Data letters #152
Dan's Data letters #153
Dan's Data letters #154
Dan's Data letters #155
Dan's Data letters #156
Dan's Data letters #157
Dan's Data letters #158
Dan's Data letters #159
Dan's Data letters #160
Dan's Data letters #161
Dan's Data letters #162
Dan's Data letters #163
Dan's Data letters #164
Dan's Data letters #165
Dan's Data letters #166
Dan's Data letters #167
Dan's Data letters #168
Dan's Data letters #169
Dan's Data letters #170
Dan's Data letters #171
Dan's Data letters #172
Dan's Data letters #173
Dan's Data letters #174
Dan's Data letters #175
Dan's Data letters #176
Dan's Data letters #177
Dan's Data letters #178
Dan's Data letters #179
Dan's Data letters #180
Dan's Data letters #181
Dan's Data letters #182
Dan's Data letters #183
Dan's Data letters #184
Dan's Data letters #185
Dan's Data letters #186
Dan's Data letters #187
Dan's Data letters #188
Dan's Data letters #189
Dan's Data letters #190
Dan's Data letters #191
Dan's Data letters #192
Dan's Data letters #193
Dan's Data letters #194
Dan's Data letters #195
Dan's Data letters #196
Dan's Data letters #197
Dan's Data letters #198
Dan's Data letters #199
Dan's Data letters #200
Dan's Data letters #201
Dan's Data letters #202
Dan's Data letters #203
Dan's Data letters #204
Dan's Data letters #205
Dan's Data letters #206
Dan's Data letters #207
Dan's Data letters #208
Dan's Data letters #209
Dan's Data letters #210



Give Dan some money!
(and no-one gets hurt)