Intelligent input and output sensors