Ways to Connect BlueESC Smaller Signal Cable to Micro Controller

Hi All,

can i ask how do you guys connect the smaller signal cable from blueesc to a micro controller or any similar scenario where you can’t connect a wire directly to a micro controller ?

Currently I fit the smaller signal cable into a female crimp pin then fit a M/F rainbow cable into the crimp pin to connect it to the raspberry pi. It works initially but now my raspberry pi can’t detect the thruster anymore so I’m thinking of alternative and wondering which might be the best way to do it.

Thanks in advance