check water in plastic pipe

taxus:
A capacitive sensor is the way to go.
All you need is two pieces of a conductive material (tin foil works) and a large resistor.

I found something about this here:Arduino Playground - HomePage
Just do not know how to connect all the stuff around the plastic pipe...
Any idea?
Thank you
Camillo