Patent ID: 8336381

Claim:
A sensor comprising: a movable element; and an opposing member, said movable element being opposed to at least part of said opposing member, and said sensor detecting a relative positional relationship between said movable element and said opposing member, wherein said opposing member has an impurity-doped portion which is provided at one of an opposing portion of said opposing member, which is opposed to said movable element, and an adjoining portion of said opposing member, said adjoining portion adjoining said opposing portion to form a surface along said adjoining portion and said opposing portion, said surface facing a spacing, wherein at least part of the spacing is defined between said opposing member and said movable element, and wherein at least a part of said impurity-doped portion is formed extending from a first surface of said opposing member, which first surface is opposed to said movable element, to a second surface of said opposing member opposite to said first surface, from which second surface an electrical wiring is led out.