How to get physical values from resolution values

Hello everyone.

Recently, I finished a small arduino project that has moisture, light and temperature sensors, which give me resolution values ( 0-1023).

¿Is there some kind of library or way to translate these values into physical ones, say 41°C, 200 Lux, or something like that?

Your comments are wlecome.

Regards,

Just do some math. The data sheet for the sensor should have a formula or chart showing the relationship between output voltage and what the reading represents.

Thank you Mr. CrossRoads.

I´ll do it.

Regards,