A method for extracting components from signals in an electronic sensor having a sensing element. A light source is disposed at the top end of the elongated shaft. In addition, through holes for preventing deformation are formed in the remaining insulating film at positions between the exposed parts of the conductive wires. The invention may also be used with batteries immersed in fluids.