Things You'll Need
Instructions
Procure the wire. You can almost always find all the enameled wire you need from old coils, electromagnets, relays or transformers. Make sure the wire has no kinks or scrapes.
Find a plastic cylinder to wind the enameled wire onto. An old ballpoint pen is excellent; you can easily cut the pen to the length you need. Make sure you smooth off any rough edges before you wind the wire onto the cylinder.
Tape one end of the wire to the cylinder and make a couple of windings to hold the wire in place. Attach the cylinder to a low speed drill and use it to wind the wire onto the cylinder. Operate the drill with one hand and guide the wire onto the spool with the other hand. Use more tape to hold the end of the wire in place once you have the wire wound onto the cylinder.
Attach a spring to the core of the cylinder to hold it in place when the coil is not activated. The spring can be a compression spring as the activated coil moves the central core to compress the spring. For some applications, you can use the compression spring from the same ballpoint pen that supplied the cylinder.