How can I make an electric generator from scratch? — OD
Generators and motors are very closely related and many motors that contain permanent magnets can also act as generators. If you move a permanent magnet past a coil of wire that is part of an electric circuit, you will cause current to flow through that coil and circuit. That’s because a changing magnetic field, such as that near a moving magnet, is always accompanied in nature by an electric field. While magnetic fields push on magnetic poles, electric fields push on electric charges. With a coil of wire near the moving magnet, the moving magnet’s electric field pushes charges through the coil and eventually through the entire circuit.
A convenient arrangement for generating electricity endlessly is to mount a permanent magnet on a spindle and to place a coil of wire nearby. Then as the magnet spins, it will turn past the coil of wire and propel currents through that coil. With a little more engineering, you’ll have a system that looks remarkably like the guts of a typical permanent magnet based motor. In fact, if you take a common DC motor out of a toy and connect its two electrical terminals to a 1.5 V light bulb or a light emitting diode (try both directions with an LED because it can only carry current in one direction), you’ll probably be able to light that bulb or LED by spinning the motor’s shaft rapidly. A DC motor has a special switching system that converts the AC produced in the motor’s coils into DC for delivery to the motor’s terminals, but it’s still a generator. So the easiest answer to your question is: “find a nice DC motor and turn its shaft”.