The project is very simple. It used one DC submersible motor which works on 3.3-6v. The motor can be completely submerged inside liquid and it can output the liquid from one end of the motor.
The project also include IR proximity module for detection of hand of person.
I am using a custom board for this project which has battery charging circuit along with ports for reading signals. The dispenser is battery operated (lithium ion battery).
Demo: