A humidity detecting device includes a substrate, a humidity sensor mounted on the substrate, a vent mounted to the humidity sensor, wherein the vent is configured to guide moisture and air from interior of a sample to the humidity sensor, and a spike fixedly coupled to the humidity sensor. The spike can penetrate and hook to the sample, which attaches the humidity sensor to the sample.