Rotary solenoids are devices that produce a uniform magnetic field when an electrical current is applied to them. They consist of a coil of wire, wrapped around a metal core. The metal core is mounted in the centre of a disc. This has grooves on its underside to match up with slots in the body of the solenoid, and ball bearings to enable easier movement.