Things You'll Need
Instructions
Choose the dimensions of the electromagnet. This will often depend on the application and space constraints. Generally speaking, the larger the volume iron, the larger the produced magnetic field. If necessary, cut the block of iron to the desired size using an electric saw.
Coil the magnetic material. The greater the number of turns on the electromagnet, the more field will be produced for a given value of current. There are many ways to coil the electromagnet. One of the simplest is to place the iron into a vice and wrap the wire around the magnetic material manually. Remember to leave sufficient length of wire on each side of the coil for connection to the power supply. When current flows though the wire, it will generate a lot of heat. To remove the heat, the electromagnet should be water-cooled. Every 100 turns of copper, wrap some of the plastic tubing around the coil. Leave plenty of length on the plastic tubing for connection to the water mains.
Connect the plastic tubing to the water mains. Switch on the water and ensure there are no leaks.
Connect the two sides of the wire to the DC power supply. Switch on the DC power supply, and select the desired voltage and current to generate a magnetic field.