Electronic systems have become an integral part of our daily lives. From toy to radar, system is dependent on electronics. The health conditions of humidity sensor need to be monitored regularly. Temperature can be taken as a quality parameter for electronics systems, which work under variable conditions. Using various environmental testing techniques, the performance of DHT11 has been analysed. The failure of humidity sensor has been detected using accelerated life testing, and an expert system is modelled using various artificial intelligence techniques (i.e., Artificial Neural Network, Fuzzy Inference System, and Adaptive Neuro-Fuzzy Inference System). A comparison has been made between the response of actual and prediction techniques, which enable us to choose the best technique on the basis of minimum error and maximum accuracy. ANFIS is proven to be the best technique with minimum error for developing intelligent models.