A low cost sensor to improve surface irrigation management