A stud or joist sensor device and associated sensing method using a ratio
of capacitance measurements from a plurality of capacitive sensing
elements. The device locates a feature of an object or discontinuity
behind a surface or wall, such as an edge and/or a center of a stud
behind the surface, a joist under a floorboard, a gap behind sheetrock, a
metal conductor behind a surface or the like. The device may be moved
over a surface, thereby detecting changes in capacitance. The change in
capacitance is due to the effective dielectric constant caused by the
passage over an object such as a stud. When two capacitive sensing
elements provide equivalent capacitance measures, the device is over a
centerline of the stud. When a ratio of the capacitance measurements
equals a transition ratio, the device is over an edge of the stud.