To reduce the consumption of a battery which drives the control circuit of electronic equipment by providing a power generator by hanging or supporting magnets with coil springs in vertically positioned cylindrical coils in a state where the magnets can vibrate or oscillate so that the power generator can generate electric power when the magnet are slightly vibrated or inclined.
Bar-like magnets 2 are hung with tensile coil springs 3 in cylindrical coils 1 in a state where the magnets 2 can vibrate or oscillate so that electric currents can flow through the coils 1 when the magnets 2 vertically vibrate or oscillate in the coils 1. Therefore, when an enclosure fitted with the coils 1 and magnets 2 of a power generator 100 is vibrated (oscillated) or inclined or the coils and magnets 2 are incorporated in electronic equipment and the equipment is carried by a man, electric power is generated. Consequently, the service life of a battery incorporated in the electronic equipment can be prolonged or the need of the battery can be eliminated.