I got a kick out of this one. Uses an arduino as the controller.
https://www.instructables.com/id/Automatic-Faucet-Touchless-Using-Arduino-Wash-Hand/