How To Make A Varying Strength Electromagnet
Electromagnets take advantage of the circular magnetic field that electrons generate when moving through wire. Coiling the wire doubles up the field and orients it in a single direction. Magnetizable metal placed inside the coil strengthens the field further still. Direct current (DC) through the wire provides a constant magnetic pull. But in a loudspeaker, for example, the electric current through the attached electromagnet varies with the audio playback. To make a variable electromagnet yourself, you could vary the current with a simple light dimmer. You would want an old one though, since variable-resistor dimmers have been replaced by more efficient, diode-based dimmers that run only on AC.
Read More