I'm using a sensor that has a specific connector, which outputs signal with 18-gauge wires, such as these:
And I need to connect it to standard male header pins, where cables such as these would connect to (sorry, I don't know the name in english):
The sensor is going to be connected to a board in an UAV, so the connection needs to be firm, as the UAV would be flying around. I will also need to power the sensor from the board, so there would be:
A ground and a output wire from the sensor to the board
A ground and an +5V wire from the board to the sensor
The sensor wires are all 18-gauge, and the board housings are all smaller (same size as in the picture)
Here are some ideas I've had:
Make a separate adaptation board and use a phoenix-type connector.
This board would have a 3-pin female cable such as the picture above, and that would go into the board.
Use some sort of molex-type connector.
This would have no board, but I'm not too familiar with making these types of connections.
So I would like inputs on my ideas to make this interface, as well as your own ideas that would allow me to make a stable connection occupying as little space as possible.
Please let me know if I'm not clear on anything.
EDIT: Here's a schematic for clarity. I'm just looking for suggestions on how to do the ? part, in order for a secure and safe connection. I am also not sure if it's good practice to connect both grounds on the board or if I can just get away with one.