I have a peripheral that has a 6 pin JST female connector that mates to the peripheral.
The other end of the cable also came with a 6 pin female JST connector that is decidedly NOT compatible with the Pi GPIO header. The first thing I did was strip off the female JST end for the Pi. I was then able to make a breadboard connection to prove out all worked and test with software.
Now my question is, for a reliable, long-term, weatherproof connection between the Pi GPIO header and this peripheral, what is my best bet for a connection? I am thinking of bringing into play a cable with weatherproof connectors Amphenol on each end, so as to ensure the peripheral can be moved with respect to the Pi itself.
For connecting to the GPIO header directly? I am almost certain directly soldering to the pins is not the way most people do it. Any tips?
How would one connect a "wire" to a Pi for the long term?