Connecting ultra Sonic Sensor to gopigo issue

I try to connect HC-SR04 ultra sonic sensor to gopigo with 2.54mm jumper cable (here)
But I can’t insert the end of cable into gopigo.
Please let me know the specification of the connector. Can I use 4p 2.54mm groove connector for that?

You’ll have to use something like or to take the connections out of the Grove connector. You should also check this out : for more information about connecting the HC-SR04 to the GoPiGo.