Development of a low-cost device to monitor water quantity and quality in water tanks