A torque sensor is described that detects the presence of an external magnetic field based on a torque imposed on a conductive coil of the sensor. The torque sensor includes a conductive coil forming a loop having one or more turns and a plurality of sensing elements adjacent to portions of the conductive coil. The sensing elements are configured to generate an output that changes as a function of a force imposed on the first sensing element by the respective portions of the conductive coil.