With that type of magnet, it is easy to control the poles. To control
the which pole is which, you need to connect the battery in a certain
direction. You'll also need to know which way the wire is wrapped
around the nail.
The battery will be labled + and -. Look to which wire the +
connects to. Now follow that wire from its + end to its - end and see
which way the wire wraps around the wire. All right, now you want to
wrap the fingers of your right hand around the nail in the same
direction as the wire. Now give a thumb's up sign. This is called the
right hand rule. Your thumb now points towards the North end of the
electromagnet.
That last part might sound odd so I'll explain it in a little more
detail. We say that current flows from + to - in a wire. When current
flows in a circular loop, it produces a small magnetic field. The
direction of the field is out of the loop. To determine which way out
of the loop, you curl the fingers of your right hand in the same
direction as the wire and stick your thumb out. Your thumb points in
the direction of the magnetic field. If you add up a lot of these
loops, you get a stronger magnetic field. The last part to do is
determine which pole is which. Well, some guy in the past decided that
the magnetic field leaves the magnet at the North pole and we've used
that ever since. So the end of the magnet that your thumb points when
you do the right hand rule is the North pole.
To change the poles, just change which way the battery is hooked
up. This changes the direction the current flows and reverses the
field.
Adam
(published on 10/22/2007)