What's the best way of measuring ambient temperature but having some sort of water resistance (splashes, etc, not necessarily waterproof, although it could be). The trick here is that I would prefer a surface-mounted temperature sensor, and if I have a plastic enclosure around it this means that there will be some thermal resistance since the air is trapped inside the water resistant enclosure.
Here are the options:
- Let's say that using an external probe (like the waterproof DS18B20 sensors) is not an option for now.
- If I poke a hole in the enclosure near the sensor, it will allow air to flow through but will no longer be water resistant.
- Is there some sort of mesh that is water-resistant but lets air through? Kind of like the ones they use on the Samsung Galaxy phones for their microphones and speakers that are waterproof.
- Is there a small temperature sensor that allows panel mounting (mounts in a hole in the enclosure) and has a very short metal casing, unlike the DS18B20's very long metal tube? This would allow me to make a hole for it and epoxy it in place.
- I was thinking to get a through-hole sensor (standard TO-92 3-pin package or similar) and bend it at a right angle so that the head barely sticks outside a cutout on the side of the enclosure, then epoxy it. Could that work?
- The sensor shouldn't be very expensive, like IR temperature sensors.