I just bought a couple of these for a work project.
https://www.amazon.com/dp/B09NVLX5KD
I bet if you wanted to use them for the trail, you could make them waterproof by hooking up whatever cables you want to them, and then using hot glue to seal it all up.
The thing about this is, it's a lot more capacity and half the price, so it's worth the risk for an experiment.