An electromagnetic coil can be used to implement contactless position or proximity sensing. The field produced by the current in one coil induces a corresponding current in an adjacent coil, as in a power transformer. If, however, the second coil is mobile, the induced current is reduced as the distance increases.