A Simple ultrasonic liquid level controller based on STM32 microcontroller
You can find the full tutorial Here