Level: Use a float switch. They’re cheap, they’re crappy, they work. If you’re feeling spendy, Honeywell makes some non-contact refraction-detection sensors which are much more robust.
pH: In small quantities, look at hydroponics or aquarium stores online. Any BNC connector probe will do. You WILL need an op-amp in order to get a usable signal level out of a pH probe.
Is it good for measuring water level by placing it in water?
I would really appreciate your help .
Thanks
The sensor you found is for proximity. I have measured water level with a home made capacitor - sensor. The sensor was made with 2 strips of copper clad board, spaced a few millimeters apart with a small piece of plastic near the bottom. The strips were long enough to reach from the top of the tank to the bottom. The whole assembly was covered in shrink wrap to insulate it from the water. (Actually an ionic solution.) The sensor was then put into a 555 timer configured as an astable multi-vibrator (oscillator) as the capacitor. The frequency of the oscillator changes as the dielectric of the sensor changes from air to water. The output frequency can be read with a microcontroller capture, and you can do a look-up to indicate your level.
As for a cheap pH probe, you may get lucky and find one for under $100.
You either need to design a flat plate capacitor (with insulated conductors, as the conductivity of any normal water is far too high), or a concentric cylinder capacitor (equations here: http://hyperphysics.phy-astr.gsu.edu/hb … apcyl.html - epsilon-R is about 78.5 for water at 25C, but make sure you also count in epsilon-0). You can use a stainless steel pipe and some PTFE coated wire. I’ve found the coated magnet wire often doesn’t work well, so I strongly recommend the expense of PTFE.
Tie this to a 555 timer or other oscillator circuit, which will use the changing capacitance to emit different frequencies of square waves. Use a microcontroller to capture the frequency. Calibrate the low and high point. The rest is all a linear equation if your container doesn’t have a slope.
jassu11:
Can you please put more light on the design of flat plate capacitor?
I need to buy two steel plates?and how to insulate ??
Thanks
The physics link above will lead you to a page on flat plate capacitors if you poke around a bit. They even give you a calculator so that you can figure out how much capacitance your design will give you. Beyond that, a quick check in the library for a AC/DC circuits book would give a lot more information as well as a technical explanation of how capacitors work.
For insulation, that’s up to your imagination. You will have to balance the materials your using against the parameters of your application. For instance, if there are any fish involved it becomes very difficult to do something like this because almost every product your going to find isn’t going to be fish friendly. I don’t recall you mentioning your exact application, so it would be very hard to give a recommendation.
If you make a good stable source coupling voltage, say 2.5V, connect the ground of the pH probe to that, then you can hook the other side to the input of an opamp, provided it is a JFET opamp (usually megaohm input resistance, very important). I know the make controller has jfet inputs, don’t use the arduino, but it probably does too.