Soil pH sensor

Maybe you are trying the wrong crop. At least some wine grapes do really well in chalky soils.

E.g. the Burgundy region: http://www.winegeeks.com/articles/139