Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of WikiWatershed, a web toolkit designed to help citizens, conservation practitioners, municipal decision-makers, researchers, educators, and students advance knowledge and stewardship of fresh water. New to EnviroDIY?Start here
I would like to attach a MB7389 HRXL-MaxSonar-WRMT sensor to a Mayfly data logger.
Is there a recommendation on how to do that if the sensor is several feet away from the logger?
When searching the forums, I see examples of them being directly attached to the Pelican Case.
Yes, that cable option should be fine. I’ve made my own waterproof housing for the sensor end using a threaded PVC coupler and a cable gland since that’s cheaper. You won’t need a 6-pin screw terminal since there’s only 3 wires to connect (power, ground, and data). You can connect a 4th line to the start/stop pin of the sensor if you want to trigger the readings that way, but it’s not necessary. So just a regular Grove-to-4-terminal board would work fine for connecting it to one of the Mayfly’s Grove ports.
The cable I usually use for the ultrasonic sensors is this McMaster-Carr part number: 8233T32
It’s a CMR rated 4-conductor, stranded, shielded, 22ga cable. It also happens to have a CMX rating which makes it sunlight resistant and suitable for outdoor and wet locations. Most other mult-conductor cables (like the kind you can find at the local hardware stores) are not suitable for wet locations or will break down in sunlight, so the jacket will absorb water over time or will crack and degrade due to UV light exposure.