In agricultural field, compact sensors that can measure both water content and electric conductivity are needed. Focusing on the fact that water content and conductivity depend on soil impedance, our group has been developing a new compact and noise‐resistant driving circuit that measured soil impedance by detecting transient characteristics of the voltage obtained by injecting current through the soil and converting it to frequency information. In order to realize agricultural field measurements with sensors using this new driving circuit, it had been necessary to miniaturize the part that detected the output from the driving circuit, but it hadn't been achieved in our previous work. In this research, a microcomputer‐based frequency counter was developed to downsize the system for on‐site measurement. In general, there are two methods of frequency measurement: direct counting and reciprocal. The direct‐counting method is suited for high‐frequency measurements, while the reciprocal method is suited for low‐frequency measurements. The developed frequency counter could measure with an error of 0.005% over the assumed frequency range by switching between those two measurement methods according to the measured frequency. Using this driving circuit and frequency counter, we measured the model soil and succeeded in capturing changes in water content as changes in impedance.