The conductivity of a polyaniline salt and base is measured bu ESR, using the two-millimetre range method. Two forms of the polyaniline base having various parameters are found. It is shown that the properties and composition of different media can be determined by means of the sensores developed on the basis of undoped polyaniline films.