This project is an amelioration of a classical collectivity water fountain.
Here, the red LED represents the solenoid controlled by the Arduino.
The power tensions are ignored.
The concept is:
-
One fountain for 3 persons
-
When a person wants to drink, he puts his glass and press his button
-
he keeps his button pressed while his glass is not full
The main function of the project is to compute the time and the volume distributed to a person, and increment a counter variable of total volume.
On the photo, the 3 buttons at the top left corner are assigned to the 3 different persons.
This switch at the top mid is the detector of the glass presence.
Thanks to Martin, Lucas, Théo and Benjamin
Code here.