The location chosen to test and validate the system was a rural garden located in the outskirts of Salamanca, in the town of Roblija de Cojos. The tomato crop in the garden had a WSN composed of various sensors which measured soil moisture, soil temperature, external temperature, light, rain and wind. The nodes were evenly distributed, with one node placed every 5 m2. Since the garden has an area of 250 m2, slave nodes and a central node, which coordinate communication, were also installed. The main characteristics of the field included: clay soil, no crop yield in the last five years, fallow land, no presence of nematodes.