Humans need a very specific set of environmental conditions for their wellbeing, mainly temperature, humidity and illumination.

I would like to create a device that can tell how comfortable a certain room is, using temperature and humidity values. With an arduino mini and a DHT22 sensor the device should determine if temperature and humidity are okay or, for instance, the area is too warm (>30°C) or too dry (<10%). The final output should be in a scale from 0 to 10, 0 lowest score and 10 highest.

Now, as the best environmental conditions for humans are 50-60% hum and 22-25°C temp, I need to find a way to perform a basic sensor fusion and combine humidity and temperature values accordingly. I thought of using two Gaussian distributions centered on the two best values (25°C at 60% hum). The t and h values are then fed into the two distributions and the derived y values summed up. Finally, using the map function the final value is remapped into a scale from 0 to 9.

Do you think it will work? Is there an easier solution?
Thank you

closed as too broad by Juraj, VE7JRO, sempaiscuba, gre_gor, Majenko Jan 10 at 13:12

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • looks like something that would work for you – Jaromanda X Jan 10 at 10:06
  • interesting project .... notes: include the person's sleep cycle in your device and increase the comfort temperature range .... for instance, for myself 22°C is too warm during the day and <16°C is the right temperature during sleep ..... put "how I feel" buttons on the device, so that the device can learn a person's preference – jsotola Jan 10 at 15:48
  • Take a look at the formulas given by ISO 7730: Ergonomics of the thermal environment — Analytical determination and interpretation of thermal comfort using calculation of the PMV and PPD indices and local thermal comfort criteria – Edgar Bonet Jan 11 at 10:44