fully working dth sensor for both dth11 and dth22 sensor types