Atomic I/O letters column #110

Originally published 2010, in Atomic: Maximum Power Computing
Reprinted here October 25, 2010
Last modified 16-Jan-2015.
 

Also, check for black helicopters

I recently got a 17" monitor/TV combo screen for next to nothing, the only thing missing was the external power brick. After plugging in an old 12V 1amp transformer I had lying around with the right size plug (and luckily correct polarity) the screen worked... for a minute, then it went black. The transformer felt really hot and smelt funny (no magic smoke though).

So I chopped off the dead tranny and attached the lead and plug to a Molex connector. Plugged it into the Molex socket on the back of my ATX power supply and voila! My screen works whenever I turn my PC on.

My problem now is that there are fine parallel lines moving quickly up and down the screen that change speed as I use the PC. I think it's interference from the power supply. Can I get rid of them?

Chris

Wire looped through ferrite bead
The usual way of sucking HF noise out of a cable.

Answer:
I'm assuming that the screen is an LCD (if it's a CRT, you should have paid less than next to nothing - and, of course, CRTs don't generally run from an external power supply).

With a CRT, the problem could be some sort of magnetic interference, but LCDs are immune to that. So yes, probably noise coming in on the power wire.

The unshielded PSU wires inside a PC pick up all sorts of noise from other nearby components, and LCD monitors expect to run from their power brick, which has its own filtering. So the monitor doesn't have any power filtering of its own, and may well misbehave from dirty DC.

(All normal hardware that can be affected by power-supply noise - so, not blenders and soldering irons, but all A/V equipment - does have this sort of filtering, by the way. A hi-fi amplifier, for instance, should reject all interference coming in via the mains cord. This makes it particularly ridiculous when audiophiles use super-expensive power-conditioning hardware to run their super-expensive amps. I suppose some $10,000 audiophile amplifiers, like all $10 computer speakers, don't have a proper power supply!)

Blocking noise on signal cables can be a pain, because the signal is generally weak AC, and so is the noise. So you have to try to block the noise that's on different frequencies to the signal, generally with a "ferrite bead", that either comes in two hinged pieces to clip over a wire, or is one toroid piece that you loop the free end of a wire through, one or more times.

(The lumps you often see in data and DC power cables, making the cable look like a snake that's swallowed a beer can, are built-in ferrite beads.)

You've got a much simpler problem, though - AC interference on a DC power wire. You'll be perfectly happy with a filter that blocks pretty much all AC.

You could still use a ferrite bead, but all you need is series inductance (because inductors pass DC and block AC) and/or parallel capacitance (because capacitors pass AC and block DC). You can bodge up the former by wrapping one of the supply wires, close to the plug going into the screen, around a decent-sized nail. If the problem improves while you hold the wire in place on the nail, you're onto a winner. If the nail gets the job done, just tape or glue the wire in place around it and call it fixed.

Capacitance across the power wires is almost as easy. Once again, you need finesse if you're trying to let an AC signal through while blocking AC noise. But if you just want to brick-wall as much AC as possible, all you need is a capacitor with a voltage rating above 12V, connected across the wires, once again as close to the LCD power connector as possible. A simple chunky electrolytic cap should do the job. Remember that ordinary electrolytics are polarised, though, and will do something exciting if you connect them the wrong way around:

 

New, from Upfly Twiddlevolt Corporation!

Is a "Bosston 8 Port PowerBoard Surge Protector" for $AU38.90 delivered any good?

I ask because a lot of small biz clients don't want to pay for a UPS, and I'm wondering if this is at least a cheap way of ensuring their switches or DSL modems don't get naffed every 2nd week (ie turn off/back on) due to minor power issues.

In fact, while you're at it, just why DO those cheapies do that all the time?

Jason

Answer:
That particular Suspiciously Cheap Surge Protector is a decent deal, because it's got eight switched outlets. Well, as long as it's not criminally poorly made, which if it's being sold legally here in Australia it can't be.

As far as actual surge protection goes, though, it'll just be your usual couple-of-MOVs unit that may protect you from a few surges, but will never be very good, and will soon just be a powerboard with no surge protection at all, when the MOVs wear out. The "no longer protected" light on the board may or may not illuminate when this happens.

It will also do absolutely nothing to prevent DSL adapters resetting, clocks blinking "12:00", et cetera, from tiny power interruptions. There's no room inside a powerboard for the capacitors and/or inductors needed to store energy to bridge small interruptions, even if there was room for them in the purchase price. Ordinary surge protectors also don't "regenerate" the AC waveform in any way; they just try to sink spikes to somewhere other than the connected equipment.

Proper ferroresonant power conditioners can ride out small interruptions, and they come up on eBay all the time, but usually "pick-up only", for reasons of weight.

Decent-sized ferroresonant conditioners also draw a hundred watts or more all by themselves before you plug anything into them. Not so bad if you need to heat the room anyway, but this is not usually the case in Australia.

I think - though wouldn't bet much on it - that the best cheap power filters around today are APC's "Line-R" filter/conditioner doodads. I don't think they do anything that the power filtering circuitry in an APC, or other quality, UPS doesn't do, though. And for low-powered gear like networking hardware, even a cheap off-brand UPS is likely to bridge brief blackouts very successfully.

 

Whoa there, Delta!

What's the equation for using resistors to slow down a fan?

Like, if you've got a 2000RPM 12V fan, what resistor do you need to put in series with it to get it to turn at 1000RPM?

I know you can't slow them down infinitely, because they just won't start turning below a certain voltage, but you can get half RPM out of most fans, right?

Christian

Well-resisted fan.
"...and this end goes to the lightning rod, and that end goes to the Leyden jar..."

Answer:
There is no such equation. But this is still pretty simple.

Quietening computer fans with series resistors is a great, practical way to start learning basic electronics. It's a real-world application of Ohm's Law, and it'll teach you how nice simple Laws behave in the real world, where there are lots of components that don't quite behave like the superconducting wires, impedanceless power supplies and perfectly linear resistors of Electronics Textbook Land.

To play with this you'll need a small amount of equipment from the electronics store. A $10 multimeter, a pack of brightly-coloured alligator-clip test leads, and a couple of 6V lantern batteries to wire in series as a nice safe 12V power supply, shouldn't set you back more than $AU30 all told. Since you're exploring resistance, you'll want a lot of resistors, because that's a great deal more convenient than using coils of fencing wire in a bucket of water. A pack of a few hundred quarter-watt resistors, like Jaycar's $AU9.95 #RR1680, will do the job.

(To connect to the little sockets in computer-fan plugs, use straightened paper clips. Red wire positive, black wire negative, ignore the other one or two wires modern PC fans have, don't let the paper clips touch.)

After following one of the numerous How To Use Your Multimeter tutorials on the Web, you'll be able to figure out how much current a given fan draws, and what resistance it's therefore acting like, and what series resistance you'll therefore need to reduce its current draw by a given amount. If you're using beefy fans, you'll also smoke a quarter-watt resistor or two, in the course of learning about wiring X many resistors in parallel, to get 1/X resistance and X times the power rating.

And then you can move on to Zener diodes, which are inexpensive components that drop a particular, set voltage, making them rather handy for this job. Then LEDs, your own fan bus, rebuilding battery packs... before you know it, a fussy golden android will be calling you "Master"!

 

The ol' corkscrew-in-the-bottle problem

I'm sending you this from a computer with a brand new install of Windows 7 on it, because it went really really wrong and I couldn't think of any other way to fix it. Now I'm afraid it'll do it again.

The problem was, any time I tried to run a program, I got an error that said "Windows cannot find C:\WINDOWS\system32\rundll32.exe".

Except there WAS a rundll32.exe there. I even copied the rundll32 file from another Windows 7 computer on a USB drive, and the problem was still there. I searched for answers (on a different computer...) and just found a bunch of those rubbish Fix Registry Problem Now Only $29.99 utilities, which are all bloody EXEs anyway, right? So I just reinstalled, and now it works.

What the hell happened, though?

Dana

Answer:
Oh, this one's a classic.

It always used to happen when, somehow, EXE files got associated with some program or other, in the same way that you'd associate DOCs with Word or MP3s with a media player. When Windows thinks all program files have to be opened with a program, life becomes awful, if it's happening to you. Or hilarious, if it's happening to someone else.

(You actually can sort of trick Windows into still opening some programs. Like, to open Notepad, do an "Open With" for some other random file, and tell it to open that file with Notepad, then do a control-N to get a new file. This is not an entirely satisfactory way to operate your computer.)

To fix this problem in Vista or Windows 7, you can't just go to Folder Options -> File Types and reassociate "EXE" with "Application", like you used to.

There's a neat little dodge that still works, though - a program that fixes the problem, but is not itself one of the poisoned dot-exes. What you want is a utility called "exefix_xp.com" (you can get it here).

It still works, even in 64-bit Windows 7.

The dot-com indicates that this program is a COM file, the good old format that came before dot-exe. Actually, COM files came before directories. The format has some very severe limitations - like, it can be no bigger than 65,280 bytes - but that's enough to fix this irritating error.

(The prehistoric header-less dot-COM file is also the final last-ditch fallthrough option that Windows uses when it's trying to run what it thinks is a program. This can lead to an entertaining error.)

 

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)