How To Spot A Psychopath

June 27, 2009

Spinning and skiving

Filed under: Hacks

Herewith, two metalworking procedures that look like magic.

One: Metal spinning.

Many people are familiar with “spun metal” - you might have a salad bowl or arty lampshade made of “spun aluminium”, for instance. But the actual procedure, done by hand on a normal lathe or by automatic machinery, is quite mesmerising:

There’s no real upper limit to the size of the objects you can make by spinning. If your lathe can accomodate the initial piece, you can spin larger…

…or much, much larger…


Herashibori_Metal Spinning
Uploaded by kitajimashibori. - Discover more science and tech videos.

…things.

Two: Skiving.

Skiving is shaving a thin layer off something. I think an ordinary woodworking plane actually more or less qualifies as a skiving tool. It’s a standard procedure in leatherworking, but you can do it to metal, too, and that’s where it shades over into the miraculous, if you ask me.

A metal-skiving machine doesn’t just carve thin layers off a block of metal, like a plane would. In one stroke, it can cut each slice to a uniform length and leave it connected to the base, standing up parallel to all of the other slices.

And so, hey presto, you’ve suddenly got CPU-heat-sink fins like these!

Skived heat sink

Skived heat sink

In more detail:

Skived heat sink detail

Unfortunately, I can’t find a video clip of metal skiving in progress. There’s a little picture accompanying the Wikipedia article on skiving machines, but that’s all. Do please tell me in the comments if you know of a clip.

May 2, 2009

Basic electronics to make your organ glow

Filed under: Electricity, Hacks

A reader writes:

Thanks for your Embarrassingly Easy Case Mod page.

Sorry to be such a techno-dummy, but: You said that because each color-changing LED was 3V, you could connect 4 of them in series to a 12V source. So the LEDs divide the voltage between them? If that’s true, how can you connect multiple AC devices to an exension cord and have each of them receive 117v?

Anyway, I’m converting an electronic theater organ to MIDI, and would like to add 20 color-changing LEDs to the console. (Thought you’d appreciate the details, eye-candy-wise.) How do you suggest I do that? If I wire them in series, what sort of DC power would I need?

I know you’re a busy guy, so thanks very much for giving me a clue about this. I promise I’ll do my best not to blow myself up.

Andy (Vancouver, BC)

Yes, you can run a string of four RGB LEDs from a 12V power supply. They’re odd little critters, though, and it’s important to understand why this works as well as just the fact that it does. You can make electronic things that work by just blundering around with no understanding of what’s really going on, but it really does pay to spend some time learning the basics of at least DC electronics before you start on any electronic project. Hence, this lecture.

In the four-RGB-LEDs-from-12V situation, the LEDs can be regarded like ordinary passive DC-circuit components, like resistors or batteries. But LEDs can’t usually be treated that way. Two-leg 5mm RGB LEDs may look like the usual kind of LED, but they’re actually three LED dies with a tiny controller circuit, all in a normal 5mm LED package.

If you make a string of simple resistors that all have the same value - let’s say, five two-ohm resistors - and hook one end up to the positive terminal of your DC power supply and the other to the negative, a current will flow that’s determined by the total resistance and the voltage, according to Ohm’s Law: Voltage in volts equals current in amps multiplied by resistance in ohms, or V=IR.

(Ohm’s Law is usually written with “I” as the symbol for current, rather than A-for-amps, because when Georg Ohm came up with the Law nobody really knew what current was, and it was referred to as “Intensity”. Feel free to write it with an A if you like.)

If the power supply is outputting, let’s say, 12 volts, a string of five two-ohm resistors in series will work out as follows:

12 = I*2*5
12 = I*10
12/10 = I
I = 1.2

So the current in this circuit would be 1.2 amps. Because the resistors all have the same resistance, each one “drops” the same voltage. If you measure the voltage “across” the central resistive element of one of the five resistors in this circuit, it’ll be 2.4 (12/5) volts. Measure across two resistors and you’ll see 4.8V, three will be 7.2V, et cetera. (If the resistors in the chain have different values, they’ll drop different amounts of voltage, and dissipate different amounts of power, making you use a polynomial equation if you want to figure out which resistor’s doing what.)

To visualise this, think of the current as a flow of water in a hose and each resistor as a narrowing, or kink, in the hose. The higher the resistance, the narrower the path for water flow, and the more pressure (voltage) you’d need to achieve a given flow rate (current). (I’ve got water analogies for capacitors and inductors, too!)

To really get a grip on all this, I highly recommend that you get a little “breadboard” that you can plug components into without soldering (this sort of thing), and a selection of jumper wires (like this, or you can of course make your own), alligator-clip leads, resistors, capacitors, inductors, LEDs, battery holders etc to play with. And destroy - blowing up resistors, caps and LEDs can be very educational. Wear eye protection, especially when playing with electrolytic capacitors:

A proper adjustable bench power supply would also be nice, but would cost way more than all of the rest of this stuff put together. A lantern battery or hacked-up plugpack or PC power supply would be an adequate substitute, for this elementary stuff.

(You’ll also need a multimeter, of course. A $10 cheapie like this will be fine.)

The gold standard for basic electronic education is a “science kit” sort of setup, like the classic Gakken My Kit 150 and Electric Block EX-150. But, again, they’re a bit expensive.

OK, back to LEDs. Ordinary LEDs do not behave like simple DC components; they don’t just have a “resistance” where hooking them up to a given voltage will cause a given amount of current to pass. A blue or white LED might be specified “3.6V, 20mA”, but if you connect it directly to a 3.6-volt power supply, it’ll get warmer and warmer and pass more and more current - “thermal runaway” - until, if the power supply’s internal resistance is low enough, the LED burns up. This will happen for series strings of LEDs as well; if you make a string of ten “1.8V 20mA” red LEDs and connect it to an 18V power supply, it will probably not last long.

(Power supplies that have high internal resistance are a special case; you can connect LEDs directly across such a power supply and they’ll work fine. This is why Photon lights and “LED throwies” work; they connect an LED directly across a lithium coin-cell watch battery, but the battery’s internal resistance keeps the LED safe.)

The simple solution to this, as I explain in my old piece about building a caselight, is to put a resistor in series with your LED or LEDs. It’s easy to figure out what resistor values to use for a single LED or even an array, but again, doing this without understanding what you’re doing is not a great idea.

Series and parallel are bedrock concepts, here, with direct application to a number of everyday situations. Take your question about the powerboard that delivers full mains voltage - in your case 117V, a nominal 230V where I live - to everything plugged into it. It does that because the powerboard’s outlets, like the wall outlets in your house, are all in parallel. (There are some tricky things about household power wiring in some countries, but they need not detain us now.)

Now, consider the old-fashioned kind of Christmas lights, with a long string of little bulbs that all go out if one bulb blows, so you have to replace every bulb in turn with a fresh bulb until you find the one that’s actually died. That sort of behaviour is a dead giveaway that you’re dealing with devices wired in series. In the Christmas-lights case, they’re a string of low-voltage bulbs whose total voltage adds up to mains voltage, and they “share” the voltage between them just like a string of resistors. If mains is 240V, twenty 12V bulbs in series will run from it happily.

(Mains power is, of course, alternating current, not direct current. The two are very different, but incandescent light-bulbs don’t care.)

OK, now let’s finally get to your specific application, adding trippiness to an electronic organ. If the organ is at all modern, it’ll run from low-voltage DC inside, and contain a power supply that converts the AC mains to whatever voltages it requires, just like a computer PSU. This doesn’t mean it’s safe to go fiddling around in there while the organ is turned on, but it does mean that there’s probably some supply rail you could easily use to power plenty of LEDs, since they don’t draw much power.

You will probably have to fiddle with the organ’s guts while it’s powered up to find a suitable power rail (unless you’ve got a schematic or service manual, or the innards of the organ are unusually well-labelled), so all usual safety disclaimers go here, along with my traditional link to the Sci.Electronics.Repair FAQ. But I wouldn’t be surprised if you could easily find a 12V-ish rail across which you could connect a string of RGB LEDs, or even multiple strings in parallel.

That last bit is a “series-parallel” array. If you’ve got 12V and want to run more than four 3V RGB LEDs, you make up multiple strings of four and connect them all in parallel. People often seem to find this concept a bit slippery, but it’s another of the things that it’s important to grasp if you’re to know what you’re doing.

Here’s how I wired that LED caselight:

LED-array board layout

Those are 18 2-LED strings - and just one current-limiting resistor for the whole thing - all connected in parallel with each other. The little piece of “strip board” I used to make the caselight curls all of the copper traces around to make a rectangle and so is a bit confusing-looking, but electrically it’s the same as two long wires, one positive and one negative, connected by 18 two-LED strings like the rungs of a ladder. (Rob Arnold’s above-linked LED array wizard is very handy for figuring out LED array configurations, but remember that two-leg RGB LEDs aren’t normal LEDs, so you really can just treat them as 3V DC components and not worry about resistors.)

If the organ doesn’t turn out to have any tappable power rails, or if you just don’t want to fool with them, the LEDs could less elegantly be run from a separate power supply, like a 12V DC plugpack. There’s unexpected complexity waiting to ambush you here as well, though; if this page hasn’t already turned you off electronics for life, try my essay on Humankind’s Endless Quest for a Substitute Plugpack!

April 23, 2009

18: Holding reminder notes on the plate in your skull

Filed under: Hacks, Nerdery, Science

No fewer than seventeen cool magnet tricks, from the irritatingly productive Evil Mad Scientists (I note that they favourited this…).

I’ve done only a few of these “tricks” - many of them are actually more in the “handy hints” department - myself. I’ve made homopolar motors, and done a bit of sculpting, and the big scary truncated-pyramid magnet from this old piece is our fridge-pen holder; if a pen has nothing ferromagnetic in it, we just tape a paper clip onto it. I’ve also got a length of aluminium tubing and a slab of copper for eddy-current braking demos.

The EMSL piece ends with a warning to keep magnets away from your laptop’s hard drive, if you’re seeing if you can put the computer to sleep with the lid open by putting a magnet on the embedded switch. This is a fair warning; a decent-sized modern rare-earth magnet might indeed be able to damage data on a laptop drive.

But the emphasis is still on the “might”, because even the scant centimetre of aluminium and plastic between a laptop drive platter and the outside world is likely to keep magnets far enough away that any not-dangerous-to-humans NIB (neodymium-iron-boron) magnet won’t be able to hurt it. The magstripe on a modern credit card has a coercivity similar to that of a hard-drive platter, and you definitely can wreck a card magstripe with a small rare-earth magnet - but the magnet can touch the magstripe, while a drive platter is inside a casing, and the casing is usually inside a computer. And, roughly speaking, the intensity of a magnetic field decreases with the cube of the distance from the centre of the magnet.

(New-fangled perpendicular-recording hard drives apparently have higher-coercivity magnetic coatings than older drives; if so, this ought to make them even more resistant to accidental erasure.)

Generally speaking, you don’t have to be too worried about playing with magnets near your PC. Especially now that you probably have an LCD monitor, not a magnet-sensitive CRT that’ll need degaussing if you bring a magnet too close.

Oh, look! Another chance for me to deploy my cool picture of a monitor being degaussed!

Degaussing a CRT

And now, here’s somebody messing up his own monitor, so you don’t have to:

Here’s someone doing the same thing with a rare-earth magnet, which is so strong that I think it’s pulling the shadow mask right into contact with the inside of the screen:

If a shadow mask or aperture grille gets distorted that badly (usually by physical mistreatment of the monitor, not by magnets), it’s unlikely to be fixable. The monitor will still work, but it’ll now have permanent weird coloured blotches.

(Black-and-white TVs, and monochrome monitors, have no shadow mask and so can’t be permanently damaged by a magnet. The field will just pull the image into a funny shape, which will bounce back to normal when you take the magnet away. Only if you somehow manage to magnetise some ferromagnetic component near the tube will any of the distortion stay after the magnet has gone. Fun could be had by putting the big ring magnet off the back of a loudspeaker under someone’s Apple II green-screen.)

April 20, 2009

Rockin' out over SCSI 1

Filed under: Hacks, Nerdery, Music

Via Hack a Day:

The creator couldn’t get four ScanJet 3Cs at a reasonable price, so the scanner is overdubbed into four voices. But everything else is live - hence, presumably, the less-than-perfect sync between instruments.

Johnny Five is still totally headbanging at four minutes 11 seconds, though.

April 10, 2009

LED-Brite

Filed under: Electricity, Hacks, Toys

A reader writes:

I live in Taiwan, and I just came across a new LED device which seems very cool.

First, here is a link. It’s all in Chinese, unfortunately, and I can’t read it to translate for you, but there are at least some photos to give you an idea.

'Aurora' LED sign

[Here’s a goofy machine-translation, which gives the thing the name “Aurora”, which sounds good enough to me. The price, 1699 Hong Kong dollars, is as I write this about $US220.]

Basically, this works like a Lite-Brite, but with LEDs. There is a black PCB, entirely pierced through with holes. It has no wires, and there are no visible electronic components except for the DC input at one corner. You can plug in LEDs on either side, front or back, in any pattern you like. It’s powered by either a wall-wart, a small battery pack, or a USB power connector.

A friend of mine here showed it to me tonight, and it was very impressive. Water-resistant, even - he poured a beer all over both sides of one with many lit LEDs, and there was nary a flicker.

Anyway, if you’re interested, I could probably find out more about it.

Doug

I immediately, and completely wrongly, picked the Aurora as a cheaper clone of the Bandai Luminodot (dodgy translation), which was all the rage on the gadget blogs a few months ago. Some hipster has presumably bought himself a Luminodot for $US200 delivered on eBay by now, but I sure ain’t.

Doug was quick to point out, though, that this thing is not a backlit-plastic-pegs device like the Lite-Brite or Luminodot, but a bunch of little powered breadboard-ish holes, into which you can plug as many or as few LEDs of whatever colour you like, and have ‘em all Just Work with no fooling around with supply voltages or current-limiting resistors or fancy driver pucks.

(I think a cheaper version of the Bandai doodad might be makeable with a laptop CCFL backlight panel and little black shutters that open to let light out when you push a peg though them. Or you could do it the Lite-Brite way, and put a new sheet of black paper over the light for the pegs to puncture every time you want to make a new picture.)

Undaunted, I immediately developed total certainty regarding the Aurora’s similarity to another light-array gadget.

Peggy 2.0

That gadget is the open-sourcePeggy” invented by Evil Mad Scientist Labs, which is now up to version 2, and available as a kit.

The different Peggy versions are capable of various kinds of animation, and can even be used to display (very low-res) video.

The array Doug saw may, like the Peggy, only actually light one row or column of LEDs at a time, but cycle through them too fast for any flicker to be visible. (It may or may not do the same devious multiplexing as the Peggy, and is almost certainly a lot less “hackable”.)

The Aurora is clearly being promoted as beign useful for commercial signage, as an alternative to the custom-made, ultra-bright LED-array signs that I’ve seen sprouting around the place.

Doug was under the impression that the retail price “for a board about a foot square” was only around $US30, plus another $US10 for the power supply. That’d make it worth buying just for the amusement value, but doesn’t line up with the $HK1699, $US220-ish price on the product page.

Never mind, though; when an odd toy starts being sold on any Web site ending in .tw, its price will probably be in free-fall soon.

April 8, 2009

The third-smallest hard drive

Filed under: Hacks, Nerdery

1.8-inch drive, interface adapters, and cat feet

(Don’t worry - he’s an anti-static cat.)

I had this little “20Gb” 1.8-inch hard drive, as seen in older iPods, just sitting around. It actually has a formatted capacity of only 18.6Gb, but that’s still several gigabytes bigger than my “out” directory that contains pretty much everything I’ve ever written, including pics. So the little drive looked like a good place for me to make another backup of “out”.

(I could also use a 16Gb flash drive, which would be a much tougher backup device, and not very expensive - just today, DealExtreme listed a 16Gb Kingston USB drive for less than $US35 delivered. But I already had the little Toshiba, and it’s not going to be my only backup of this data.)

I attached the little drive to my computer via two adapters. The thing at the back with the cable plugged into it is the WiebeTech FireWire Super DriveDock that I reviewed back in 2003; the FireWire cable can provide more than enough power to spin up this little drive, so I didn’t need to plug in the DriveDock’s plugpack.

The circuit board between the DriveDock and the drive is a Toshiba-1.8-inch to parallel ATA adapter. Like other such doodads - CompactFlash-to-PATA adapters like the one I reviewed way back in 2000, for instance - these adapters are now dirt cheap from Hong Kong dealers. EBay’s full of ‘em, but I got this one for $US3.49 delivered from DealExtreme.

If you’re thinking of doing this yourself, because you’ve got a junked MP3 player or some such with a perfectly good 1.8-inch drive in it, or because you just bought such a drive on eBay for $3, bear in mind that there is more than one kind of 1.8-inch drive. (This information is also important for people who want to replace the drive in their iPod or other small hard-drive MP3 player.)

Two-point-five-inch drives are the normal type used in laptops, and also in pocket-sized portable hard drives. 2.5-inch SATA is also the form factor that many Flash-RAM Solid State Drives use. 2.5-inch PATA and 2.5-inch SATA drives all have the same pinout, regardless of manufacturer, and differ only in height. So you can put pretty much any 2.5-inch device in pretty much any laptop, USB box or what have you, as long as

1: you don’t try to mix PATA and SATA (you can get PATA-to-SATA adapters, but there won’t be room for one in a laptop or USB-drive-box), and

2: your destination device only has room for the common 9.5mm-thick kind of 2.5-incher, but the drive you’ve got is one of the unusually-thick ones.

1.8-inch drives come in SATA and PATA versions as well, but the PATA ones - which are the only ones you’re likely to find cheap or free at the moment - come in different flavours.

The two main types of PATA 1.8-incher are Hitachi (née IBM) and Toshiba. Toshibas have a female connector on the back of the drive, and Hitachis have a male. Apart from that I think they’re very much the same, so you can probably get PATA adapters that come with two cables and can work with both types of drive. If you’re buying a $3.49 adapter, though, make sure it’s got the right connector for your drive.

You can also find 1.8-inch drives with one or another kind of zero-insertion-force (ZIF) ribbon-cable connector. Once again, Toshiba and Hitachi have implemented slightly different versions of the same thing. So, again, all you need to plug these into a standard ATA device is a pin adapter (in this case a “contact-pad-to-pin-adapter”), but you have to get the right one. (Here’s an adapter to give you a Toshiba 1.8-inch pin-connector from either kind of ZIF 1.8-incher.)

You may also find 1.8-inch drives in disk packages made to slot into a laptop PCMCIA/PC Card slot. I think there’ll probably be a standard Hitachi or Toshiba PATA drive in those which you could dig out with a bit of careful surgery, but if I were you I’d leave the drive in its little armoured package and access it via a laptop, or a PC with a PCMCIA-socket card.

(If you want to dig the drive out of a PCMCIA package because you need to bring a dead iPod back to life, and you don’t need a zillion gigabytes of storage, I suggest you try a CompactFlash card in a CF-to-Toshiba-1.8-inch adapter instead. Once again, remember that newer iPods use the ZIF-connector type of 1.8-incher, which requires a different adapter.)

Amazingly enough, there are two hard-drive form factors that’re even smaller than the 1.8.

The only really “standard”, widely available type that’s smaller than a 1.8 is the jewel-like CompactFlash “Microdrive” (360-degree Quicktime view here). Microdrives are called “1 inch” drives by IBM/Hitachi, I think because that’s the approximate diameter of their platters, but Samsung call them “1.3 inch”. They’re the same size as a standard Type II (thick) CompactFlash memory card, 42.8 by 36.4 by 5mm (about 1.7 by 1.4 by 0.2 inches).

Microdrives were pretty hot stuff back in the day, but even though you can buy an 8Gb Microdrive these days, they’ve still been made obsolete by bigger and bigger, and cheaper and cheaper, Flash RAM.

The very smallest hard drives ever made even littler, though. They’re made by Toshiba, and are 32mm by 24mm by 5mm (about 1.3 by 0.9 by 0.2 inches) and officially called “0.85 inch” devices. Toshiba have managed to pack “4Gb” into one (real formatted capacity about 3.7 “real” gigabytes), as I write this.

The 0.85 drives actually have the exact same height and width as an SD memory card, as used by most digital cameras, though they’re more than twice as thick. They’re apparently supposed to be for bulk data storage in mobile phones and other small devices, but I don’t think they’ve actually been used for much; Flash RAM has streaked past them, too.

March 30, 2009

ABS plus celluloid

Filed under: Hacks, Nerdery, Toys

Yep, that’s a Lego movie projector all right. The frame-rate’s a bit short of 24fps and the film moves a bit while the light’s on - but c’mon! Lego movie projector!

Via TechnicBricks, again. That post also mentions the first TechVideo from this year…

a vending machine made by the same guy, Ricardo Oliveira.

March 21, 2009

Next project: Electron microscope

Filed under: Hacks, Nerdery, Toys
Lego 3D scanner

This is a contact-type 3D scanner. Philippe “Philo” Hurbain (co-author of “Extreme NXT“, a book about advanced Lego robotics) made it to help him import odd-shaped Lego parts into the LDraw Lego-CAD program.

As you may have noticed, the scanner is itself made out of Lego. I think the only non-Lego parts in it are the actual needle that prods the thing being scanned, and one extra-flexible cable going to a standard NXT light sensor.

All the rest - drive components, sensors, you name it - is 100% Lego. The brain is Mindstorms NXT. Hurbain has made various add-on sensors for Lego robots, but I don’t think he’s used any of them in this.

Apparently, the new linear-actuator parts are accurate enough for this job, when you drive them with one of the NXT motors, which have built-in position encoders.

More info on Philo’s site.

January 17, 2009

Insert "reamer" joke here

Filed under: Hacks, Nerdery

Step drill and countersink

This MAKE: Blog piece is about this page on the subject of making holes in panels which are, and here’s the tricky bit, both where, and how big, you want them to be. This is a task for which a step drill is, indeed, very helpful.

I don’t actually own any step drills. I cannot imagine why this is, so I just added a set to my eBay sniping list. I do, however, own a couple of tapered reamers, which can achieve much the same thing. They give slightly countersunk hole-sides, which you may not want. But because they’re 100% hand operated, they offer finer hole size control, and a much greater risk of repetitive strain injury.

(I used the reamers a lot when getting 80% through construction of my Thing-a-ma-kit, during our holiday.)

The Make piece says “I also sense a nibbler in his future”. OK, maybe, for panel work. But I’ve got a genuine Adel nibbler, and it’s almost never been useful for anything at all.

Oh, I’ve often found myself thinking “Aha! The nibbler will, at last, pay its way!”… but almost every single bloody time, whatever it was I wanted to cut little rectangular bite after little rectangular bite out of was 0.002mm too thick (I believe that’s 7.87 RCH, in Imperial units) to fit in the nibbler’s jaws.

So back I go to the Dremel or the coping saw or the club-hammer and cold-chisel, again.

December 21, 2008

Die Legoroboter

Filed under: Hacks, Nerdery, Toys

(Via.)

Most videos of Lego Great Ball Contraption modules are a bit hard to follow, but this one concentrates on only three modules, so you can get an idea of what’s going on.

(The string-quartet Kraftwerk is nice, too.)

The Great Ball Contraption is basically just rules for ball-moving modules that make sure they can connect to each other - like a Technic version of the Lego Moonbase standard.

(Incidentally, you can fmt=18 this clip to get the higher-quality MP4 version, but fmt=22-ing it only seems to give you the basic FLV version at the moment. It doesn’t fall back to 18. I knew there was some reason why I didn’t do what the cool kids do.)

Older Posts

Get your free blog up and running in minutes with Blogsome