an electrical generator utilizes power produced by falling weights . falling weights are connected to long arms which turn a shaft . the shaft , through a series of gears , provides power to the generator .