Low-cost smart sensor interfacing