Smart cornfields of the future