A soil moisture sensor includes a capacitive probe configured to be inserted into soil, a series RLC circuit electrically coupled to the capacitive probe, a microcontroller configured to determine the capacitance value of the soil and determine the moisture content of the soil from the capacitance value of the soil.