A Sensor-Based Soil Monitoring System for Better Crop Harvesting