How To Make An Electromagnet. The more turns of wire your magnet has, the better. An iron nail that is 15 centimeters long.
Make certain that you leave enough of the wire unwound so that you can attach the battery.
As current runs through a straight wire, a circular magnetic field is generated around it. As current runs through a straight wire, a circular magnetic field is generated around it. You could also use transformer wire with an enamel. It is easy to make a simple electromagnet at your home from household materials.