Water flow meter using raspberry pi. sleep(1) start_counter = 0 flow = (count / 7.