An electromagnet typically comprises a metal core (usually iron) wrapped in a current-carrying wire. The electrical current in the wire arranges the electrons in the iron core in a way that increases the strength of the core's intrinsic magnetic field. The do-it-yourself assembly of an electromagnet is a common science experiment that demonstrates the marriage of electricity and magnetism as a unified force. You can use any type of battery for this project, including a 9-volt (9V) battery.
Measure and cut a piece of insulated wire that is about four times the length of the nail. Use the wire stripper to remove about half an inch of plastic insulation from each end of this wire.
Wrap the wire around the nail for as many adjacent turns as the length will allow. Wrap it tightly, so that each loop of wire touches the next. Leave enough wire on each end to ensure that you will be able to splice the ends of the wire to the stripped ends of the wires from the 9V battery connector clip.
Sciencing Video Vault
Splice each end of the wrapped wire to one terminal of the 9V battery connector. Do this by twisting the stripped ends of each wire together with an exposed wire from the connector clip. (It doesn’t matter which end connects to which.) Push the spliced wires into the splice cap. Secure the cap tightly by twisting it, or crimping it with a pair of pliers.
Connect the battery to the battery connector clip. With all connections securely fastened, you now have your own, home-built electromagnet. Test the electromagnet by putting it near any other magnet or iron-based object to ensure that it works.