rasen58 said:
I haven't ever used electromagnets before, so I wanted to try them out. I guess it would be something like a metal rod with wire around it? Or just something that can attract metallic objects from far away.
If you don't have any practical experience with making electromagnets yourself I suggest you put the invention on hold, step back, and simply play with making a variety of them in various configurations. Start with wire wrapped on a nail like Russ mentioned.
Your "metal rod" has to be a ferrous metal, of course. Aluminum or copper wouldn't work. And the wire has to be insulated copper wire. You can't use uninsulated steel wire, such as is made for picture hanging or bicycle brakes. Steel has too much resistance and will result in dangerous heat. And insulation is required so that each turn around the core doesn't short to the other turns or to the core itself. Uninsulated copper or aluminum (or any conductor) wire would just short out.
This is the wire you want:
http://www.google.com/search?hl=en&.....1ac.1.34.heirloom-hp..0.18.1414.buTUX3YJtUM
Rule of thumb: if your ferrous core is x in diameter, wrap enough layers of the insulated wire such that the final outside diameter of the electromagnet is 3x. Less than that and you're not taking full advantage of your core. More than that and you get diminishing returns. All other things being optimal, your core will be saturated.
Use wire that is thin enough that you have to wrap at least 4 layers to get your 3x outside diameter. Fewer layers and the inductor may not have enough resistance to prevent undue battery drain. It could get hot enough to burn your hand just from all the amperage going through it. I'm told the battery, itself, can heat up and burst if there's not enough resistance in the circuit. For safety's sake, start with AAA batteries. If there's no problem with your test, move up to AA. If all's well, move up to D cells. They're all the same voltage, but you can draw greater amperage from the larger sizes and the strength of the magnetic field is partly dependent on the amperage the inductor draws. Conversely, don't use wire that is so thin you have to wrap a gazillion layers to make your 3x O.D. That's just a waste of time.
It would be a good idea to get, or rig up, a switch that is only closed when you're physically pressing on it, that will open the circuit by itself when you release your pressure. That's another way to prevent battery drain and overheating.