Originally Posted by Goblin
You could also wire in a potentiometer, around 4 dollars at radio shack.
Do this and you'll smoke the potentiometer. It's not that simple. You need a transistor to handle the current, a potentiometer alone isn't rated to handle the amount of current that fans draw.
A computer power supply will usually work, but it depends on what you get. Old style AT power supplies use a manual 120 volt switch. These are the easiest to adapt. These supplies are no longer used in computers so you'd need to go to a big dealer to still find one.
The newer style is ATX.. To get an ATX supply to start you need to short the +5vsb and the PS_ON wire (usually gray and green if I remember) on the motherboard connector.
Some computer supplies, both AT and ATX need to see a minimum load to work properly, and that minimum load has to be across a couple different outputs, so fans alone might not work. It depends largely on the supply.
Once you get your supply going, you can run your fans on either the +12 volt or the +5 volt. You can also modify they way you connect them.
For example, to run all your fans at full speed, you connect all in parallel across 12 volt.
To run your fans at half speed, connect pairs of fans in series across the +12 volt legs.
To run your fans at slightly less than half speed, connect them all in parallel across the +5 volt line.
You'll need to experiment to see what suits you best. On almost all computer power supplies (except Compaq), the ground is black, the +5 is red, and the +12 is yellow. On Compaq supplies, it's the same except the +12 is orange. You can usually read the label on the supply and tell.
All this is moot though as it's a waste to do it this way, since computer supplies waste a lot of energy over a couple dinky fans. The best thing to do is get a +9 volt power supply adapter from Jameco (.com). 9 volts is a good voltage because the fans are a little slower and hence quieter.
A 9 volt 1500ma supply will run at least 5 fans. PN 237067CM $9.95
For full speed, use 12 volt. A 1350ma supply is PN 235096CM $13.49
They have cheap fans too, even a grab bag of 5 fans for $8.75, 149649CM