Researchers have developed an app that will help farmers reduce the risk of over- or under-watering their sweet corn crops.