A Treatise on Sensor Interfacing