An arduino based data logger for measuring flushes from latrines