An arduino based sprinkler system