I am creating a project which is to maintain water level in a Tank. This will be continuous operation where the idea is to maintain the water level in a Tank.
The configuration will be Ultrasonic Sensor as an Input to the Arduino as measure to a Proportional Valve and Proportional Valve to control the water flow into a Tank and I will have continuous pump operating to supply water into a Tank.
Pump >> Proportional Valve >> Tank >> Ultrasonic Sensor as a feedback to control the Proportional Valve
My problem is how to connect Ultrasonic Sensor to the Proportional valve.
I would appreciate, if someone could help me on this.
You are correct. I mean, I do not want to connect the sensor to the valve. I "need an Arduino to read the sensor and then control the valve based on those readings".
Maybe, I missed a point here. Later on, for a continuous operation, I will add pid controller code to the Arduino, that's why I wanted to maintain the level, not kind of on-off system.
have a look at jsn-sr04t-arduino-tutorial it gives details of wiring and examples of code (I used one these ultrasonic sensors for river level monitoring)
what microcontroller are you using?
initially use simple on/off control then proportional