A gun control unit for a M134 minigun firearm including an armature and a stator comprising at least one hardware processor; and one or more software modules that are configured to, when executed by the at least one hardware processor, independently control the armature; independently control the stator.