Exploring Smart Sensors in Pharmaceuticals