Electrical – Raspberry Pi in mineral oil enclosure

humidityinsulationraspberry pi

I have a project based on a Raspberry Pi. It is intended to work outside, but I thought that humidity will destroy the Pi and the electronics board. I thought about creating a perfect waterproof enclosure for the electronics, but it's very hard.

Therefore I want to know: Is there any problem to put the Pi and the board in a container full of mineral oil?

It seems to me that mineral oil is an electrical isolator and it will block humidity from the environment from reaching my Pi. Any suggestion about that idea?

Best Answer

Just buy a can of conformal coating spray and put it on the board. That will protect everything but the connector pins from humidity.

https://www.aitechnology.com/products/conformal-coatings/conformal-coating-moisture/

https://www.techspray.com/c-4-conformal-coating.aspx