I’m working on a project where we need to protect a board like a Raspberry Pi Pico or an Arduino microcontroller in an underwater application. When on shore I need to access ports for charging LiPo batteries and USB for software updates. I know this has been solved before. What are the common practices to accomplish this?
While you could potentially use epoxy potting to seal you electronics, any exposed metal surfaces will not hold up in water. The typical approach is to put them in dry enclosure filled with air and make connections from wet to dry with connectors or glands like the Blue Robotics wetlink penetrator.
Coatings may work for surface applications with limited spray, but sealing with o rings of going to be vastly more reliable and easier to work with…
you may be able to pot a lipo but I’m not too sure how long it could work for, unless you had a battery box connected to a potted camera, but you would also have to make sure the epoxy is relatively bubble free if you are going decently deep. There is also another project where someone encased a pi with resin and a battery but I don’t think it was for undersea applications:Encased in amber: meet the epoxy-embedded Pi - Raspberry Pi