I want to measure the height with pressure sensor. There will be a hose with serum. One of the hose nozzle will hold the pressure sensor and other hose nozzle will be tied serum that is fully with water. When I want to measure the height of something, I will raise the serum to it and the water will press the sensor and I will read the anolog value to convert it to cm. However I do not know what type of a sensor I should use. Anyone helps me?
Sensor properties: 0-100mBar, 5Vsupply
The type of sensor would be a water proof pressure sensor with the range you need.
Handy fact: a column of pure water exerts pressure of 98 mBar per meter of depth, relative to atmospheric pressure.