I'm new to the IOT world.
I have an underground water tank. When i switch on a motor, water gets filled in it from an external supply.
I want to detect two things remotely (without going to the basement and opening the sump everytime).
Whether the external supply is running dry i.e. no incoming water. and
The level of water in the tank.
Solutions:
Sound sensor to detect dry run (i.e. no water supply)
Ultrasonic sensor to detect water level.
ESP32 + battery + casing.
How to combine all these in to one small box? What are the schematics? Like it should be size of pi zero case, without needing to run a USB cable from somewhere else.
No other feature is required apart from the above.
I'm ready to pay tutor fee if someone could guide me do this.
Programming an Arduino to reliably detect the specific sound of flowing water vs the rumble of a dry running pump is an advanced topic.
For a beginner I would suggest using a cheap flow switch or flow meter.
Cheap ultrasonic sensors aren't designed to deal with 100% humidity so it would be wise to look for something rated for outdoor use. If you only need an empty/full indication then a pair of cheap float switches will do the same job at a fraction of the price.
You can use a float switch to check if it is going dry, and two of them to validate when you reach the upper level. A flow sensor will let you know that water is flowing. First I would start with the Arduino Cook Book and read it, then re-consider your problem. This response is to help you get started in solving your problem, not solve it for you.
Good Luck & Have Fun!
Gil