STEM Arduino Tank Level
This is a STEM project for schools. Students use an Arduino UNO microcontroller and a potentiometer to measure the float position and calculate the level of liquid in the tank.
Students must print the parts, wire the potentiometer to 5V, A5 and GND, and write code to read the ADC value.
There is a valve at the bottom for emptying the tank, although it is a bit leaky, even when printed on a Bambu Lab P1S. Grease helped to slow (but not stop) the leak.
The next challenge is accuracy, requiring awareness of the circular path the float takes, compared with the vertical distance the water level increases, sensible code to manage this and then calibration.
Another challenge is data visualisation. Gauges, bar graphs, line graphs, and custom visualisations can be created on the connected PC using ADC data sent from the Arduino via the serial port, using languages such as Python or Processing, for example. Alternatively, an LCD screen (such as the inexpensive 2.4" TFT LCD from MCU Friend) can be employed.
All parts should print without support, I think.