Some photos to help identify connectors. These ones are JST SH which are 1mm pitch wire-to-board shown here, with surface mount connectors:
These ones are Molex PicoBlade, which are 1.25mm pitch with wire-to-board (through-hole) and wire-to-wire examples shown here: