In grad school, my classmate Clare Huang and I used an Arduino and Sonar Sensor to control a showerhead in an effort to save water when you are not rinsing. We also added a chiptune that would play when the showerhead is not running.
View design process: https://prezi.com/snsy-f06h4ab/pct-adapter-process/