Question: what is the relationship between water activity and relative humidity?
Answer: Water activity is equal to equilibrium relative humidity divided by 100: (a w = ERH/100) where ERH is the equilibrium relative humidity (%). Relative humidity sensors of great variety are available for this purpose, including electric hygrometers, dewpoint cells, psychrometers, and others.