How Does a Bicycle Dynamo Work?

A bicycle dynamo works by converting the mechanical motion of the rotating wheel into electrical motion with the use of a magnet. The dynamo contains a permanent magnet wound with coils of insulated wire. When the magnet rotates, it creates a changing magnetic field, which generates electricity in the wire.