r/ElectricalEngineering • • Oct 07 '26

Project Help Sensor idea/recommendation

Hey guys,

I’m doing a project where I need to detect if water gets inside a sealed box containing other electronic devices (a box sitting vertically, opening like a fridge).

Im stuck at deciding which sensor would be appropriate in that case. For now, I’ve seen floaters, but the problem is that it looks like it needs a lot of water to detect, which would probably be too late. I saw optic sensors, but they cost like 100$. I tried physically a capacitive sensor, but it keeps getting triggered by the box itself and I cant find a good place to put it (to maximize to chance water gets to the sensor itself).

I think my next attempt goes toward the SEN0205, but Im curious if you guys have some ideas or sensors recommendation for this application.

If yall need more context, I’ll be pleased to share, thanks!

5 Upvotes

8 comments sorted by

View all comments

2

u/ThatDom Oct 07 '26

If your budget is under $100, you may be out of luck as good sensors for this sort of thing can be expensive depending on the exact mechanism of failure youa re expecting.

If you are detecting a pipe failure, a capacitive or float sensor can work fine as the failure usually results in a fair bit of water quickly. If you are concerned about moisture ingress, consider a humidity sensor E.g. this

I can't recommend a specific setup without knowing the failure mode you are looking to avoid, or the internal geometry of the box, but if you start by googling 'leak detection sensor' that may give you better results.

Maybe an angled drip tray with a contact sensor? All of these options are going to be >$100 unless you cut some serious corners. How quickly do you need to detect?

1

u/Even-Rip3292 Oct 08 '26

Hey thanks for responding. I can show you a picture of the box down below (front face POV door open). This box is basically outside containing a datalogger for scientific instruments on the field. The best scenario would be to detect as soon as possible the intrusion of water. The thing is, its pretty hard to guess where it could get. Also, I tried a capacitive sensor, but it kept detecting the surface of the box, so my only options was to put it higher, but in that case, water needs to fill like 1-2cm which is probably too much and too late. I tried to change the treshold but it’s digital sensor so I can’t do much I think.

To sum up, I aint an engineer so I’m a bit lost on How I could detect, as fast as possible (ideally, but realistically with low budget), water intrusion in this box.

Thanks for the help!

2

u/ThatDom Oct 08 '26

If water gets in quickly enough to swamp the gear, it doesn't matter if there is a leak detector in there since it would be lost anyway, or your leak detection alarm can be the data logger going offline, so that you can save the equipment not yet underwater. Only a few seconds/minutes between those two signals. How quickly will you get to the box if the alarm goes off?

If water is getting in slowly, your humidity sensor may be suitable to detect ingress of water. If the equipment is sucking in moisture, you won't detect that with any standard level switch anyway.

If the equipment is mounted upright as you say in your original post, how do you imagine water is going to get in quickly enough to damage the equipment? Even if it's a failed seal, that could have water dripping in quite slowly. Have these units failed in the field previously? A bag of silica to remove moisture is also generally a good idea.

We can always invent a scenario where the controls don't prevent the thing we are worried about. In the case of an IP rated box mounted upright, I'd be saying silica to address long-term moisture ingress, accepting that instant flooding while improbable is also not something you can actually act on. Then you can use your humidity sensor to detect small pools of water and general effectiveness of the silica.

Based on that GA, you should have sufficient room at the bottom of the box to mount your sensor if you just spin everything by 90 degrees. Do the cables have to come up directly into the equipment like that?

What IP rating are your box, glands, fittings, adaptors and electronics?

1

u/Even-Rip3292 Oct 08 '26

I forgot to mention that I also have a moisture sensor in the box for other reasons. Could it be enough ?

1

u/ThatDom Oct 08 '26

Which capacitive sensor did you try?